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

Unified Diff: tests/html/websql_test.dart

Issue 10869056: SQLResultRowList.item converts row into map. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rebase Created 8 years, 4 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 | « lib/html/dartium/html_dartium.dart ('k') | no next file » | 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 7eff4dfd2b77fb7ad76f11dff062b8fb8dc21db7..8cf2fd2faf3e9f07133f910e469bb5c24f9879f7 100644
--- a/tests/html/websql_test.dart
+++ b/tests/html/websql_test.dart
@@ -105,9 +105,9 @@ main() {
.chain(queryTable(tableName, (resultSet) {
guardAsync(() {
Expect.equals(1, resultSet.rows.length);
-
- // Should validate the rowData contents- need to be able to map the JS
- // object back to regular types.
+ var row = resultSet.rows.item(0);
+ Expect.isTrue(row.containsKey(columnName));
+ Expect.equals('Some text data', row[columnName]);
});
}))
.chain(dropTable(tableName))
« no previous file with comments | « lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698