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_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' as idb; | 6 import 'dart:indexed_db' as idb; |
7 import 'dart:collection'; | 7 import 'dart:collection'; |
8 import 'utils.dart'; | 8 import 'utils.dart'; |
9 | 9 |
10 // Write and re-read Maps: simple Maps; Maps with DAGs; Maps with cycles. | 10 // Write and re-read Maps: simple Maps; Maps with DAGs; Maps with cycles. |
11 | 11 |
12 const String DB_NAME = 'Test2'; | 12 const String DB_NAME = 'Test2'; |
13 const String STORE_NAME = 'TEST'; | 13 const String STORE_NAME = 'TEST'; |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 go('test_cycle', obj3); | 97 go('test_cycle', obj3); |
98 go('test_simple_splay', obj4); | 98 go('test_simple_splay', obj4); |
99 go('const_array_1', const [const [1], const [2]]); | 99 go('const_array_1', const [const [1], const [2]]); |
100 go('const_array_dag', const [const [1], const [1]]); | 100 go('const_array_dag', const [const [1], const [1]]); |
101 go('array_deferred_copy', [1,2,3, obj3, obj3, 6]); | 101 go('array_deferred_copy', [1,2,3, obj3, obj3, 6]); |
102 go('array_deferred_copy_2', [1,2,3, [4, 5, obj3], [obj3, 6]]); | 102 go('array_deferred_copy_2', [1,2,3, [4, 5, obj3], [obj3, 6]]); |
103 go('cyclic_list', cyclic_list); | 103 go('cyclic_list', cyclic_list); |
104 go('non-native lists', nonNativeListData); | 104 go('non-native lists', nonNativeListData); |
105 } | 105 } |
106 } | 106 } |
OLD | NEW |