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

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

Issue 11788017: Add missing import in test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 library WebDBTest; 1 library WebDBTest;
2 import '../../pkg/unittest/lib/unittest.dart'; 2 import '../../pkg/unittest/lib/unittest.dart';
3 import '../../pkg/unittest/lib/html_config.dart'; 3 import '../../pkg/unittest/lib/html_config.dart';
4 import 'dart:async';
4 import 'dart:html'; 5 import 'dart:html';
5 6
6 void fail(message) { 7 void fail(message) {
7 guardAsync(() { 8 guardAsync(() {
8 expect(false, isTrue, reason: message); 9 expect(false, isTrue, reason: message);
9 }); 10 });
10 } 11 }
11 12
12 Future<SqlTransaction> createTransaction(Database db) { 13 Future<SqlTransaction> createTransaction(Database db) {
13 final completer = new Completer<SqlTransaction>(); 14 final completer = new Completer<SqlTransaction>();
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 expect(resultSet.rows.length, 1); 108 expect(resultSet.rows.length, 1);
108 var row = resultSet.rows.item(0); 109 var row = resultSet.rows.item(0);
109 expect(row.containsKey(columnName), isTrue); 110 expect(row.containsKey(columnName), isTrue);
110 expect(row[columnName], 'Some text data'); 111 expect(row[columnName], 'Some text data');
111 }); 112 });
112 })) 113 }))
113 .then(dropTable(tableName)) 114 .then(dropTable(tableName))
114 .then(expectAsync1((tx) {})); 115 .then(expectAsync1((tx) {}));
115 }); 116 });
116 } 117 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698