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

Unified Diff: tests/html/dromaeo_smoke_test.dart

Issue 12213092: Rework Timer interface. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. 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/compiler/dart2js_extra/timer_test.dart ('k') | tests/isolate/multiple_timer_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/dromaeo_smoke_test.dart
diff --git a/tests/html/dromaeo_smoke_test.dart b/tests/html/dromaeo_smoke_test.dart
index 946ddbc5b8146b3e8a53942496a6492766288ca1..686fe85b43759ce1191d98338c9fffa0d2ac12e2 100644
--- a/tests/html/dromaeo_smoke_test.dart
+++ b/tests/html/dromaeo_smoke_test.dart
@@ -45,7 +45,8 @@ void main() {
originalTest.main();
test('dromaeo runs', () {
- new Timer.repeating(500, expectAsyncUntil1((timer) {
+ new Timer.repeating(new Duration(milliseconds: 500),
+ expectAsyncUntil1((timer) {
if (document.query('.alldone') != null) {
timer.cancel();
isDone = true;
« no previous file with comments | « tests/compiler/dart2js_extra/timer_test.dart ('k') | tests/isolate/multiple_timer_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698