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

Side by Side Diff: tests/html/indexeddb_2_test.dart

Issue 10871071: - Change "static final" to "static const" in the tests/ directory. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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('../../pkg/unittest/unittest.dart'); 2 #import('../../pkg/unittest/unittest.dart');
3 #import('../../pkg/unittest/html_config.dart'); 3 #import('../../pkg/unittest/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 final String DB_NAME = 'Test'; 10 const String DB_NAME = 'Test';
11 final String STORE_NAME = 'TEST'; 11 const String STORE_NAME = 'TEST';
12 final String VERSION = '1'; 12 const String VERSION = '1';
13 13
14 testReadWrite(key, value, check, 14 testReadWrite(key, value, check,
15 [dbName = DB_NAME, 15 [dbName = DB_NAME,
16 storeName = STORE_NAME, 16 storeName = STORE_NAME,
17 version = VERSION]) => () { 17 version = VERSION]) => () {
18 var db; 18 var db;
19 19
20 fail(e) { 20 fail(e) {
21 guardAsync(() { 21 guardAsync(() {
22 Expect.fail('IndexedDB failure'); 22 Expect.fail('IndexedDB failure');
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 test('test_DAG', testReadWrite(123, obj2, verifyGraph)); 91 test('test_DAG', testReadWrite(123, obj2, verifyGraph));
92 test('test_cycle', testReadWrite(123, obj3, verifyGraph)); 92 test('test_cycle', testReadWrite(123, obj3, verifyGraph));
93 test('test_simple_splay', testReadWrite(123, obj4, verifyGraph)); 93 test('test_simple_splay', testReadWrite(123, obj4, verifyGraph));
94 } 94 }
95 95
96 main() { 96 main() {
97 useHtmlConfiguration(); 97 useHtmlConfiguration();
98 98
99 tests_dynamic(); 99 tests_dynamic();
100 } 100 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698