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

Side by Side Diff: content/browser/in_process_webkit/indexed_db_layout_browsertest.cc

Issue 9802025: Rewrite HTML5 workers ui_tests to browser_tests. Compared to ui_tests, browser_tests are faster, le… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync to revision with blank line at end of worker-utils.js to see if this patches on bots Created 8 years, 8 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 | « chrome/test/data/workers/worker_utils.js ('k') | content/browser/worker_host/test/OWNERS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "base/file_path.h" 5 #include "base/file_path.h"
6 #include "content/test/layout_browsertest.h" 6 #include "content/test/layout_browsertest.h"
7 7
8 class IndexedDBLayoutTest : public InProcessBrowserLayoutTest { 8 class IndexedDBLayoutTest : public InProcessBrowserLayoutTest {
9 public: 9 public:
10 IndexedDBLayoutTest() : InProcessBrowserLayoutTest( 10 IndexedDBLayoutTest() : InProcessBrowserLayoutTest(
11 FilePath().AppendASCII("storage").AppendASCII("indexeddb")) { 11 FilePath(), FilePath().AppendASCII("storage").AppendASCII("indexeddb")) {
12 } 12 }
13 virtual void SetUpInProcessBrowserTestFixture() OVERRIDE { 13 virtual void SetUpInProcessBrowserTestFixture() OVERRIDE {
14 InProcessBrowserLayoutTest::SetUpInProcessBrowserTestFixture(); 14 InProcessBrowserLayoutTest::SetUpInProcessBrowserTestFixture();
15 AddResourceForLayoutTest( 15 AddResourceForLayoutTest(
16 FilePath().AppendASCII("fast").AppendASCII("js"), 16 FilePath().AppendASCII("fast").AppendASCII("js"),
17 FilePath().AppendASCII("resources")); 17 FilePath().AppendASCII("resources"));
18 } 18 }
19 }; 19 };
20 20
21 namespace { 21 namespace {
22 22
23 static const char* kLayoutTestFileNames[] = { 23 static const char* kLayoutTestFileNames[] = {
24 "basics.html", 24 "basics.html",
25 "basics-shared-workers.html", 25 "basics-shared-workers.html",
26 "basics-workers.html", 26 "basics-workers.html",
27 "index-basics.html", 27 "index-basics.html",
28 "objectstore-basics.html", 28 "objectstore-basics.html",
29 "prefetch-bugfix-108071.html", 29 "prefetch-bugfix-108071.html",
30 }; 30 };
31 31
32 } 32 }
33 33
34 IN_PROC_BROWSER_TEST_F(IndexedDBLayoutTest, FirstTest) { 34 IN_PROC_BROWSER_TEST_F(IndexedDBLayoutTest, FirstTest) {
35 for (size_t i = 0; i < arraysize(kLayoutTestFileNames); ++i) 35 for (size_t i = 0; i < arraysize(kLayoutTestFileNames); ++i)
36 RunLayoutTest(kLayoutTestFileNames[i]); 36 RunLayoutTest(kLayoutTestFileNames[i]);
37 } 37 }
OLDNEW
« no previous file with comments | « chrome/test/data/workers/worker_utils.js ('k') | content/browser/worker_host/test/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698