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

Side by Side Diff: chrome/test/ppapi/ppapi_browsertest.cc

Issue 299893002: Fix PPAPINaClNewlibTest.PostMessage flakiness (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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
« no previous file with comments | « no previous file | ppapi/tests/test_post_message.cc » ('j') | 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 "chrome/test/ppapi/ppapi_test.h" 5 #include "chrome/test/ppapi/ppapi_test.h"
6 6
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 "chrome/browser/content_settings/host_content_settings_map.h" 9 #include "chrome/browser/content_settings/host_content_settings_map.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
(...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after
668 LIST_TEST(PostMessage_NoHandler) \ 668 LIST_TEST(PostMessage_NoHandler) \
669 LIST_TEST(PostMessage_ExtraParam) \ 669 LIST_TEST(PostMessage_ExtraParam) \
670 LIST_TEST(PostMessage_NonMainThread) \ 670 LIST_TEST(PostMessage_NonMainThread) \
671 ) 671 )
672 672
673 // Windows defines 'PostMessage', so we have to undef it. 673 // Windows defines 'PostMessage', so we have to undef it.
674 #ifdef PostMessage 674 #ifdef PostMessage
675 #undef PostMessage 675 #undef PostMessage
676 #endif 676 #endif
677 677
678 // Flaky: crbug.com/269530 678 IN_PROC_BROWSER_TEST_F(OutOfProcessPPAPITest, PostMessage) {
679 #if defined(OS_WIN)
680 #define MAYBE_PostMessage DISABLED_PostMessage
681 #else
682 #define MAYBE_PostMessage PostMessage
683 #endif
684 IN_PROC_BROWSER_TEST_F(OutOfProcessPPAPITest, MAYBE_PostMessage) {
685 RUN_POSTMESSAGE_SUBTESTS; 679 RUN_POSTMESSAGE_SUBTESTS;
686 } 680 }
687 IN_PROC_BROWSER_TEST_F(PPAPINaClNewlibTest, MAYBE_PostMessage) { 681 IN_PROC_BROWSER_TEST_F(PPAPINaClNewlibTest, PostMessage) {
688 RUN_POSTMESSAGE_SUBTESTS; 682 RUN_POSTMESSAGE_SUBTESTS;
689 } 683 }
690 IN_PROC_BROWSER_TEST_F(PPAPINaClGLibcTest, MAYBE_GLIBC(PostMessage)) { 684 IN_PROC_BROWSER_TEST_F(PPAPINaClGLibcTest, MAYBE_GLIBC(PostMessage)) {
691 RUN_POSTMESSAGE_SUBTESTS; 685 RUN_POSTMESSAGE_SUBTESTS;
692 } 686 }
693 IN_PROC_BROWSER_TEST_F(PPAPINaClPNaClTest, PostMessage) { 687 IN_PROC_BROWSER_TEST_F(PPAPINaClPNaClTest, PostMessage) {
694 RUN_POSTMESSAGE_SUBTESTS; 688 RUN_POSTMESSAGE_SUBTESTS;
695 } 689 }
696 IN_PROC_BROWSER_TEST_F(PPAPINaClPNaClNonSfiTest, 690 IN_PROC_BROWSER_TEST_F(PPAPINaClPNaClNonSfiTest,
697 MAYBE_PNACL_NONSFI(PostMessage)) { 691 MAYBE_PNACL_NONSFI(PostMessage)) {
(...skipping 671 matching lines...) Expand 10 before | Expand all | Expand 10 after
1369 LIST_TEST(FlashDRM_GetHmonitor) 1363 LIST_TEST(FlashDRM_GetHmonitor)
1370 LIST_TEST(FlashDRM_GetVoucherFile)); 1364 LIST_TEST(FlashDRM_GetVoucherFile));
1371 } 1365 }
1372 1366
1373 TEST_PPAPI_IN_PROCESS(TalkPrivate) 1367 TEST_PPAPI_IN_PROCESS(TalkPrivate)
1374 TEST_PPAPI_OUT_OF_PROCESS(TalkPrivate) 1368 TEST_PPAPI_OUT_OF_PROCESS(TalkPrivate)
1375 1369
1376 #if defined(OS_CHROMEOS) 1370 #if defined(OS_CHROMEOS)
1377 TEST_PPAPI_OUT_OF_PROCESS(OutputProtectionPrivate) 1371 TEST_PPAPI_OUT_OF_PROCESS(OutputProtectionPrivate)
1378 #endif 1372 #endif
OLDNEW
« no previous file with comments | « no previous file | ppapi/tests/test_post_message.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698