OLD | NEW |
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 1847 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1858 WebViewCaptureTest() {} | 1858 WebViewCaptureTest() {} |
1859 virtual ~WebViewCaptureTest() {} | 1859 virtual ~WebViewCaptureTest() {} |
1860 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE { | 1860 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE { |
1861 command_line->AppendSwitch(GetParam()); | 1861 command_line->AppendSwitch(GetParam()); |
1862 // http://crbug.com/327035 | 1862 // http://crbug.com/327035 |
1863 command_line->AppendSwitch(switches::kDisableDelegatedRenderer); | 1863 command_line->AppendSwitch(switches::kDisableDelegatedRenderer); |
1864 WebViewTest::SetUpCommandLine(command_line); | 1864 WebViewTest::SetUpCommandLine(command_line); |
1865 } | 1865 } |
1866 }; | 1866 }; |
1867 | 1867 |
| 1868 #if defined(USE_AURA) && defined(OS_LINUX) |
| 1869 // Keeps failing on LinuxAura try server, tentatively disable this |
| 1870 // so that CQ becomes sane. |
| 1871 // crbug.com/330146 |
| 1872 #define MAYBE_Shim_ScreenshotCapture DISABLED_Shim_ScreenshotCapture |
| 1873 #else |
| 1874 #define MAYBE_Shim_ScreenshotCapture Shim_ScreenshotCapture |
| 1875 #endif |
1868 IN_PROC_BROWSER_TEST_P(WebViewCaptureTest, | 1876 IN_PROC_BROWSER_TEST_P(WebViewCaptureTest, |
1869 Shim_ScreenshotCapture) { | 1877 MAYBE_Shim_ScreenshotCapture) { |
1870 TestHelper("testScreenshotCapture", "web_view/shim", NO_TEST_SERVER); | 1878 TestHelper("testScreenshotCapture", "web_view/shim", NO_TEST_SERVER); |
1871 } | 1879 } |
1872 | 1880 |
1873 INSTANTIATE_TEST_CASE_P(WithoutThreadedCompositor, | 1881 INSTANTIATE_TEST_CASE_P(WithoutThreadedCompositor, |
1874 WebViewCaptureTest, | 1882 WebViewCaptureTest, |
1875 ::testing::Values(std::string(switches::kDisableThreadedCompositing))); | 1883 ::testing::Values(std::string(switches::kDisableThreadedCompositing))); |
1876 | 1884 |
1877 // http://crbug.com/171744 | 1885 // http://crbug.com/171744 |
1878 #if !defined(OS_MACOSX) | 1886 #if !defined(OS_MACOSX) |
1879 INSTANTIATE_TEST_CASE_P(WithThreadedCompositor, | 1887 INSTANTIATE_TEST_CASE_P(WithThreadedCompositor, |
1880 WebViewCaptureTest, | 1888 WebViewCaptureTest, |
1881 ::testing::Values(std::string(switches::kEnableThreadedCompositing))); | 1889 ::testing::Values(std::string(switches::kEnableThreadedCompositing))); |
1882 #endif | 1890 #endif |
OLD | NEW |