Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(899)

Unified Diff: tests/html/indexeddb_4_test.dart

Issue 23480034: Test changes accompanying Dartium indexed DB fixes (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/html/html.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/indexeddb_4_test.dart
diff --git a/tests/html/indexeddb_4_test.dart b/tests/html/indexeddb_4_test.dart
index 06a4a0bf7034e90ac33adf2b148f8023719ed554..76e264e32d8cbdf7f6df3bcf8c2b915486b1950f 100644
--- a/tests/html/indexeddb_4_test.dart
+++ b/tests/html/indexeddb_4_test.dart
@@ -81,14 +81,13 @@ main() {
// Support is tested in indexeddb_1_test
if (IdbFactory.supported) {
var db;
- test('prepare', () {
- return setupDb().then((result) {
- db = result;
- });
+ setUp(() {
+ if (db == null) {
+ return setupDb().then((result) {
+ db = result;
+ });
+ }
});
-
- test('only1', () => testRange(db, new KeyRange.only(55), 55, 55));
-
test('only1', () => testRange(db, new KeyRange.only(55), 55, 55));
test('only2', () => testRange(db, new KeyRange.only(100), null, null));
test('only3', () => testRange(db, new KeyRange.only(-1), null, null));
« no previous file with comments | « tests/html/html.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698