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

Unified Diff: tests/html/websql_test.dart

Issue 11783009: Big merge from experimental to bleeding edge. (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/html/typed_arrays_5_test.dart ('k') | tests/html/xhr_cross_origin_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/websql_test.dart
diff --git a/tests/html/websql_test.dart b/tests/html/websql_test.dart
index 5bbf6e574998619727f7cd86fb2c7013b1ef24da..a4416ce87c61f472c81be7b8da507ec33e8c558c 100644
--- a/tests/html/websql_test.dart
+++ b/tests/html/websql_test.dart
@@ -99,10 +99,10 @@ main() {
createTransaction(db)
// Attempt to clear out any tables which may be lurking from previous
// runs.
- .chain(dropTable(tableName, true))
- .chain(createTable(tableName, columnName))
- .chain(insert(tableName, columnName, 'Some text data'))
- .chain(queryTable(tableName, (resultSet) {
+ .then(dropTable(tableName, true))
+ .then(createTable(tableName, columnName))
+ .then(insert(tableName, columnName, 'Some text data'))
+ .then(queryTable(tableName, (resultSet) {
guardAsync(() {
expect(resultSet.rows.length, 1);
var row = resultSet.rows.item(0);
@@ -110,7 +110,7 @@ main() {
expect(row[columnName], 'Some text data');
});
}))
- .chain(dropTable(tableName))
+ .then(dropTable(tableName))
.then(expectAsync1((tx) {}));
});
}
« no previous file with comments | « tests/html/typed_arrays_5_test.dart ('k') | tests/html/xhr_cross_origin_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698