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 class IndexedDBLayoutTest : public InProcessBrowserLayoutTest { | 7 class IndexedDBLayoutTest : public InProcessBrowserLayoutTest { |
8 public: | 8 public: |
9 IndexedDBLayoutTest() : InProcessBrowserLayoutTest( | 9 IndexedDBLayoutTest() : InProcessBrowserLayoutTest( |
10 FilePath(), FilePath().AppendASCII("storage").AppendASCII("indexeddb")) { | 10 FilePath(), FilePath().AppendASCII("storage").AppendASCII("indexeddb")) { |
(...skipping 16 matching lines...) Expand all Loading... |
27 "factory-basics.html", | 27 "factory-basics.html", |
28 "index-basics.html", | 28 "index-basics.html", |
29 "objectstore-basics.html", | 29 "objectstore-basics.html", |
30 NULL | 30 NULL |
31 }; | 31 }; |
32 | 32 |
33 static const char* kComplexTests[] = { | 33 static const char* kComplexTests[] = { |
34 "prefetch-bugfix-108071.html", | 34 "prefetch-bugfix-108071.html", |
35 // Flaky: http://crbug.com/123685 | 35 // Flaky: http://crbug.com/123685 |
36 // "pending-version-change-stuck-works-with-terminate.html", | 36 // "pending-version-change-stuck-works-with-terminate.html", |
| 37 "pending-version-change-on-exit.html", |
37 NULL | 38 NULL |
38 }; | 39 }; |
39 | 40 |
40 static const char* kIndexTests[] = { | 41 static const char* kIndexTests[] = { |
41 "deleteIndex.html", | 42 "deleteIndex.html", |
42 // Flaky: http://crbug.com/123685 | 43 // Flaky: http://crbug.com/123685 |
43 // "index-basics-workers.html", | 44 // "index-basics-workers.html", |
44 "index-count.html", | 45 "index-count.html", |
45 "index-cursor.html", // Locally takes ~6s compared to <1 for the others. | 46 "index-cursor.html", // Locally takes ~6s compared to <1 for the others. |
46 "index-get-key-argument-required.html", | 47 "index-get-key-argument-required.html", |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 RunLayoutTests(kTransactionTests); | 125 RunLayoutTests(kTransactionTests); |
125 } | 126 } |
126 | 127 |
127 IN_PROC_BROWSER_TEST_F(IndexedDBLayoutTest, IntVersionTests) { | 128 IN_PROC_BROWSER_TEST_F(IndexedDBLayoutTest, IntVersionTests) { |
128 RunLayoutTests(kIntVersionTests); | 129 RunLayoutTests(kIntVersionTests); |
129 } | 130 } |
130 | 131 |
131 IN_PROC_BROWSER_TEST_F(IndexedDBLayoutTest, RegressionTests) { | 132 IN_PROC_BROWSER_TEST_F(IndexedDBLayoutTest, RegressionTests) { |
132 RunLayoutTests(kRegressionTests); | 133 RunLayoutTests(kRegressionTests); |
133 } | 134 } |
OLD | NEW |