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

Unified Diff: tests/standalone/src/io/MultipleTimerTest.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 | « samples/socket/SocketExample.dart ('k') | tests/standalone/src/io/SocketCloseTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/src/io/MultipleTimerTest.dart
diff --git a/tests/standalone/src/io/MultipleTimerTest.dart b/tests/standalone/src/io/MultipleTimerTest.dart
index 73060ab4775fbe22a6c5b80a7eeae0b60190e47c..cd5bd4787d7157882807cf9871d6d02b0e1987d9 100644
--- a/tests/standalone/src/io/MultipleTimerTest.dart
+++ b/tests/standalone/src/io/MultipleTimerTest.dart
@@ -1,4 +1,4 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
@@ -49,13 +49,13 @@ class MultipleTimerTest {
_message = 0;
_startTime1 = (new Date.now()).value;
- new Timer(timeoutHandler1, TIMEOUT1);
+ new Timer(TIMEOUT1, timeoutHandler1);
_startTime2 = (new Date.now()).value;
- new Timer(timeoutHandler2, TIMEOUT2);
+ new Timer(TIMEOUT2, timeoutHandler2);
_startTime3 = (new Date.now()).value;
- new Timer(timeoutHandler3, TIMEOUT3);
+ new Timer(TIMEOUT3, timeoutHandler3);
_startTime4 = (new Date.now()).value;
- new Timer(timeoutHandler4, TIMEOUT4);
+ new Timer(TIMEOUT4, timeoutHandler4);
}
static void testMain() {
« no previous file with comments | « samples/socket/SocketExample.dart ('k') | tests/standalone/src/io/SocketCloseTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698