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