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

Side by Side Diff: chrome/browser/apps/web_view_browsertest.cc

Issue 131003014: Disable WebViewCaptureTest.Shim_ScreenshotCapture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "apps/ui/native_app_window.h" 5 #include "apps/ui/native_app_window.h"
6 #include "base/path_service.h" 6 #include "base/path_service.h"
7 #include "base/strings/stringprintf.h" 7 #include "base/strings/stringprintf.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "chrome/browser/apps/app_browsertest_util.h" 9 #include "chrome/browser/apps/app_browsertest_util.h"
10 #include "chrome/browser/automation/automation_util.h" 10 #include "chrome/browser/automation/automation_util.h"
(...skipping 1845 matching lines...) Expand 10 before | Expand all | Expand 10 after
1856 WebViewTest::SetUp(); 1856 WebViewTest::SetUp();
1857 } 1857 }
1858 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE { 1858 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
1859 command_line->AppendSwitch(GetParam()); 1859 command_line->AppendSwitch(GetParam());
1860 // http://crbug.com/327035 1860 // http://crbug.com/327035
1861 command_line->AppendSwitch(switches::kDisableDelegatedRenderer); 1861 command_line->AppendSwitch(switches::kDisableDelegatedRenderer);
1862 WebViewTest::SetUpCommandLine(command_line); 1862 WebViewTest::SetUpCommandLine(command_line);
1863 } 1863 }
1864 }; 1864 };
1865 1865
1866 #if defined(USE_AURA) && defined(OS_LINUX) 1866 // <webview> screenshot capture fails with ubercomp.
1867 // Keeps failing on LinuxAura try server, tentatively disable this 1867 // See http://crbug.com/327035.
1868 // so that CQ becomes sane.
1869 // crbug.com/330146
1870 #define MAYBE_Shim_ScreenshotCapture DISABLED_Shim_ScreenshotCapture
1871 #else
1872 #define MAYBE_Shim_ScreenshotCapture Shim_ScreenshotCapture
1873 #endif
1874 IN_PROC_BROWSER_TEST_P(WebViewCaptureTest, 1868 IN_PROC_BROWSER_TEST_P(WebViewCaptureTest,
1875 MAYBE_Shim_ScreenshotCapture) { 1869 DISABLED_Shim_ScreenshotCapture) {
1876 TestHelper("testScreenshotCapture", "web_view/shim", NO_TEST_SERVER); 1870 TestHelper("testScreenshotCapture", "web_view/shim", NO_TEST_SERVER);
1877 } 1871 }
1878 1872
1879 INSTANTIATE_TEST_CASE_P(WithoutThreadedCompositor, 1873 INSTANTIATE_TEST_CASE_P(WithoutThreadedCompositor,
1880 WebViewCaptureTest, 1874 WebViewCaptureTest,
1881 ::testing::Values(std::string(switches::kDisableThreadedCompositing))); 1875 ::testing::Values(std::string(switches::kDisableThreadedCompositing)));
1882 1876
1883 // http://crbug.com/171744 1877 // http://crbug.com/171744
1884 #if !defined(OS_MACOSX) 1878 #if !defined(OS_MACOSX)
1885 INSTANTIATE_TEST_CASE_P(WithThreadedCompositor, 1879 INSTANTIATE_TEST_CASE_P(WithThreadedCompositor,
1886 WebViewCaptureTest, 1880 WebViewCaptureTest,
1887 ::testing::Values(std::string(switches::kEnableThreadedCompositing))); 1881 ::testing::Values(std::string(switches::kEnableThreadedCompositing)));
1888 #endif 1882 #endif
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