OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_path.h" | 5 #include "base/file_path.h" |
6 #include "chrome/test/ui/ui_layout_test.h" | 6 #include "chrome/test/ui/ui_layout_test.h" |
7 | 7 |
8 class AppCacheUITest : public UILayoutTest { | 8 class AppCacheUITest : public UILayoutTest { |
9 protected: | 9 protected: |
10 virtual ~AppCacheUITest() {} | 10 virtual ~AppCacheUITest() {} |
11 }; | 11 }; |
12 | 12 |
| 13 // Flaky: http://crbug.com/54717 |
13 TEST_F(AppCacheUITest, FLAKY_AppCacheLayoutTests) { | 14 TEST_F(AppCacheUITest, FLAKY_AppCacheLayoutTests) { |
14 static const char* kLayoutTestFiles[] = { | 15 static const char* kLayoutTestFiles[] = { |
15 "404-manifest.html", | 16 "404-manifest.html", |
16 "404-resource.html", | 17 "404-resource.html", |
17 "auth.html", | 18 "auth.html", |
18 "cyrillic-uri.html", | 19 "cyrillic-uri.html", |
19 "deferred-events-delete-while-raising.html", | 20 "deferred-events-delete-while-raising.html", |
20 "deferred-events.html", | 21 "deferred-events.html", |
21 "destroyed-frame.html", | 22 "destroyed-frame.html", |
22 "detached-iframe.html", | 23 "detached-iframe.html", |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 | 68 |
68 FilePath appcache_test_dir; | 69 FilePath appcache_test_dir; |
69 appcache_test_dir = appcache_test_dir.AppendASCII("appcache"); | 70 appcache_test_dir = appcache_test_dir.AppendASCII("appcache"); |
70 InitializeForLayoutTest(http_test_dir, appcache_test_dir, kHttpPort); | 71 InitializeForLayoutTest(http_test_dir, appcache_test_dir, kHttpPort); |
71 | 72 |
72 StartHttpServer(new_http_root_dir_); | 73 StartHttpServer(new_http_root_dir_); |
73 for (size_t i = 0; i < arraysize(kLayoutTestFiles); ++i) | 74 for (size_t i = 0; i < arraysize(kLayoutTestFiles); ++i) |
74 RunLayoutTest(kLayoutTestFiles[i], kHttpPort); | 75 RunLayoutTest(kLayoutTestFiles[i], kHttpPort); |
75 StopHttpServer(); | 76 StopHttpServer(); |
76 } | 77 } |
OLD | NEW |