| 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 1294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1305 LIST_TEST(AudioConfig_ValidConfigs) | 1305 LIST_TEST(AudioConfig_ValidConfigs) |
| 1306 LIST_TEST(AudioConfig_InvalidConfigs)); | 1306 LIST_TEST(AudioConfig_InvalidConfigs)); |
| 1307 } | 1307 } |
| 1308 | 1308 |
| 1309 | 1309 |
| 1310 IN_PROC_BROWSER_TEST_F(PPAPITest, Audio) { | 1310 IN_PROC_BROWSER_TEST_F(PPAPITest, Audio) { |
| 1311 RunTest(LIST_TEST(Audio_Creation) | 1311 RunTest(LIST_TEST(Audio_Creation) |
| 1312 LIST_TEST(Audio_DestroyNoStop) | 1312 LIST_TEST(Audio_DestroyNoStop) |
| 1313 LIST_TEST(Audio_Failures) | 1313 LIST_TEST(Audio_Failures) |
| 1314 LIST_TEST(Audio_AudioCallback1) | 1314 LIST_TEST(Audio_AudioCallback1) |
| 1315 LIST_TEST(Audio_AudioCallback2)); | 1315 LIST_TEST(Audio_AudioCallback2) |
| 1316 LIST_TEST(Audio_AudioCallback3) |
| 1317 LIST_TEST(Audio_AudioCallback4)); |
| 1316 } | 1318 } |
| 1317 IN_PROC_BROWSER_TEST_F(OutOfProcessPPAPITest, Audio) { | 1319 IN_PROC_BROWSER_TEST_F(OutOfProcessPPAPITest, Audio) { |
| 1318 RunTest(LIST_TEST(Audio_Creation) | 1320 RunTest(LIST_TEST(Audio_Creation) |
| 1319 LIST_TEST(Audio_DestroyNoStop) | 1321 LIST_TEST(Audio_DestroyNoStop) |
| 1320 LIST_TEST(Audio_Failures) | 1322 LIST_TEST(Audio_Failures) |
| 1321 LIST_TEST(Audio_AudioCallback1) | 1323 LIST_TEST(Audio_AudioCallback1) |
| 1322 LIST_TEST(Audio_AudioCallback2)); | 1324 LIST_TEST(Audio_AudioCallback2) |
| 1325 LIST_TEST(Audio_AudioCallback3) |
| 1326 LIST_TEST(Audio_AudioCallback4)); |
| 1323 } | 1327 } |
| 1324 IN_PROC_BROWSER_TEST_F(PPAPINaClNewlibTest, Audio) { | 1328 IN_PROC_BROWSER_TEST_F(PPAPINaClNewlibTest, Audio) { |
| 1325 RunTestViaHTTP(LIST_TEST(Audio_Creation) | 1329 RunTestViaHTTP(LIST_TEST(Audio_Creation) |
| 1326 LIST_TEST(Audio_DestroyNoStop) | 1330 LIST_TEST(Audio_DestroyNoStop) |
| 1327 LIST_TEST(Audio_Failures) | 1331 LIST_TEST(Audio_Failures) |
| 1328 LIST_TEST(Audio_AudioCallback1) | 1332 LIST_TEST(Audio_AudioCallback1) |
| 1329 LIST_TEST(Audio_AudioCallback2)); | 1333 LIST_TEST(Audio_AudioCallback2) |
| 1334 LIST_TEST(Audio_AudioCallback3) |
| 1335 LIST_TEST(Audio_AudioCallback4)); |
| 1330 } | 1336 } |
| 1331 IN_PROC_BROWSER_TEST_F(PPAPINaClGLibcTest, MAYBE_GLIBC(Audio)) { | 1337 IN_PROC_BROWSER_TEST_F(PPAPINaClGLibcTest, MAYBE_GLIBC(Audio)) { |
| 1332 RunTestViaHTTP(LIST_TEST(Audio_Creation) | 1338 RunTestViaHTTP(LIST_TEST(Audio_Creation) |
| 1333 LIST_TEST(Audio_DestroyNoStop) | 1339 LIST_TEST(Audio_DestroyNoStop) |
| 1334 LIST_TEST(Audio_Failures) | 1340 LIST_TEST(Audio_Failures) |
| 1335 LIST_TEST(Audio_AudioCallback1) | 1341 LIST_TEST(Audio_AudioCallback1) |
| 1336 LIST_TEST(Audio_AudioCallback2)); | 1342 LIST_TEST(Audio_AudioCallback2) |
| 1343 LIST_TEST(Audio_AudioCallback3) |
| 1344 LIST_TEST(Audio_AudioCallback4)); |
| 1337 } | 1345 } |
| 1338 IN_PROC_BROWSER_TEST_F(PPAPINaClPNaClTest, Audio) { | 1346 IN_PROC_BROWSER_TEST_F(PPAPINaClPNaClTest, Audio) { |
| 1339 RunTestViaHTTP(LIST_TEST(Audio_Creation) | 1347 RunTestViaHTTP(LIST_TEST(Audio_Creation) |
| 1340 LIST_TEST(Audio_DestroyNoStop) | 1348 LIST_TEST(Audio_DestroyNoStop) |
| 1341 LIST_TEST(Audio_Failures) | 1349 LIST_TEST(Audio_Failures) |
| 1342 LIST_TEST(Audio_AudioCallback1) | 1350 LIST_TEST(Audio_AudioCallback1) |
| 1343 LIST_TEST(Audio_AudioCallback2)); | 1351 LIST_TEST(Audio_AudioCallback2) |
| 1352 LIST_TEST(Audio_AudioCallback3) |
| 1353 LIST_TEST(Audio_AudioCallback4)); |
| 1344 } | 1354 } |
| 1345 | 1355 |
| 1346 TEST_PPAPI_IN_PROCESS(View_CreatedVisible); | 1356 TEST_PPAPI_IN_PROCESS(View_CreatedVisible); |
| 1347 TEST_PPAPI_OUT_OF_PROCESS(View_CreatedVisible); | 1357 TEST_PPAPI_OUT_OF_PROCESS(View_CreatedVisible); |
| 1348 TEST_PPAPI_NACL(View_CreatedVisible); | 1358 TEST_PPAPI_NACL(View_CreatedVisible); |
| 1349 // This test ensures that plugins created in a background tab have their | 1359 // This test ensures that plugins created in a background tab have their |
| 1350 // initial visibility set to false. We don't bother testing in-process for this | 1360 // initial visibility set to false. We don't bother testing in-process for this |
| 1351 // custom test since the out of process code also exercises in-process. | 1361 // custom test since the out of process code also exercises in-process. |
| 1352 | 1362 |
| 1353 IN_PROC_BROWSER_TEST_F(OutOfProcessPPAPITest, View_CreateInvisible) { | 1363 IN_PROC_BROWSER_TEST_F(OutOfProcessPPAPITest, View_CreateInvisible) { |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1510 LIST_TEST(FlashDRM_GetDeviceID) | 1520 LIST_TEST(FlashDRM_GetDeviceID) |
| 1511 #endif | 1521 #endif |
| 1512 LIST_TEST(FlashDRM_GetHmonitor) | 1522 LIST_TEST(FlashDRM_GetHmonitor) |
| 1513 LIST_TEST(FlashDRM_GetVoucherFile)); | 1523 LIST_TEST(FlashDRM_GetVoucherFile)); |
| 1514 } | 1524 } |
| 1515 | 1525 |
| 1516 TEST_PPAPI_IN_PROCESS(TalkPrivate) | 1526 TEST_PPAPI_IN_PROCESS(TalkPrivate) |
| 1517 TEST_PPAPI_OUT_OF_PROCESS(TalkPrivate) | 1527 TEST_PPAPI_OUT_OF_PROCESS(TalkPrivate) |
| 1518 | 1528 |
| 1519 #endif // ADDRESS_SANITIZER | 1529 #endif // ADDRESS_SANITIZER |
| OLD | NEW |