Chromium Code Reviews| 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 "base/file_path.h" | 5 #include "base/file_path.h" |
| 6 #include "content/test/layout_browsertest.h" | 6 #include "content/test/layout_browsertest.h" |
| 7 | 7 |
| 8 class IndexedDBLayoutTest : public InProcessBrowserLayoutTest { | 8 class IndexedDBLayoutTest : public InProcessBrowserLayoutTest { |
| 9 public: | 9 public: |
| 10 IndexedDBLayoutTest() : InProcessBrowserLayoutTest( | 10 IndexedDBLayoutTest() : InProcessBrowserLayoutTest( |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 67 "key-sort-order-across-types.html", | 67 "key-sort-order-across-types.html", |
| 68 "key-sort-order-date.html", | 68 "key-sort-order-date.html", |
| 69 "key-type-array.html", | 69 "key-type-array.html", |
| 70 "key-type-infinity.html", | 70 "key-type-infinity.html", |
| 71 "invalid-keys.html", | 71 "invalid-keys.html", |
| 72 NULL | 72 NULL |
| 73 }; | 73 }; |
| 74 | 74 |
| 75 static const char* kTransactionTests[] = { | 75 static const char* kTransactionTests[] = { |
| 76 // "transaction-abort.html", // Flaky, http://crbug.com/83226 | 76 // "transaction-abort.html", // Flaky, http://crbug.com/83226 |
| 77 "transaction-abort-with-js-recursion-cross-frame.html", | 77 // FIXME: Re-enable the following 3 tests after http://webkit.org/b/89379 lands. |
|
jsbell
2012/06/27 20:05:39
These LayoutTests are renamed from transaction-abo
jam
2012/06/27 20:34:16
nit: chrome style is TODO(jsbell)
jsbell
2012/06/27 20:40:35
Done.
// TODO(jsbell): learn how to write pre-su
| |
| 78 "transaction-abort-with-js-recursion.html", | 78 // "transaction-complete-with-js-recursion-cross-frame.html", |
| 79 "transaction-abort-workers.html", | 79 // "transaction-complete-with-js-recursion.html", |
| 80 // "transaction-complete-workers.html", | |
| 80 "transaction-after-close.html", | 81 "transaction-after-close.html", |
| 81 "transaction-and-objectstore-calls.html", | 82 "transaction-and-objectstore-calls.html", |
| 82 "transaction-basics.html", | 83 "transaction-basics.html", |
| 83 "transaction-crash-on-abort.html", | 84 "transaction-crash-on-abort.html", |
| 84 "transaction-event-propagation.html", | 85 "transaction-event-propagation.html", |
| 85 "transaction-read-only.html", | 86 "transaction-read-only.html", |
| 86 "transaction-rollback.html", | 87 "transaction-rollback.html", |
| 87 "transaction-storeNames-required.html", | 88 "transaction-storeNames-required.html", |
| 88 NULL | 89 NULL |
| 89 }; | 90 }; |
| (...skipping 21 matching lines...) Expand all Loading... | |
| 111 RunLayoutTests(kKeyTests); | 112 RunLayoutTests(kKeyTests); |
| 112 } | 113 } |
| 113 | 114 |
| 114 IN_PROC_BROWSER_TEST_F(IndexedDBLayoutTest, TransactionTests) { | 115 IN_PROC_BROWSER_TEST_F(IndexedDBLayoutTest, TransactionTests) { |
| 115 RunLayoutTests(kTransactionTests); | 116 RunLayoutTests(kTransactionTests); |
| 116 } | 117 } |
| 117 | 118 |
| 118 IN_PROC_BROWSER_TEST_F(IndexedDBLayoutTest, RegressionTests) { | 119 IN_PROC_BROWSER_TEST_F(IndexedDBLayoutTest, RegressionTests) { |
| 119 RunLayoutTests(kRegressionTests); | 120 RunLayoutTests(kRegressionTests); |
| 120 } | 121 } |
| OLD | NEW |