Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Side by Side Diff: client/tests/client/dom/IndexedDB2Test.dart

Issue 10037027: unittest step2: bye bye to multiple entrypoints for unittest (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #library('IndexedDB1Test'); 1 #library('IndexedDB1Test');
2 #import('../../../../lib/unittest/unittest_dom.dart'); 2 #import('../../../../lib/unittest/unittest.dart');
3 #import('../../../../lib/unittest/dom_config.dart');
3 #import('dart:dom'); 4 #import('dart:dom');
4 #import('dart:coreimpl'); 5 #import('dart:coreimpl');
5 6
6 // Write and re-read Maps: simple Maps; Maps with DAGs; Maps with cycles. 7 // Write and re-read Maps: simple Maps; Maps with DAGs; Maps with cycles.
7 8
8 final String DB_NAME = 'Test'; 9 final String DB_NAME = 'Test';
9 final String STORE_NAME = 'TEST'; 10 final String STORE_NAME = 'TEST';
10 final String VERSION = '1'; 11 final String VERSION = '1';
11 12
12 testReadWrite(key, value, check, 13 testReadWrite(key, value, check,
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 obj4['a'] = 100; 139 obj4['a'] = 100;
139 obj4['b'] = 's'; 140 obj4['b'] = 's';
140 141
141 asyncTest('test_simple', 1, testReadWrite(123, obj1, verifyGraph)); 142 asyncTest('test_simple', 1, testReadWrite(123, obj1, verifyGraph));
142 asyncTest('test_DAG', 1, testReadWrite(123, obj2, verifyGraph)); 143 asyncTest('test_DAG', 1, testReadWrite(123, obj2, verifyGraph));
143 asyncTest('test_cycle', 1, testReadWrite(123, obj3, verifyGraph)); 144 asyncTest('test_cycle', 1, testReadWrite(123, obj3, verifyGraph));
144 asyncTest('test_simple_splay', 1, testReadWrite(123, obj4, verifyGraph)); 145 asyncTest('test_simple_splay', 1, testReadWrite(123, obj4, verifyGraph));
145 } 146 }
146 147
147 main() { 148 main() {
148 forLayoutTests(); 149 useDomConfiguration(isLayoutTest: true);
149 150
150 tests_dynamic(); 151 tests_dynamic();
151 } 152 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698