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

Unified Diff: pkg/unittest/lib/unittest.dart

Issue 275013002: pkg/unittest: reverting part of r35954 due to usage in Webkit layout tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/unittest/lib/unittest.dart
diff --git a/pkg/unittest/lib/unittest.dart b/pkg/unittest/lib/unittest.dart
index 05eca70f9fcc558fda37b68ee17d2ea35d2c2d3b..e538dd5c76d8d4c290b69608ecb293658196623c 100644
--- a/pkg/unittest/lib/unittest.dart
+++ b/pkg/unittest/lib/unittest.dart
@@ -301,6 +301,22 @@ Function expectAsync(Function callback,
{int count: 1, int max: 0, String id}) =>
new _SpreadArgsHelper(callback, count, max, id).func;
+/// *Deprecated*
+///
+/// Use [expectAsync] instead.
+@deprecated
+Function expectAsync0(Function callback,
+ {int count: 1, int max: 0, String id}) =>
+ expectAsync(callback, count: count, max: max, id: id);
+
+/// *Deprecated*
+///
+/// Use [expectAsync] instead.
+@deprecated
+Function expectAsync1(Function callback,
+ {int count: 1, int max: 0, String id}) =>
+ expectAsync(callback, count: count, max: max, id: id);
+
/// Indicate that [callback] is expected to be called until [isDone] returns
/// true. The unittest framework check [isDone] after each callback and only
/// when it returns true will it continue with the following test. Using
« 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