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

Unified Diff: tests/standalone/src/io/TimerTest.dart

Issue 9597015: Update Timer API to take the callback as the last parameter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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/standalone/src/io/TimerRepeatTest.dart ('k') | tools/testing/dart/test_runner.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/src/io/TimerTest.dart
diff --git a/tests/standalone/src/io/TimerTest.dart b/tests/standalone/src/io/TimerTest.dart
index aed248ff0a9afd3a1b5221878bfde5f1c66eb40e..44f9673ae3e79ce2fe7292b9e5b4c1abadf8864c 100644
--- a/tests/standalone/src/io/TimerTest.dart
+++ b/tests/standalone/src/io/TimerTest.dart
@@ -19,14 +19,14 @@ class TimerTest {
_iteration++;
_timeout = _timeout - _DECREASE;
_startTime = (new Date.now()).value;
- new Timer(timeoutHandler, _timeout);
+ new Timer(_timeout, timeoutHandler);
}
}
_iteration = 0;
_timeout = _STARTTIMEOUT;
_startTime = (new Date.now()).value;
- new Timer(timeoutHandler, _timeout);
+ new Timer(_timeout, timeoutHandler);
}
static void testMain() {
« no previous file with comments | « tests/standalone/src/io/TimerRepeatTest.dart ('k') | tools/testing/dart/test_runner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698