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

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

Issue 8917001: Mark PPAPITest.Fullscreen as FAILS on Linux since it's failing under TSAN. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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 | « no previous file | 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) 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"
11 #include "content/common/pepper_plugin_registry.h" 11 #include "content/common/pepper_plugin_registry.h"
12 #include "chrome/common/chrome_paths.h" 12 #include "chrome/common/chrome_paths.h"
13 #include "chrome/common/chrome_switches.h" 13 #include "chrome/common/chrome_switches.h"
14 #include "chrome/test/automation/tab_proxy.h" 14 #include "chrome/test/automation/tab_proxy.h"
15 #include "chrome/test/base/ui_test_utils.h" 15 #include "chrome/test/base/ui_test_utils.h"
16 #include "chrome/test/ui/ui_test.h" 16 #include "chrome/test/ui/ui_test.h"
17 #include "net/base/net_util.h" 17 #include "net/base/net_util.h"
18 #include "net/test/test_server.h" 18 #include "net/test/test_server.h"
19 #include "webkit/plugins/plugin_switches.h" 19 #include "webkit/plugins/plugin_switches.h"
20 20
21
22 namespace { 21 namespace {
23 22
24 // Platform-specific filename relative to the chrome executable. 23 // Platform-specific filename relative to the chrome executable.
25 #if defined(OS_WIN) 24 #if defined(OS_WIN)
26 const wchar_t library_name[] = L"ppapi_tests.dll"; 25 const wchar_t library_name[] = L"ppapi_tests.dll";
27 #elif defined(OS_MACOSX) 26 #elif defined(OS_MACOSX)
28 const char library_name[] = "ppapi_tests.plugin"; 27 const char library_name[] = "ppapi_tests.plugin";
29 #elif defined(OS_POSIX) 28 #elif defined(OS_POSIX)
30 const char library_name[] = "libppapi_tests.so"; 29 const char library_name[] = "libppapi_tests.so";
31 #endif 30 #endif
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 #define MAYBE_FlashFullscreen DISABLED_FlashFullscreen 505 #define MAYBE_FlashFullscreen DISABLED_FlashFullscreen
507 #endif 506 #endif
508 507
509 TEST_F(PPAPITest, MAYBE_FlashFullscreen) { 508 TEST_F(PPAPITest, MAYBE_FlashFullscreen) {
510 RunTestViaHTTP("FlashFullscreen"); 509 RunTestViaHTTP("FlashFullscreen");
511 } 510 }
512 TEST_F(OutOfProcessPPAPITest, MAYBE_FlashFullscreen) { 511 TEST_F(OutOfProcessPPAPITest, MAYBE_FlashFullscreen) {
513 RunTestViaHTTP("FlashFullscreen"); 512 RunTestViaHTTP("FlashFullscreen");
514 } 513 }
515 514
516 // Fullscreen test fails on Mac. 515 // http://crbug.com/107175.
517 #if defined(OS_MACOSX) || defined(OS_CHROMEOS) 516 #if defined(OS_MACOSX) || defined(OS_CHROMEOS) || defined(OS_LINUX)
518 #define MAYBE_Fullscreen FAILS_Fullscreen 517 #define MAYBE_Fullscreen FAILS_Fullscreen
519 #else 518 #else
520 #define MAYBE_Fullscreen Fullscreen 519 #define MAYBE_Fullscreen Fullscreen
521 #endif 520 #endif
522 521
523 // TODO(bbudge) Fix fullscreen on Mac. 522 // TODO(bbudge) Fix fullscreen on Mac.
524 TEST_PPAPI_IN_PROCESS_VIA_HTTP(MAYBE_Fullscreen) 523 TEST_PPAPI_IN_PROCESS_VIA_HTTP(MAYBE_Fullscreen)
525 // TODO(bbudge) Will fail until we add an ACK message to extend user gesture. 524 // TODO(bbudge) Will fail until we add an ACK message to extend user gesture.
526 TEST_PPAPI_OUT_OF_PROCESS_VIA_HTTP(FAILS_Fullscreen) 525 TEST_PPAPI_OUT_OF_PROCESS_VIA_HTTP(FAILS_Fullscreen)
527 // TODO(bbudge) Enable when PPB_Testing_Dev SimulateInputEvent is proxied. 526 // TODO(bbudge) Enable when PPB_Testing_Dev SimulateInputEvent is proxied.
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
603 TEST_PPAPI_OUT_OF_PROCESS(AudioConfig_InvalidConfigs) 602 TEST_PPAPI_OUT_OF_PROCESS(AudioConfig_InvalidConfigs)
604 603
605 TEST_PPAPI_IN_PROCESS(Audio_Creation) 604 TEST_PPAPI_IN_PROCESS(Audio_Creation)
606 TEST_PPAPI_IN_PROCESS(Audio_DestroyNoStop) 605 TEST_PPAPI_IN_PROCESS(Audio_DestroyNoStop)
607 TEST_PPAPI_IN_PROCESS(Audio_Failures) 606 TEST_PPAPI_IN_PROCESS(Audio_Failures)
608 TEST_PPAPI_OUT_OF_PROCESS(Audio_Creation) 607 TEST_PPAPI_OUT_OF_PROCESS(Audio_Creation)
609 TEST_PPAPI_OUT_OF_PROCESS(Audio_DestroyNoStop) 608 TEST_PPAPI_OUT_OF_PROCESS(Audio_DestroyNoStop)
610 TEST_PPAPI_OUT_OF_PROCESS(Audio_Failures) 609 TEST_PPAPI_OUT_OF_PROCESS(Audio_Failures)
611 610
612 #endif // ADDRESS_SANITIZER 611 #endif // ADDRESS_SANITIZER
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698