OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/file_util.h" | 5 #include "base/file_util.h" |
6 #include "base/path_service.h" | 6 #include "base/path_service.h" |
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 "content/browser/plugin_service.h" | 9 #include "content/browser/plugin_service.h" |
10 #include "content/public/common/content_switches.h" | 10 #include "content/public/common/content_switches.h" |
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 RunTest("Scrollbar"); | 283 RunTest("Scrollbar"); |
284 } | 284 } |
285 TEST_PPAPI_NACL_VIA_HTTP(Scrollbar) | 285 TEST_PPAPI_NACL_VIA_HTTP(Scrollbar) |
286 | 286 |
287 TEST_PPAPI_IN_PROCESS(URLUtil) | 287 TEST_PPAPI_IN_PROCESS(URLUtil) |
288 TEST_PPAPI_OUT_OF_PROCESS(URLUtil) | 288 TEST_PPAPI_OUT_OF_PROCESS(URLUtil) |
289 | 289 |
290 TEST_PPAPI_IN_PROCESS(CharSet) | 290 TEST_PPAPI_IN_PROCESS(CharSet) |
291 TEST_PPAPI_OUT_OF_PROCESS(CharSet) | 291 TEST_PPAPI_OUT_OF_PROCESS(CharSet) |
292 | 292 |
293 #if defined(ADDRESS_SANITIZER) | 293 TEST_PPAPI_IN_PROCESS(Crypto) |
| 294 #if defined(OS_POSIX) |
294 #define MAYBE_Crypto DISABLED_Crypto | 295 #define MAYBE_Crypto DISABLED_Crypto |
295 #else | 296 #else |
296 #define MAYBE_Crypto Crypto | 297 #define MAYBE_Crypto Crypto |
297 #endif | 298 #endif |
298 // http://crbug.com/104832 fails on ASAN. | 299 // http://crbug.com/104832 fails on ASAN, so this is an overly broad disable. |
299 TEST_F(PPAPITest, MAYBE_Crypto) { | 300 // But ASAN currently doesn't have a way to disable specific tests. |
300 RunTestViaHTTP("Crypto"); | 301 TEST_F(OutOfProcessPPAPITest, Crypto) { |
301 } | |
302 TEST_F(OutOfProcessPPAPITest, MAYBE_Crypto) { | |
303 RunTest("Crypto"); | 302 RunTest("Crypto"); |
304 } | 303 } |
305 | 304 |
306 TEST_PPAPI_IN_PROCESS(Var) | 305 TEST_PPAPI_IN_PROCESS(Var) |
307 // http://crbug.com/89961 | 306 // http://crbug.com/89961 |
308 TEST_F(OutOfProcessPPAPITest, FAILS_Var) { | 307 TEST_F(OutOfProcessPPAPITest, FAILS_Var) { |
309 RunTest("Var"); | 308 RunTest("Var"); |
310 } | 309 } |
311 TEST_PPAPI_NACL_VIA_HTTP(Var) | 310 TEST_PPAPI_NACL_VIA_HTTP(Var) |
312 | 311 |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
449 TEST_PPAPI_IN_PROCESS(Flash_GetLocalTimeZoneOffset) | 448 TEST_PPAPI_IN_PROCESS(Flash_GetLocalTimeZoneOffset) |
450 TEST_PPAPI_IN_PROCESS(Flash_GetCommandLineArgs) | 449 TEST_PPAPI_IN_PROCESS(Flash_GetCommandLineArgs) |
451 TEST_PPAPI_OUT_OF_PROCESS(Flash_SetInstanceAlwaysOnTop) | 450 TEST_PPAPI_OUT_OF_PROCESS(Flash_SetInstanceAlwaysOnTop) |
452 TEST_PPAPI_OUT_OF_PROCESS(Flash_GetProxyForURL) | 451 TEST_PPAPI_OUT_OF_PROCESS(Flash_GetProxyForURL) |
453 TEST_PPAPI_OUT_OF_PROCESS(Flash_MessageLoop) | 452 TEST_PPAPI_OUT_OF_PROCESS(Flash_MessageLoop) |
454 TEST_PPAPI_OUT_OF_PROCESS(Flash_GetLocalTimeZoneOffset) | 453 TEST_PPAPI_OUT_OF_PROCESS(Flash_GetLocalTimeZoneOffset) |
455 TEST_PPAPI_OUT_OF_PROCESS(Flash_GetCommandLineArgs) | 454 TEST_PPAPI_OUT_OF_PROCESS(Flash_GetCommandLineArgs) |
456 | 455 |
457 TEST_PPAPI_IN_PROCESS(WebSocket_Create) | 456 TEST_PPAPI_IN_PROCESS(WebSocket_Create) |
458 TEST_PPAPI_IN_PROCESS(WebSocket_IsWebSocket) | 457 TEST_PPAPI_IN_PROCESS(WebSocket_IsWebSocket) |
OLD | NEW |