OLD | NEW |
1 #library('IndexedDB1Test'); | 1 #library('IndexedDB1Test'); |
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 #import('dart:coreimpl'); | 5 #import('dart:coreimpl'); |
6 #import('utils.dart'); | 6 #import('utils.dart'); |
7 | 7 |
8 // Write and re-read Maps: simple Maps; Maps with DAGs; Maps with cycles. | 8 // Write and re-read Maps: simple Maps; Maps with DAGs; Maps with cycles. |
9 | 9 |
10 const String DB_NAME = 'Test'; | 10 const String DB_NAME = 'Test'; |
11 const String STORE_NAME = 'TEST'; | 11 const String STORE_NAME = 'TEST'; |
12 const String VERSION = '1'; | 12 const String VERSION = '1'; |
13 | 13 |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 go('test_simple', obj1); | 112 go('test_simple', obj1); |
113 go('test_DAG', obj2); | 113 go('test_DAG', obj2); |
114 go('test_cycle', obj3); | 114 go('test_cycle', obj3); |
115 go('test_simple_splay', obj4); | 115 go('test_simple_splay', obj4); |
116 go('const_array_1', const [const [1], const [2]]); | 116 go('const_array_1', const [const [1], const [2]]); |
117 go('const_array_dag', const [const [1], const [1]]); | 117 go('const_array_dag', const [const [1], const [1]]); |
118 go('array_deferred_copy', [1,2,3, obj3, obj3, 6]); | 118 go('array_deferred_copy', [1,2,3, obj3, obj3, 6]); |
119 go('array_deferred_copy_2', [1,2,3, [4, 5, obj3], [obj3, 6]]); | 119 go('array_deferred_copy_2', [1,2,3, [4, 5, obj3], [obj3, 6]]); |
120 go('cyclic_list', cyclic_list); | 120 go('cyclic_list', cyclic_list); |
121 } | 121 } |
OLD | NEW |