| OLD | NEW |
| 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 "content/test/layout_browsertest.h" | 5 #include "content/test/layout_browsertest.h" |
| 6 | 6 |
| 7 namespace content { | 7 namespace content { |
| 8 | 8 |
| 9 class IndexedDBLayoutTest : public InProcessBrowserLayoutTest { | 9 class IndexedDBLayoutTest : public InProcessBrowserLayoutTest { |
| 10 public: | 10 public: |
| 11 IndexedDBLayoutTest() : InProcessBrowserLayoutTest( | 11 IndexedDBLayoutTest() : InProcessBrowserLayoutTest( |
| 12 FilePath(), FilePath().AppendASCII("storage").AppendASCII("indexeddb")) { | 12 base::FilePath(), |
| 13 base::FilePath().AppendASCII("storage").AppendASCII("indexeddb")) { |
| 13 } | 14 } |
| 14 | 15 |
| 15 void RunLayoutTests(const char* file_names[]) { | 16 void RunLayoutTests(const char* file_names[]) { |
| 16 for (size_t i = 0; file_names[i]; i++) | 17 for (size_t i = 0; file_names[i]; i++) |
| 17 RunLayoutTest(file_names[i]); | 18 RunLayoutTest(file_names[i]); |
| 18 } | 19 } |
| 19 }; | 20 }; |
| 20 | 21 |
| 21 namespace { | 22 namespace { |
| 22 | 23 |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 | 133 |
| 133 IN_PROC_BROWSER_TEST_F(IndexedDBLayoutTest, IntVersionTests) { | 134 IN_PROC_BROWSER_TEST_F(IndexedDBLayoutTest, IntVersionTests) { |
| 134 RunLayoutTests(kIntVersionTests); | 135 RunLayoutTests(kIntVersionTests); |
| 135 } | 136 } |
| 136 | 137 |
| 137 IN_PROC_BROWSER_TEST_F(IndexedDBLayoutTest, RegressionTests) { | 138 IN_PROC_BROWSER_TEST_F(IndexedDBLayoutTest, RegressionTests) { |
| 138 RunLayoutTests(kRegressionTests); | 139 RunLayoutTests(kRegressionTests); |
| 139 } | 140 } |
| 140 | 141 |
| 141 } // namespace content | 142 } // namespace content |
| OLD | NEW |