| OLD | NEW |
| 1 #library('IndexedDB3Test'); | 1 #library('IndexedDB3Test'); |
| 2 #import('../../../../lib/unittest/unittest.dart'); | 2 #import('../../lib/unittest/unittest.dart'); |
| 3 #import('../../../../lib/unittest/dom_config.dart'); | 3 #import('../../lib/unittest/dom_config.dart'); |
| 4 #import('dart:dom'); | 4 #import('dart:dom'); |
| 5 #import('dart:coreimpl'); | 5 #import('dart:coreimpl'); |
| 6 | 6 |
| 7 // Read with cursor. | 7 // Read with cursor. |
| 8 | 8 |
| 9 final String DB_NAME = 'Test'; | 9 final String DB_NAME = 'Test'; |
| 10 final String STORE_NAME = 'TEST'; | 10 final String STORE_NAME = 'TEST'; |
| 11 final String VERSION = '1'; | 11 final String VERSION = '1'; |
| 12 | 12 |
| 13 class Test { | 13 class Test { |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 } | 110 } |
| 111 | 111 |
| 112 main() { | 112 main() { |
| 113 useDomConfiguration(); | 113 useDomConfiguration(); |
| 114 | 114 |
| 115 var test = new Test(); | 115 var test = new Test(); |
| 116 asyncTest('prepare', 1, test.start); | 116 asyncTest('prepare', 1, test.start); |
| 117 asyncTest('readAll1', 1, test.readAllViaCursor); | 117 asyncTest('readAll1', 1, test.readAllViaCursor); |
| 118 asyncTest('readAll2', 1, test.readAllReversedViaCursor); | 118 asyncTest('readAll2', 1, test.readAllReversedViaCursor); |
| 119 } | 119 } |
| OLD | NEW |