OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "base/path_service.h" | 5 #include "base/path_service.h" |
6 #include "base/test/test_timeouts.h" | 6 #include "base/test/test_timeouts.h" |
7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
8 #include "chrome/browser/extensions/extension_browsertest.h" | 8 #include "chrome/browser/extensions/extension_browsertest.h" |
9 #include "chrome/browser/profiles/profile.h" | 9 #include "chrome/browser/profiles/profile.h" |
10 #include "chrome/browser/ui/browser.h" | 10 #include "chrome/browser/ui/browser.h" |
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 #define MAYBE_UDPSocket_Broadcast DISABLED_UDPSocket_Broadcast | 342 #define MAYBE_UDPSocket_Broadcast DISABLED_UDPSocket_Broadcast |
343 #else | 343 #else |
344 #define MAYBE_UDPSocket_Broadcast UDPSocket_Broadcast | 344 #define MAYBE_UDPSocket_Broadcast UDPSocket_Broadcast |
345 #endif | 345 #endif |
346 | 346 |
347 #define RUN_UDPSOCKET_SUBTESTS \ | 347 #define RUN_UDPSOCKET_SUBTESTS \ |
348 RunTestViaHTTP( \ | 348 RunTestViaHTTP( \ |
349 LIST_TEST(UDPSocket_ReadWrite) \ | 349 LIST_TEST(UDPSocket_ReadWrite) \ |
350 LIST_TEST(UDPSocket_SetOption) \ | 350 LIST_TEST(UDPSocket_SetOption) \ |
351 LIST_TEST(MAYBE_UDPSocket_Broadcast) \ | 351 LIST_TEST(MAYBE_UDPSocket_Broadcast) \ |
352 LIST_TEST(UDPSocket_ParallelSend)) | 352 LIST_TEST(UDPSocket_ParallelSend) \ |
| 353 LIST_TEST(UDPSocket_Multicast) \ |
| 354 ) |
353 | 355 |
354 IN_PROC_BROWSER_TEST_F(OutOfProcessPPAPITest, UDPSocket) { | 356 IN_PROC_BROWSER_TEST_F(OutOfProcessPPAPITest, UDPSocket) { |
355 RUN_UDPSOCKET_SUBTESTS; | 357 RUN_UDPSOCKET_SUBTESTS; |
356 } | 358 } |
357 IN_PROC_BROWSER_TEST_F(PPAPINaClNewlibTest, UDPSocket) { | 359 IN_PROC_BROWSER_TEST_F(PPAPINaClNewlibTest, UDPSocket) { |
358 RUN_UDPSOCKET_SUBTESTS; | 360 RUN_UDPSOCKET_SUBTESTS; |
359 } | 361 } |
360 IN_PROC_BROWSER_TEST_F(PPAPINaClGLibcTest, MAYBE_GLIBC(UDPSocket)) { | 362 IN_PROC_BROWSER_TEST_F(PPAPINaClGLibcTest, MAYBE_GLIBC(UDPSocket)) { |
361 RUN_UDPSOCKET_SUBTESTS; | 363 RUN_UDPSOCKET_SUBTESTS; |
362 } | 364 } |
(...skipping 1217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1580 #endif | 1582 #endif |
1581 | 1583 |
1582 IN_PROC_BROWSER_TEST_F(MojoPPAPITest, MAYBE_MOJO(Mojo)) { | 1584 IN_PROC_BROWSER_TEST_F(MojoPPAPITest, MAYBE_MOJO(Mojo)) { |
1583 RunTest(); | 1585 RunTest(); |
1584 } | 1586 } |
1585 | 1587 |
1586 IN_PROC_BROWSER_TEST_F(MojoPPAPITest, MAYBE_MOJO(MojoFailsWithoutFlag)) { | 1588 IN_PROC_BROWSER_TEST_F(MojoPPAPITest, MAYBE_MOJO(MojoFailsWithoutFlag)) { |
1587 RunTestWithoutFlag(); | 1589 RunTestWithoutFlag(); |
1588 } | 1590 } |
1589 #endif | 1591 #endif |
OLD | NEW |