OLD | NEW |
1 #library('IndexedDB4Test'); | 1 library IndexedDB4Test; |
2 #import('../../pkg/unittest/unittest.dart'); | 2 import '../../pkg/unittest/lib/unittest.dart'; |
3 #import('../../pkg/unittest/html_config.dart'); | 3 import '../../pkg/unittest/lib/html_config.dart'; |
4 #import('dart:html'); | 4 import 'dart:html'; |
5 | 5 |
6 // Test for IDBKeyRange and IDBCursor. | 6 // Test for IDBKeyRange and IDBCursor. |
7 | 7 |
8 const String DB_NAME = 'Test'; | 8 const String DB_NAME = 'Test'; |
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 class Test { | 12 class Test { |
13 fail(message) => (e) { | 13 fail(message) => (e) { |
14 guardAsync(() { | 14 guardAsync(() { |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 test('upper1', test_.upper1); | 171 test('upper1', test_.upper1); |
172 test('upper2', test_.upper2); | 172 test('upper2', test_.upper2); |
173 test('upper3', test_.upper3); | 173 test('upper3', test_.upper3); |
174 | 174 |
175 test('bound1', test_.bound1); | 175 test('bound1', test_.bound1); |
176 test('bound2', test_.bound2); | 176 test('bound2', test_.bound2); |
177 test('bound3', test_.bound3); | 177 test('bound3', test_.bound3); |
178 test('bound4', test_.bound4); | 178 test('bound4', test_.bound4); |
179 test('bound5', test_.bound5); | 179 test('bound5', test_.bound5); |
180 } | 180 } |
OLD | NEW |