OLD | NEW |
1 library IndexedDB1Test; | 1 library IndexedDB1Test; |
2 import '../../pkg/unittest/lib/unittest.dart'; | 2 import 'package:unittest/unittest.dart'; |
3 import '../../pkg/unittest/lib/html_individual_config.dart'; | 3 import 'package:unittest/html_individual_config.dart'; |
4 import 'dart:async'; | 4 import 'dart:async'; |
5 import 'dart:html' as html; | 5 import 'dart:html' as html; |
6 import 'dart:math' as math; | 6 import 'dart:math' as math; |
7 import 'dart:indexed_db' as idb; | 7 import 'dart:indexed_db' as idb; |
8 | 8 |
9 const String STORE_NAME = 'TEST'; | 9 const String STORE_NAME = 'TEST'; |
10 const int VERSION = 1; | 10 const int VERSION = 1; |
11 | 11 |
12 var databaseNameIndex = 0; | 12 var databaseNameIndex = 0; |
13 String nextDatabaseName() { | 13 String nextDatabaseName() { |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 test('upgrade', testUpgrade); | 170 test('upgrade', testUpgrade); |
171 group('dynamic', () { | 171 group('dynamic', () { |
172 testTypes(testReadWrite); | 172 testTypes(testReadWrite); |
173 }); | 173 }); |
174 group('typed', () { | 174 group('typed', () { |
175 testTypes(testReadWriteTyped); | 175 testTypes(testReadWriteTyped); |
176 }); | 176 }); |
177 } | 177 } |
178 }); | 178 }); |
179 } | 179 } |
OLD | NEW |