OLD | NEW |
(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/test/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 |
| 34 IN_PROC_BROWSER_TEST_F(IndexedDBLayoutTest, FirstTest) { |
| 35 for (size_t i = 0; i < arraysize(kLayoutTestFileNames); ++i) |
| 36 RunLayoutTest(kLayoutTestFileNames[i]); |
| 37 } |
OLD | NEW |