diff options
author | zmo@chromium.org <zmo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-10 01:29:00 +0000 |
---|---|---|
committer | zmo@chromium.org <zmo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-10 01:29:00 +0000 |
commit | bd132983c14c2bc63098578027c9596b397f9f4e (patch) | |
tree | 0c43adf95a98de14295e753333fce1a29aa117db | |
parent | b354f3ec5055174f98ed7bf223ac9d1620f268c2 (diff) | |
download | chromium_src-bd132983c14c2bc63098578027c9596b397f9f4e.zip chromium_src-bd132983c14c2bc63098578027c9596b397f9f4e.tar.gz chromium_src-bd132983c14c2bc63098578027c9596b397f9f4e.tar.bz2 |
Remove certain gpu crash tests from gpu_tests.
They are running as part of content_browsertests on gpu bots now.
BUG=111506
TEST=gpu bots
Review URL: https://codereview.chromium.org/11783078
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175970 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/chrome_tests.gypi | 2 | ||||
-rw-r--r-- | chrome/test/gpu/webgl_infobar_browsertest.cc (renamed from chrome/test/gpu/gpu_crash_browsertest.cc) | 47 |
2 files changed, 4 insertions, 45 deletions
diff --git a/chrome/chrome_tests.gypi b/chrome/chrome_tests.gypi index ffae08b..ccf1f8e 100644 --- a/chrome/chrome_tests.gypi +++ b/chrome/chrome_tests.gypi @@ -2238,10 +2238,10 @@ 'test/gpu/test_support_gpu.gypi' ], 'sources': [ - 'test/gpu/gpu_crash_browsertest.cc', 'test/gpu/gpu_feature_browsertest.cc', 'test/gpu/gpu_mapsgl_endurance_browsertest.cc', 'test/gpu/gpu_pixel_browsertest.cc', + 'test/gpu/webgl_infobar_browsertest.cc', ], }, { diff --git a/chrome/test/gpu/gpu_crash_browsertest.cc b/chrome/test/gpu/webgl_infobar_browsertest.cc index 79fb8ef..b8856df 100644 --- a/chrome/test/gpu/gpu_crash_browsertest.cc +++ b/chrome/test/gpu/webgl_infobar_browsertest.cc @@ -48,7 +48,7 @@ void SimulateGPUCrash(Browser* browser) { } // namespace -class GPUCrashTest : public InProcessBrowserTest { +class WebGLInfobarTest : public InProcessBrowserTest { protected: virtual void SetUpCommandLine(CommandLine* command_line) { // GPU tests require gpu acceleration. @@ -63,34 +63,7 @@ class GPUCrashTest : public InProcessBrowserTest { FilePath gpu_test_dir_; }; -IN_PROC_BROWSER_TEST_F(GPUCrashTest, Kill) { - // crbug.com/162982, flaky on Mac Retina Release. - if (GPUTestBotConfig::CurrentConfigMatches("MAC NVIDIA 0x0fd5 RELEASE")) - return; - - content::DOMMessageQueue message_queue; - - content::GpuDataManager::GetInstance()-> - DisableDomainBlockingFor3DAPIsForTesting(); - - // Load page and wait for it to load. - content::WindowedNotificationObserver observer( - content::NOTIFICATION_LOAD_STOP, - content::NotificationService::AllSources()); - ui_test_utils::NavigateToURL( - browser(), - content::GetFileUrlWithQuery( - gpu_test_dir_.AppendASCII("webgl.html"), "query=kill")); - observer.Wait(); - - SimulateGPUCrash(browser()); - - std::string m; - ASSERT_TRUE(message_queue.WaitForMessage(&m)); - EXPECT_EQ("\"SUCCESS\"", m); -} - -IN_PROC_BROWSER_TEST_F(GPUCrashTest, ContextLossRaisesInfobar) { +IN_PROC_BROWSER_TEST_F(WebGLInfobarTest, ContextLossRaisesInfobar) { // crbug.com/162982, flaky on Mac Retina Release. if (GPUTestBotConfig::CurrentConfigMatches("MAC NVIDIA 0x0fd5 RELEASE")) return; @@ -115,7 +88,7 @@ IN_PROC_BROWSER_TEST_F(GPUCrashTest, ContextLossRaisesInfobar) { chrome::GetActiveWebContents(browser()))->GetInfoBarCount()); } -IN_PROC_BROWSER_TEST_F(GPUCrashTest, ContextLossInfobarReload) { +IN_PROC_BROWSER_TEST_F(WebGLInfobarTest, ContextLossInfobarReload) { // crbug.com/162982, flaky on Mac Retina Release. if (GPUTestBotConfig::CurrentConfigMatches("MAC NVIDIA 0x0fd5 RELEASE")) return; @@ -164,17 +137,3 @@ IN_PROC_BROWSER_TEST_F(GPUCrashTest, ContextLossInfobarReload) { // There isn't any point in adding a test which calls Accept() on the // ThreeDAPIInfoBarDelegate; doing so doesn't remove the infobar, and // there's no concrete event that could be observed in response. - -IN_PROC_BROWSER_TEST_F(GPUCrashTest, WebkitLoseContext) { - content::DOMMessageQueue message_queue; - - ui_test_utils::NavigateToURL( - browser(), - content::GetFileUrlWithQuery( - gpu_test_dir_.AppendASCII("webgl.html"), - "query=WEBGL_lose_context")); - - std::string m; - ASSERT_TRUE(message_queue.WaitForMessage(&m)); - EXPECT_EQ("\"SUCCESS\"", m); -} |