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

Side by Side Diff: chrome/browser/appcache/appcache_ui_test.cc

Issue 2879003: Run appcache layout tests in chrome using the ui test harness. ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « DEPS ('k') | chrome/chrome_tests.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "base/file_path.h"
6 #include "chrome/test/ui/ui_layout_test.h"
7
8 class AppCacheUITest : public UILayoutTest {
9 protected:
10 virtual ~AppCacheUITest() {}
11 };
12
13 TEST_F(AppCacheUITest, FLAKY_AppCacheLayoutTests) {
14 static const char* kLayoutTestFiles[] = {
15 "404-manifest.html",
16 "404-resource.html",
17 "auth.html",
18 "cyrillic-uri.html",
19 "deferred-events-delete-while-raising.html",
20 "deferred-events.html",
21 "destroyed-frame.html",
22 "detached-iframe.html",
23 "different-origin-manifest.html",
24 "different-scheme.html",
25 "empty-manifest.html",
26 "fallback.html",
27 "foreign-iframe-main.html",
28 "main-resource-hash.html",
29 "manifest-containing-itself.html",
30 "manifest-parsing.html",
31 "manifest-redirect-2.html",
32 "manifest-redirect.html",
33 "manifest-with-empty-file.html",
34 "navigating-away-while-cache-attempt-in-progress.html",
35 "offline-access.html",
36 "online-whitelist.html",
37 "reload.html",
38 "remove-cache.html",
39 "resource-redirect-2.html",
40 "resource-redirect.html",
41 "simple.html",
42 "top-frame-1.html",
43 "top-frame-2.html",
44 "top-frame-3.html",
45 "top-frame-4.html",
46 "whitelist-wildcard.html",
47 "wrong-content-type.html",
48 "wrong-signature-2.html",
49 "wrong-signature.html",
50 "xhr-foreign-resource.html",
51
52 // TOOD(michaeln): investigate these more closely
53 // "crash-when-navigating-away-then-back.html",
54 // "credential-url.html",
55 // "different-https-origin-resource-main.html",
56 // "fail-on-update.html",
57 // "idempotent-update.html", not sure this is a valid test
58 // "local-content.html",
59 // "max-size.html", we use a different quota scheme
60 // "update-cache.html", bug 38006
61 };
62
63 FilePath http_test_dir;
64 http_test_dir = http_test_dir.AppendASCII("http");
65 http_test_dir = http_test_dir.AppendASCII("tests");
66
67 FilePath appcache_test_dir;
68 appcache_test_dir = appcache_test_dir.AppendASCII("appcache");
69 InitializeForLayoutTest(http_test_dir, appcache_test_dir, kHttpPort);
70
71 StartHttpServer(new_http_root_dir_);
72 for (size_t i = 0; i < arraysize(kLayoutTestFiles); ++i)
73 RunLayoutTest(kLayoutTestFiles[i], kHttpPort);
74 StopHttpServer();
75 }
OLDNEW
« no previous file with comments | « DEPS ('k') | chrome/chrome_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698