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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 // NaCl based PPAPI tests | 224 // NaCl based PPAPI tests |
225 #define TEST_PPAPI_NACL_VIA_HTTP(test_name) \ | 225 #define TEST_PPAPI_NACL_VIA_HTTP(test_name) \ |
226 TEST_F(PPAPINaClTest, test_name) { \ | 226 TEST_F(PPAPINaClTest, test_name) { \ |
227 RunTestViaHTTP(#test_name); \ | 227 RunTestViaHTTP(#test_name); \ |
228 } | 228 } |
229 | 229 |
230 // | 230 // |
231 // Interface tests. | 231 // Interface tests. |
232 // | 232 // |
233 | 233 |
| 234 // Disable tests under ASAN. http://crbug.com/104832. |
| 235 // This is a bit heavy handed, but the majority of these tests fail under ASAN. |
| 236 // See bug for history. |
| 237 #if !defined(ADDRESS_SANITIZER) |
| 238 |
234 TEST_PPAPI_IN_PROCESS(Broker) | 239 TEST_PPAPI_IN_PROCESS(Broker) |
235 TEST_PPAPI_OUT_OF_PROCESS(Broker) | 240 TEST_PPAPI_OUT_OF_PROCESS(Broker) |
236 | 241 |
237 TEST_PPAPI_IN_PROCESS(Core) | 242 TEST_PPAPI_IN_PROCESS(Core) |
238 TEST_PPAPI_OUT_OF_PROCESS(Core) | 243 TEST_PPAPI_OUT_OF_PROCESS(Core) |
239 | 244 |
240 TEST_PPAPI_IN_PROCESS(CursorControl) | 245 TEST_PPAPI_IN_PROCESS(CursorControl) |
241 TEST_PPAPI_OUT_OF_PROCESS(CursorControl) | 246 TEST_PPAPI_OUT_OF_PROCESS(CursorControl) |
242 TEST_PPAPI_NACL_VIA_HTTP(CursorControl) | 247 TEST_PPAPI_NACL_VIA_HTTP(CursorControl) |
243 | 248 |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
439 TEST_PPAPI_IN_PROCESS(Flash_GetLocalTimeZoneOffset) | 444 TEST_PPAPI_IN_PROCESS(Flash_GetLocalTimeZoneOffset) |
440 TEST_PPAPI_IN_PROCESS(Flash_GetCommandLineArgs) | 445 TEST_PPAPI_IN_PROCESS(Flash_GetCommandLineArgs) |
441 TEST_PPAPI_OUT_OF_PROCESS(Flash_SetInstanceAlwaysOnTop) | 446 TEST_PPAPI_OUT_OF_PROCESS(Flash_SetInstanceAlwaysOnTop) |
442 TEST_PPAPI_OUT_OF_PROCESS(Flash_GetProxyForURL) | 447 TEST_PPAPI_OUT_OF_PROCESS(Flash_GetProxyForURL) |
443 TEST_PPAPI_OUT_OF_PROCESS(Flash_MessageLoop) | 448 TEST_PPAPI_OUT_OF_PROCESS(Flash_MessageLoop) |
444 TEST_PPAPI_OUT_OF_PROCESS(Flash_GetLocalTimeZoneOffset) | 449 TEST_PPAPI_OUT_OF_PROCESS(Flash_GetLocalTimeZoneOffset) |
445 TEST_PPAPI_OUT_OF_PROCESS(Flash_GetCommandLineArgs) | 450 TEST_PPAPI_OUT_OF_PROCESS(Flash_GetCommandLineArgs) |
446 | 451 |
447 TEST_PPAPI_IN_PROCESS(WebSocket_Create) | 452 TEST_PPAPI_IN_PROCESS(WebSocket_Create) |
448 TEST_PPAPI_IN_PROCESS(WebSocket_IsWebSocket) | 453 TEST_PPAPI_IN_PROCESS(WebSocket_IsWebSocket) |
| 454 |
| 455 #endif // ADDRESS_SANITIZER |
OLD | NEW |