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

Unified Diff: tests/standalone/src/TimerTest.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/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/TimerTest.dart
diff --git a/tests/standalone/src/TimerTest.dart b/tests/standalone/src/TimerTest.dart
index 8b0c55467ea1bde664e224279aa2ae190ad5e28b..53ca27bdfb0dcba3de51d14102c85dd1cd2a564e 100644
--- a/tests/standalone/src/TimerTest.dart
+++ b/tests/standalone/src/TimerTest.dart
@@ -17,14 +17,14 @@ class TimerTest {
_iteration++;
_timeout = _timeout - _DECREASE;
_startTime = (new Date.now()).value;
- new Timer(timeoutHandler, _timeout, false);
+ new Timer(timeoutHandler, _timeout);
}
}
_iteration = 0;
_timeout = _STARTTIMEOUT;
_startTime = (new Date.now()).value;
- new Timer(timeoutHandler, _timeout, false);
+ new Timer(timeoutHandler, _timeout);
}
static void testMain() {
« no previous file with comments | « tests/standalone/src/TimerRepeatTest.dart ('k') | tools/testing/dart/test_runner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698