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

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

Issue 9693065: Run IDB layout test suite as browser tests instead of ui tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: var renames Created 8 years, 9 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "base/file_path.h"
6 #include "content/browser/in_process_webkit/layout_browsertest.h"
7
8 class IndexedDBLayoutTest : public InProcessBrowserLayoutTest {
9 public:
10 IndexedDBLayoutTest() : InProcessBrowserLayoutTest(
11 FilePath().AppendASCII("storage").AppendASCII("indexeddb")) {
12 }
13 virtual void SetUpInProcessBrowserTestFixture() OVERRIDE {
14 InProcessBrowserLayoutTest::SetUpInProcessBrowserTestFixture();
15 AddResourceForLayoutTest(
16 FilePath().AppendASCII("fast").AppendASCII("js"),
17 FilePath().AppendASCII("resources"));
18 }
19 };
20
21 namespace {
22
23 static const char* kLayoutTestFileNames[] = {
24 "basics.html",
25 "basics-shared-workers.html",
26 "basics-workers.html",
27 "index-basics.html",
28 "objectstore-basics.html",
29 "prefetch-bugfix-108071.html",
30 };
31 }
32
33 IN_PROC_BROWSER_TEST_F(IndexedDBLayoutTest, FirstTest) {
34 for (size_t i = 0; i < arraysize(kLayoutTestFileNames); ++i)
35 RunLayoutTest(kLayoutTestFileNames[i]);
36 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698