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

Unified Diff: tests/html/utils.dart

Issue 12159005: Dartifying some IndexedDB APIs. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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/indexeddb_4_test.dart ('k') | tools/dom/idl/dart/dart.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/utils.dart
diff --git a/tests/html/utils.dart b/tests/html/utils.dart
index 9be11b071bb437b136fc86b4dbbc0c7c69c23577..2669fa70029f9930f3aac947ea39df9fe626b15a 100644
--- a/tests/html/utils.dart
+++ b/tests/html/utils.dart
@@ -1,4 +1,5 @@
library TestUtils;
+import 'dart:async';
import '../../pkg/unittest/lib/unittest.dart';
/**
@@ -68,3 +69,9 @@ verifyGraph(expected, actual) {
walk('', expected, actual);
}
+
+void futureTest(spec, Future body()) {
+ test(spec, () {
+ expect(body(), completes);
+ });
+}
« no previous file with comments | « tests/html/indexeddb_4_test.dart ('k') | tools/dom/idl/dart/dart.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698