OLD | NEW |
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 "content/test/layout_browsertest.h" | 5 #include "content/test/layout_browsertest.h" |
6 | 6 |
7 namespace content { | 7 namespace content { |
8 | 8 |
9 class AppCacheLayoutTest : public InProcessBrowserLayoutTest { | 9 class AppCacheLayoutTest : public InProcessBrowserLayoutTest { |
10 public: | 10 public: |
11 AppCacheLayoutTest() : InProcessBrowserLayoutTest( | 11 AppCacheLayoutTest() : InProcessBrowserLayoutTest( |
12 FilePath().AppendASCII("http").AppendASCII("tests"), | 12 base::FilePath().AppendASCII("http").AppendASCII("tests"), |
13 FilePath().AppendASCII("appcache"), | 13 base::FilePath().AppendASCII("appcache"), |
14 -1) { | 14 -1) { |
15 } | 15 } |
16 | 16 |
17 protected: | 17 protected: |
18 virtual ~AppCacheLayoutTest() {} | 18 virtual ~AppCacheLayoutTest() {} |
19 }; | 19 }; |
20 | 20 |
21 // Flaky and slow, hence disabled: http://crbug.com/54717 | 21 // Flaky and slow, hence disabled: http://crbug.com/54717 |
22 // The tests that don't depend on PHP should be less flaky. | 22 // The tests that don't depend on PHP should be less flaky. |
23 IN_PROC_BROWSER_TEST_F(AppCacheLayoutTest, DISABLED_NoPHP) { | 23 IN_PROC_BROWSER_TEST_F(AppCacheLayoutTest, DISABLED_NoPHP) { |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 // "different-https-origin-resource-main.html", | 92 // "different-https-origin-resource-main.html", |
93 // "idempotent-update.html", not sure this is a valid test | 93 // "idempotent-update.html", not sure this is a valid test |
94 // "local-content.html", | 94 // "local-content.html", |
95 // "max-size.html", we use a different quota scheme | 95 // "max-size.html", we use a different quota scheme |
96 | 96 |
97 for (size_t i = 0; i < arraysize(kPHPTests); ++i) | 97 for (size_t i = 0; i < arraysize(kPHPTests); ++i) |
98 RunHttpLayoutTest(kPHPTests[i]); | 98 RunHttpLayoutTest(kPHPTests[i]); |
99 } | 99 } |
100 | 100 |
101 } // namespace content | 101 } // namespace content |
OLD | NEW |