Index: content/browser/in_process_webkit/indexed_db_layout_browsertest.cc |
diff --git a/content/browser/in_process_webkit/indexed_db_layout_browsertest.cc b/content/browser/in_process_webkit/indexed_db_layout_browsertest.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..73c9834e6465c8c28167c10f31df6c7b8cb89fdf |
--- /dev/null |
+++ b/content/browser/in_process_webkit/indexed_db_layout_browsertest.cc |
@@ -0,0 +1,37 @@ |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "base/file_path.h" |
+#include "content/test/layout_browsertest.h" |
+ |
+class IndexedDBLayoutTest : public InProcessBrowserLayoutTest { |
+ public: |
+ IndexedDBLayoutTest() : InProcessBrowserLayoutTest( |
+ FilePath().AppendASCII("storage").AppendASCII("indexeddb")) { |
+ } |
+ virtual void SetUpInProcessBrowserTestFixture() OVERRIDE { |
+ InProcessBrowserLayoutTest::SetUpInProcessBrowserTestFixture(); |
+ AddResourceForLayoutTest( |
+ FilePath().AppendASCII("fast").AppendASCII("js"), |
+ FilePath().AppendASCII("resources")); |
+ } |
+}; |
+ |
+namespace { |
+ |
+static const char* kLayoutTestFileNames[] = { |
+ "basics.html", |
+ "basics-shared-workers.html", |
+ "basics-workers.html", |
+ "index-basics.html", |
+ "objectstore-basics.html", |
+ "prefetch-bugfix-108071.html", |
+}; |
+ |
+} |
+ |
+IN_PROC_BROWSER_TEST_F(IndexedDBLayoutTest, FirstTest) { |
+ for (size_t i = 0; i < arraysize(kLayoutTestFileNames); ++i) |
+ RunLayoutTest(kLayoutTestFileNames[i]); |
+} |