OLD | NEW |
1 library IndexedDB4Test; | 1 library IndexedDB4Test; |
2 import '../../pkg/unittest/lib/unittest.dart'; | 2 import 'package:unittest/unittest.dart'; |
3 import '../../pkg/unittest/lib/html_config.dart'; | 3 import 'package:unittest/html_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:indexed_db'; | 6 import 'dart:indexed_db'; |
7 | 7 |
8 // Test for KeyRange and Cursor. | 8 // Test for KeyRange and Cursor. |
9 | 9 |
10 const String DB_NAME = 'Test4'; | 10 const String DB_NAME = 'Test4'; |
11 const String STORE_NAME = 'TEST'; | 11 const String STORE_NAME = 'TEST'; |
12 const int VERSION = 1; | 12 const int VERSION = 1; |
13 | 13 |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 | 122 |
123 bound4() => | 123 bound4() => |
124 // OPTIONALS testRange(db, new KeyRange.bound(20, 30, lowerOpen: true), | 124 // OPTIONALS testRange(db, new KeyRange.bound(20, 30, lowerOpen: true), |
125 testRange(db, new KeyRange.bound(20, 30, true), 21, 30); | 125 testRange(db, new KeyRange.bound(20, 30, true), 21, 30); |
126 | 126 |
127 bound5() => | 127 bound5() => |
128 // OPTIONALS testRange(db, new KeyRange.bound(20, 30, lowerOpen: true, u
pperOpen: true), | 128 // OPTIONALS testRange(db, new KeyRange.bound(20, 30, lowerOpen: true, u
pperOpen: true), |
129 testRange(db, new KeyRange.bound(20, 30, true, true), 21, 29); | 129 testRange(db, new KeyRange.bound(20, 30, true, true), 21, 29); |
130 } | 130 } |
131 } | 131 } |
OLD | NEW |