Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Side by Side Diff: chrome/test/ui/ppapi_uitest.cc

Issue 9358065: Flakiness cleanup: disable flaky tests under chrome/test/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/test/ui/npapi_uitest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "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/public/common/content_switches.h" 9 #include "content/public/common/content_switches.h"
10 #include "content/common/pepper_plugin_registry.h" 10 #include "content/common/pepper_plugin_registry.h"
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 // 340 //
341 // Interface tests. 341 // Interface tests.
342 // 342 //
343 343
344 // Disable tests under ASAN. http://crbug.com/104832. 344 // Disable tests under ASAN. http://crbug.com/104832.
345 // This is a bit heavy handed, but the majority of these tests fail under ASAN. 345 // This is a bit heavy handed, but the majority of these tests fail under ASAN.
346 // See bug for history. 346 // See bug for history.
347 #if !defined(ADDRESS_SANITIZER) 347 #if !defined(ADDRESS_SANITIZER)
348 348
349 TEST_PPAPI_IN_PROCESS(Broker) 349 TEST_PPAPI_IN_PROCESS(Broker)
350 TEST_PPAPI_OUT_OF_PROCESS(FLAKY_Broker) 350 // Flaky, http://crbug.com/111355
351 TEST_PPAPI_OUT_OF_PROCESS(DISABLED_Broker)
351 352
352 TEST_PPAPI_IN_PROCESS(Core) 353 TEST_PPAPI_IN_PROCESS(Core)
353 TEST_PPAPI_OUT_OF_PROCESS(Core) 354 TEST_PPAPI_OUT_OF_PROCESS(Core)
354 355
355 // Times out on Linux. http://crbug.com/108180 356 // Times out on Linux. http://crbug.com/108180
356 #if defined(OS_LINUX) 357 #if defined(OS_LINUX)
357 #define MAYBE_CursorControl DISABLED_CursorControl 358 #define MAYBE_CursorControl DISABLED_CursorControl
358 #else 359 #else
359 #define MAYBE_CursorControl CursorControl 360 #define MAYBE_CursorControl CursorControl
360 #endif 361 #endif
361 362
362 TEST_PPAPI_IN_PROCESS(MAYBE_CursorControl) 363 TEST_PPAPI_IN_PROCESS(MAYBE_CursorControl)
363 TEST_PPAPI_OUT_OF_PROCESS(MAYBE_CursorControl) 364 TEST_PPAPI_OUT_OF_PROCESS(MAYBE_CursorControl)
364 TEST_PPAPI_NACL_VIA_HTTP(MAYBE_CursorControl) 365 TEST_PPAPI_NACL_VIA_HTTP(MAYBE_CursorControl)
365 366
366 // Times out on Linux. http://crbug.com/108859 367 // Times out on Linux. http://crbug.com/108859
367 #if defined(OS_LINUX) 368 #if defined(OS_LINUX)
368 #define MAYBE_InputEvent DISABLED_InputEvent 369 #define MAYBE_InputEvent DISABLED_InputEvent
369 #elif defined(OS_MACOSX) 370 #elif defined(OS_MACOSX)
370 // Flaky on Mac. http://crbug.com/109258 371 // Flaky on Mac. http://crbug.com/109258
371 #define MAYBE_InputEvent FLAKY_InputEvent 372 #define MAYBE_InputEvent DISABLED_InputEvent
372 #else 373 #else
373 #define MAYBE_InputEvent InputEvent 374 #define MAYBE_InputEvent InputEvent
374 #endif 375 #endif
375 376
376 TEST_PPAPI_IN_PROCESS(MAYBE_InputEvent) 377 TEST_PPAPI_IN_PROCESS(MAYBE_InputEvent)
377 TEST_PPAPI_OUT_OF_PROCESS(MAYBE_InputEvent) 378 TEST_PPAPI_OUT_OF_PROCESS(MAYBE_InputEvent)
378 // TODO(bbudge) Enable when input events are proxied correctly for NaCl. 379 // TODO(bbudge) Enable when input events are proxied correctly for NaCl.
379 TEST_PPAPI_NACL_VIA_HTTP(DISABLED_InputEvent) 380 TEST_PPAPI_NACL_VIA_HTTP(DISABLED_InputEvent)
380 381
381 TEST_PPAPI_IN_PROCESS(Instance) 382 TEST_PPAPI_IN_PROCESS(Instance)
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
550 TEST_PPAPI_NACL_VIA_HTTP(PostMessage_MessageEvent) 551 TEST_PPAPI_NACL_VIA_HTTP(PostMessage_MessageEvent)
551 TEST_PPAPI_NACL_VIA_HTTP(PostMessage_NoHandler) 552 TEST_PPAPI_NACL_VIA_HTTP(PostMessage_NoHandler)
552 553
553 #if defined(OS_WIN) 554 #if defined(OS_WIN)
554 // Flaky: http://crbug.com/111209 555 // Flaky: http://crbug.com/111209
555 // 556 //
556 // Note from sheriffs miket and syzm: we're not convinced that this test is 557 // Note from sheriffs miket and syzm: we're not convinced that this test is
557 // directly to blame for the flakiness. It's possible that it's a more general 558 // directly to blame for the flakiness. It's possible that it's a more general
558 // problem that is exposing itself only with one of the later tests in this 559 // problem that is exposing itself only with one of the later tests in this
559 // series. 560 // series.
560 TEST_PPAPI_NACL_VIA_HTTP(FLAKY_PostMessage_ExtraParam) 561 TEST_PPAPI_NACL_VIA_HTTP(DISABLED_PostMessage_ExtraParam)
561 #else 562 #else
562 TEST_PPAPI_NACL_VIA_HTTP(PostMessage_ExtraParam) 563 TEST_PPAPI_NACL_VIA_HTTP(PostMessage_ExtraParam)
563 #endif 564 #endif
564 565
565 TEST_PPAPI_IN_PROCESS(Memory) 566 TEST_PPAPI_IN_PROCESS(Memory)
566 TEST_PPAPI_OUT_OF_PROCESS(Memory) 567 TEST_PPAPI_OUT_OF_PROCESS(Memory)
567 TEST_PPAPI_NACL_VIA_HTTP(Memory) 568 TEST_PPAPI_NACL_VIA_HTTP(Memory)
568 569
569 TEST_PPAPI_IN_PROCESS(VideoDecoder) 570 TEST_PPAPI_IN_PROCESS(VideoDecoder)
570 TEST_PPAPI_OUT_OF_PROCESS(VideoDecoder) 571 TEST_PPAPI_OUT_OF_PROCESS(VideoDecoder)
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
649 // TODO(bbudge) Fix fullscreen on Mac. 650 // TODO(bbudge) Fix fullscreen on Mac.
650 TEST_PPAPI_IN_PROCESS_VIA_HTTP(MAYBE_Fullscreen) 651 TEST_PPAPI_IN_PROCESS_VIA_HTTP(MAYBE_Fullscreen)
651 // TODO(bbudge) Will fail until we add an ACK message to extend user gesture. 652 // TODO(bbudge) Will fail until we add an ACK message to extend user gesture.
652 TEST_PPAPI_OUT_OF_PROCESS_VIA_HTTP(FAILS_Fullscreen) 653 TEST_PPAPI_OUT_OF_PROCESS_VIA_HTTP(FAILS_Fullscreen)
653 // TODO(bbudge) Enable when PPB_Testing_Dev SimulateInputEvent is proxied. 654 // TODO(bbudge) Enable when PPB_Testing_Dev SimulateInputEvent is proxied.
654 TEST_PPAPI_NACL_VIA_HTTP(DISABLED_Fullscreen) 655 TEST_PPAPI_NACL_VIA_HTTP(DISABLED_Fullscreen)
655 656
656 TEST_PPAPI_IN_PROCESS(FlashClipboard) 657 TEST_PPAPI_IN_PROCESS(FlashClipboard)
657 TEST_PPAPI_OUT_OF_PROCESS(FlashClipboard) 658 TEST_PPAPI_OUT_OF_PROCESS(FlashClipboard)
658 659
660 // http://crbug.com/63239
659 #if defined(OS_POSIX) 661 #if defined(OS_POSIX)
660 #define MAYBE_DirectoryReader FLAKY_DirectoryReader 662 #define MAYBE_DirectoryReader DISABLED_DirectoryReader
661 #else 663 #else
662 #define MAYBE_DirectoryReader DirectoryReader 664 #define MAYBE_DirectoryReader DirectoryReader
663 #endif 665 #endif
664 666
665 // Flaky on Mac + Linux, maybe http://codereview.chromium.org/7094008 667 // Flaky on Mac + Linux, maybe http://codereview.chromium.org/7094008
666 // Not implemented out of process: http://crbug.com/106129 668 // Not implemented out of process: http://crbug.com/106129
667 TEST_F(PPAPITest, MAYBE_DirectoryReader) { 669 TEST_F(PPAPITest, MAYBE_DirectoryReader) {
668 RunTestViaHTTP("DirectoryReader"); 670 RunTestViaHTTP("DirectoryReader");
669 } 671 }
670 672
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
722 TEST_PPAPI_IN_PROCESS(Flash_GetLocalTimeZoneOffset) 724 TEST_PPAPI_IN_PROCESS(Flash_GetLocalTimeZoneOffset)
723 TEST_PPAPI_IN_PROCESS(Flash_GetCommandLineArgs) 725 TEST_PPAPI_IN_PROCESS(Flash_GetCommandLineArgs)
724 TEST_PPAPI_OUT_OF_PROCESS(Flash_SetInstanceAlwaysOnTop) 726 TEST_PPAPI_OUT_OF_PROCESS(Flash_SetInstanceAlwaysOnTop)
725 TEST_PPAPI_OUT_OF_PROCESS(Flash_GetProxyForURL) 727 TEST_PPAPI_OUT_OF_PROCESS(Flash_GetProxyForURL)
726 TEST_PPAPI_OUT_OF_PROCESS(Flash_MessageLoop) 728 TEST_PPAPI_OUT_OF_PROCESS(Flash_MessageLoop)
727 TEST_PPAPI_OUT_OF_PROCESS(Flash_GetLocalTimeZoneOffset) 729 TEST_PPAPI_OUT_OF_PROCESS(Flash_GetLocalTimeZoneOffset)
728 TEST_PPAPI_OUT_OF_PROCESS(Flash_GetCommandLineArgs) 730 TEST_PPAPI_OUT_OF_PROCESS(Flash_GetCommandLineArgs)
729 731
730 // Intermittently fails on OSX. http://crbug.com/111636 732 // Intermittently fails on OSX. http://crbug.com/111636
731 #if defined(OS_MACOSX) 733 #if defined(OS_MACOSX)
732 #define MAYBE_WebSocket_CcInterfaces FLAKY_WebSocket_CcInterfaces 734 #define MAYBE_WebSocket_CcInterfaces DISABLED_WebSocket_CcInterfaces
733 #else 735 #else
734 #define MAYBE_WebSocket_CcInterfaces WebSocket_CcInterfaces 736 #define MAYBE_WebSocket_CcInterfaces WebSocket_CcInterfaces
735 #endif 737 #endif
736 738
737 TEST_PPAPI_IN_PROCESS(WebSocket_IsWebSocket) 739 TEST_PPAPI_IN_PROCESS(WebSocket_IsWebSocket)
738 TEST_PPAPI_IN_PROCESS(WebSocket_UninitializedPropertiesAccess) 740 TEST_PPAPI_IN_PROCESS(WebSocket_UninitializedPropertiesAccess)
739 TEST_PPAPI_IN_PROCESS(WebSocket_InvalidConnect) 741 TEST_PPAPI_IN_PROCESS(WebSocket_InvalidConnect)
740 TEST_PPAPI_IN_PROCESS(WebSocket_Protocols) 742 TEST_PPAPI_IN_PROCESS(WebSocket_Protocols)
741 TEST_PPAPI_IN_PROCESS(WebSocket_GetURL) 743 TEST_PPAPI_IN_PROCESS(WebSocket_GetURL)
742 TEST_PPAPI_IN_PROCESS_WITH_WS(WebSocket_ValidConnect) 744 TEST_PPAPI_IN_PROCESS_WITH_WS(WebSocket_ValidConnect)
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
842 TEST_PPAPI_OUT_OF_PROCESS(ResourceArray_OutOfRangeAccess) 844 TEST_PPAPI_OUT_OF_PROCESS(ResourceArray_OutOfRangeAccess)
843 TEST_PPAPI_OUT_OF_PROCESS(ResourceArray_EmptyArray) 845 TEST_PPAPI_OUT_OF_PROCESS(ResourceArray_EmptyArray)
844 TEST_PPAPI_OUT_OF_PROCESS(ResourceArray_InvalidElement) 846 TEST_PPAPI_OUT_OF_PROCESS(ResourceArray_InvalidElement)
845 847
846 TEST_PPAPI_IN_PROCESS(FlashMessageLoop_Basics) 848 TEST_PPAPI_IN_PROCESS(FlashMessageLoop_Basics)
847 TEST_PPAPI_IN_PROCESS(FlashMessageLoop_RunWithoutQuit) 849 TEST_PPAPI_IN_PROCESS(FlashMessageLoop_RunWithoutQuit)
848 TEST_PPAPI_OUT_OF_PROCESS(FlashMessageLoop_Basics) 850 TEST_PPAPI_OUT_OF_PROCESS(FlashMessageLoop_Basics)
849 TEST_PPAPI_OUT_OF_PROCESS(FlashMessageLoop_RunWithoutQuit) 851 TEST_PPAPI_OUT_OF_PROCESS(FlashMessageLoop_RunWithoutQuit)
850 852
851 #endif // ADDRESS_SANITIZER 853 #endif // ADDRESS_SANITIZER
OLDNEW
« no previous file with comments | « chrome/test/ui/npapi_uitest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698