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 "chrome/test/ppapi/ppapi_test.h" | 5 #include "chrome/test/ppapi/ppapi_test.h" |
6 | 6 |
7 #include "base/test/test_timeouts.h" | 7 #include "base/test/test_timeouts.h" |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "chrome/browser/content_settings/host_content_settings_map.h" | 9 #include "chrome/browser/content_settings/host_content_settings_map.h" |
10 #include "chrome/browser/profiles/profile.h" | 10 #include "chrome/browser/profiles/profile.h" |
(...skipping 1049 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1060 LIST_TEST(NetAddressPrivateUntrusted_GetAnyAddress) | 1060 LIST_TEST(NetAddressPrivateUntrusted_GetAnyAddress) |
1061 LIST_TEST(NetAddressPrivateUntrusted_GetFamily) | 1061 LIST_TEST(NetAddressPrivateUntrusted_GetFamily) |
1062 LIST_TEST(NetAddressPrivateUntrusted_GetPort) | 1062 LIST_TEST(NetAddressPrivateUntrusted_GetPort) |
1063 LIST_TEST(NetAddressPrivateUntrusted_GetAddress) | 1063 LIST_TEST(NetAddressPrivateUntrusted_GetAddress) |
1064 ); | 1064 ); |
1065 } | 1065 } |
1066 | 1066 |
1067 // NetworkMonitor tests. | 1067 // NetworkMonitor tests. |
1068 IN_PROC_BROWSER_TEST_F(OutOfProcessPPAPITest, NetworkMonitor) { | 1068 IN_PROC_BROWSER_TEST_F(OutOfProcessPPAPITest, NetworkMonitor) { |
1069 RunTestViaHTTP( | 1069 RunTestViaHTTP( |
1070 LIST_TEST(NetworkMonitorPrivate_Basic) | 1070 LIST_TEST(NetworkMonitor_Basic) |
1071 LIST_TEST(NetworkMonitorPrivate_2Monitors) | 1071 LIST_TEST(NetworkMonitor_2Monitors) |
1072 LIST_TEST(NetworkMonitorPrivate_DeleteInCallback) | 1072 LIST_TEST(NetworkMonitor_DeleteInCallback) |
1073 ); | 1073 ); |
1074 } | 1074 } |
1075 IN_PROC_BROWSER_TEST_F(PPAPINaClNewlibTest, NetworkMonitor) { | 1075 IN_PROC_BROWSER_TEST_F(PPAPINaClNewlibTest, NetworkMonitor) { |
1076 RunTestViaHTTP( | 1076 RunTestViaHTTP( |
1077 LIST_TEST(NetworkMonitorPrivate_Basic) | 1077 LIST_TEST(NetworkMonitor_Basic) |
1078 LIST_TEST(NetworkMonitorPrivate_2Monitors) | 1078 LIST_TEST(NetworkMonitor_2Monitors) |
1079 LIST_TEST(NetworkMonitorPrivate_DeleteInCallback) | 1079 LIST_TEST(NetworkMonitor_DeleteInCallback) |
1080 ); | 1080 ); |
1081 } | 1081 } |
1082 IN_PROC_BROWSER_TEST_F(PPAPINaClGLibcTest, MAYBE_GLIBC(NetworkMonitor)) { | 1082 IN_PROC_BROWSER_TEST_F(PPAPINaClGLibcTest, MAYBE_GLIBC(NetworkMonitor)) { |
1083 RunTestViaHTTP( | 1083 RunTestViaHTTP( |
1084 LIST_TEST(NetworkMonitorPrivate_Basic) | 1084 LIST_TEST(NetworkMonitor_Basic) |
1085 LIST_TEST(NetworkMonitorPrivate_2Monitors) | 1085 LIST_TEST(NetworkMonitor_2Monitors) |
1086 LIST_TEST(NetworkMonitorPrivate_DeleteInCallback) | 1086 LIST_TEST(NetworkMonitor_DeleteInCallback) |
1087 ); | 1087 ); |
1088 } | 1088 } |
1089 IN_PROC_BROWSER_TEST_F(PPAPINaClPNaClTest, NetworkMonitor) { | 1089 IN_PROC_BROWSER_TEST_F(PPAPINaClPNaClTest, NetworkMonitor) { |
1090 RunTestViaHTTP( | 1090 RunTestViaHTTP( |
1091 LIST_TEST(NetworkMonitorPrivate_Basic) | 1091 LIST_TEST(NetworkMonitor_Basic) |
1092 LIST_TEST(NetworkMonitorPrivate_2Monitors) | 1092 LIST_TEST(NetworkMonitor_2Monitors) |
1093 LIST_TEST(NetworkMonitorPrivate_DeleteInCallback) | 1093 LIST_TEST(NetworkMonitor_DeleteInCallback) |
1094 ); | 1094 ); |
1095 } | 1095 } |
1096 | 1096 |
1097 // Flash tests. | 1097 // Flash tests. |
1098 IN_PROC_BROWSER_TEST_F(PPAPITest, Flash) { | 1098 IN_PROC_BROWSER_TEST_F(PPAPITest, Flash) { |
1099 RunTestViaHTTP( | 1099 RunTestViaHTTP( |
1100 LIST_TEST(Flash_SetInstanceAlwaysOnTop) | 1100 LIST_TEST(Flash_SetInstanceAlwaysOnTop) |
1101 LIST_TEST(Flash_GetCommandLineArgs) | 1101 LIST_TEST(Flash_GetCommandLineArgs) |
1102 ); | 1102 ); |
1103 } | 1103 } |
(...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1537 #if (defined(OS_WIN) && defined(ENABLE_RLZ)) || defined(OS_CHROMEOS) | 1537 #if (defined(OS_WIN) && defined(ENABLE_RLZ)) || defined(OS_CHROMEOS) |
1538 // Only implemented on Windows and ChromeOS currently. | 1538 // Only implemented on Windows and ChromeOS currently. |
1539 LIST_TEST(FlashDRM_GetDeviceID) | 1539 LIST_TEST(FlashDRM_GetDeviceID) |
1540 #endif | 1540 #endif |
1541 LIST_TEST(FlashDRM_GetHmonitor) | 1541 LIST_TEST(FlashDRM_GetHmonitor) |
1542 LIST_TEST(FlashDRM_GetVoucherFile)); | 1542 LIST_TEST(FlashDRM_GetVoucherFile)); |
1543 } | 1543 } |
1544 | 1544 |
1545 TEST_PPAPI_IN_PROCESS(TalkPrivate) | 1545 TEST_PPAPI_IN_PROCESS(TalkPrivate) |
1546 TEST_PPAPI_OUT_OF_PROCESS(TalkPrivate) | 1546 TEST_PPAPI_OUT_OF_PROCESS(TalkPrivate) |
OLD | NEW |