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

Unified Diff: tests/standalone/src/TimerRepeatTest.dart

Issue 8992007: Make the repeating argument to timers optional. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed comments. Created 9 years 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/TimerCancelTest.dart ('k') | tests/standalone/src/TimerTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/src/TimerRepeatTest.dart
diff --git a/tests/standalone/src/TimerRepeatTest.dart b/tests/standalone/src/TimerRepeatTest.dart
index ce68d27b1538cdb97458924896b789c09892e8d3..4211c55e4c37c97bf4f5a1c88b64110ea1bc7597 100644
--- a/tests/standalone/src/TimerRepeatTest.dart
+++ b/tests/standalone/src/TimerRepeatTest.dart
@@ -22,7 +22,7 @@ class TimerRepeatTest {
_iteration = 0;
_startTime = (new Date.now()).value;
- timer = new Timer(timeoutHandler, _TIMEOUT, true);
+ timer = new Timer.repeating(timeoutHandler, _TIMEOUT);
}
static void testMain() {
« no previous file with comments | « tests/standalone/src/TimerCancelTest.dart ('k') | tests/standalone/src/TimerTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698