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 TEST_PPAPI_IN_PROCESS(Crypto) | 293 #if defined(ADDRESS_SANITIZER) |
294 #if defined(OS_POSIX) | |
295 #define MAYBE_Crypto DISABLED_Crypto | 294 #define MAYBE_Crypto DISABLED_Crypto |
296 #else | 295 #else |
297 #define MAYBE_Crypto Crypto | 296 #define MAYBE_Crypto Crypto |
298 #endif | 297 #endif |
299 // http://crbug.com/104832 fails on ASAN, so this is an overly broad disable. | 298 // http://crbug.com/104832 fails on ASAN. |
300 // But ASAN currently doesn't have a way to disable specific tests. | 299 TEST_F(PPAPITest, MAYBE_Crypto) { |
301 TEST_F(OutOfProcessPPAPITest, Crypto) { | 300 RunTestViaHTTP("Crypto"); |
| 301 } |
| 302 TEST_F(OutOfProcessPPAPITest, MAYBE_Crypto) { |
302 RunTest("Crypto"); | 303 RunTest("Crypto"); |
303 } | 304 } |
304 | 305 |
305 TEST_PPAPI_IN_PROCESS(Var) | 306 TEST_PPAPI_IN_PROCESS(Var) |
306 // http://crbug.com/89961 | 307 // http://crbug.com/89961 |
307 TEST_F(OutOfProcessPPAPITest, FAILS_Var) { | 308 TEST_F(OutOfProcessPPAPITest, FAILS_Var) { |
308 RunTest("Var"); | 309 RunTest("Var"); |
309 } | 310 } |
310 TEST_PPAPI_NACL_VIA_HTTP(Var) | 311 TEST_PPAPI_NACL_VIA_HTTP(Var) |
311 | 312 |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
438 TEST_PPAPI_IN_PROCESS(Flash_GetLocalTimeZoneOffset) | 439 TEST_PPAPI_IN_PROCESS(Flash_GetLocalTimeZoneOffset) |
439 TEST_PPAPI_IN_PROCESS(Flash_GetCommandLineArgs) | 440 TEST_PPAPI_IN_PROCESS(Flash_GetCommandLineArgs) |
440 TEST_PPAPI_OUT_OF_PROCESS(Flash_SetInstanceAlwaysOnTop) | 441 TEST_PPAPI_OUT_OF_PROCESS(Flash_SetInstanceAlwaysOnTop) |
441 TEST_PPAPI_OUT_OF_PROCESS(Flash_GetProxyForURL) | 442 TEST_PPAPI_OUT_OF_PROCESS(Flash_GetProxyForURL) |
442 TEST_PPAPI_OUT_OF_PROCESS(Flash_MessageLoop) | 443 TEST_PPAPI_OUT_OF_PROCESS(Flash_MessageLoop) |
443 TEST_PPAPI_OUT_OF_PROCESS(Flash_GetLocalTimeZoneOffset) | 444 TEST_PPAPI_OUT_OF_PROCESS(Flash_GetLocalTimeZoneOffset) |
444 TEST_PPAPI_OUT_OF_PROCESS(Flash_GetCommandLineArgs) | 445 TEST_PPAPI_OUT_OF_PROCESS(Flash_GetCommandLineArgs) |
445 | 446 |
446 TEST_PPAPI_IN_PROCESS(WebSocket_Create) | 447 TEST_PPAPI_IN_PROCESS(WebSocket_Create) |
447 TEST_PPAPI_IN_PROCESS(WebSocket_IsWebSocket) | 448 TEST_PPAPI_IN_PROCESS(WebSocket_IsWebSocket) |
OLD | NEW |