Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Side by Side Diff: chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc

Issue 1462603003: Revert of Disable failing tests on Mac 10.10 Release (ATI) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/extensions/api/tab_capture/tab_capture_apitest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <algorithm> 5 #include <algorithm>
6 #include <cmath> 6 #include <cmath>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/callback_helpers.h" 9 #include "base/callback_helpers.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 }; 328 };
329 329
330 // Tests the Cast streaming API and its basic functionality end-to-end. An 330 // Tests the Cast streaming API and its basic functionality end-to-end. An
331 // extension subtest is run to generate test content, capture that content, and 331 // extension subtest is run to generate test content, capture that content, and
332 // use the API to send it out. At the same time, this test launches an 332 // use the API to send it out. At the same time, this test launches an
333 // in-process Cast receiver, listening on a localhost UDP socket, to receive the 333 // in-process Cast receiver, listening on a localhost UDP socket, to receive the
334 // content and check whether it matches expectations. 334 // content and check whether it matches expectations.
335 // 335 //
336 // TODO(miu): Now that this test has been long-stable on Release build bots, it 336 // TODO(miu): Now that this test has been long-stable on Release build bots, it
337 // should be enabled for the Debug build bots. http://crbug.com/396413 337 // should be enabled for the Debug build bots. http://crbug.com/396413
338 // Disabled in MacOS: https://crbug.com/557929 338 #if defined(NDEBUG)
339 #if defined(NDEBUG) && !defined(OS_MACOSX)
340 #define MAYBE_EndToEnd EndToEnd 339 #define MAYBE_EndToEnd EndToEnd
341 #else 340 #else
342 #define MAYBE_EndToEnd DISABLED_EndToEnd 341 #define MAYBE_EndToEnd DISABLED_EndToEnd
343 #endif 342 #endif
344 IN_PROC_BROWSER_TEST_F(CastStreamingApiTestWithPixelOutput, MAYBE_EndToEnd) { 343 IN_PROC_BROWSER_TEST_F(CastStreamingApiTestWithPixelOutput, MAYBE_EndToEnd) {
345 scoped_ptr<net::UDPServerSocket> receive_socket( 344 scoped_ptr<net::UDPServerSocket> receive_socket(
346 new net::UDPServerSocket(NULL, net::NetLog::Source())); 345 new net::UDPServerSocket(NULL, net::NetLog::Source()));
347 receive_socket->AllowAddressReuse(); 346 receive_socket->AllowAddressReuse();
348 ASSERT_EQ(net::OK, receive_socket->Listen(GetFreeLocalPort())); 347 ASSERT_EQ(net::OK, receive_socket->Listen(GetFreeLocalPort()));
349 net::IPEndPoint receiver_end_point; 348 net::IPEndPoint receiver_end_point;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 385
387 delete receiver; 386 delete receiver;
388 cast_environment->Shutdown(); 387 cast_environment->Shutdown();
389 } 388 }
390 389
391 IN_PROC_BROWSER_TEST_F(CastStreamingApiTestWithPixelOutput, RtpStreamError) { 390 IN_PROC_BROWSER_TEST_F(CastStreamingApiTestWithPixelOutput, RtpStreamError) {
392 ASSERT_TRUE(RunExtensionSubtest("cast_streaming", "rtp_stream_error.html")); 391 ASSERT_TRUE(RunExtensionSubtest("cast_streaming", "rtp_stream_error.html"));
393 } 392 }
394 393
395 } // namespace extensions 394 } // namespace extensions
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/api/tab_capture/tab_capture_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698