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

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

Issue 11301046: Restructure pkg/unittest and pkg/webdriver to follow the pub conventions. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month 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
« no previous file with comments | « tests/html/indexeddb_2_test.dart ('k') | tests/html/indexeddb_4_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #library('IndexedDB3Test'); 1 library IndexedDB3Test;
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 5
6 // Read with cursor. 6 // Read with cursor.
7 7
8 const String DB_NAME = 'Test'; 8 const String DB_NAME = 'Test';
9 const String STORE_NAME = 'TEST'; 9 const String STORE_NAME = 'TEST';
10 const int VERSION = 1; 10 const int VERSION = 1;
11 11
12 class Test { 12 class Test {
13 fail(message) => (e) { 13 fail(message) => (e) {
14 guardAsync(() { 14 guardAsync(() {
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 } 140 }
141 141
142 main() { 142 main() {
143 useHtmlConfiguration(); 143 useHtmlConfiguration();
144 144
145 var test_ = new Test(); 145 var test_ = new Test();
146 test('prepare', test_.setupDb); 146 test('prepare', test_.setupDb);
147 test('readAll1', test_.readAllViaCursor); 147 test('readAll1', test_.readAllViaCursor);
148 test('readAll2', test_.readAllReversedViaCursor); 148 test('readAll2', test_.readAllReversedViaCursor);
149 } 149 }
OLDNEW
« no previous file with comments | « tests/html/indexeddb_2_test.dart ('k') | tests/html/indexeddb_4_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698