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

Unified Diff: tests/standalone/io/http_shutdown_test.dart

Issue 12793003: Rename Timer.repeating to Timer.periodic. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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
Index: tests/standalone/io/http_shutdown_test.dart
diff --git a/tests/standalone/io/http_shutdown_test.dart b/tests/standalone/io/http_shutdown_test.dart
index c24fc2ed2603825192295fc7ff9bb4f4c858cdef..6c3612a8b53b69c90d1c1d5c69a92af1fb635ffa 100644
--- a/tests/standalone/io/http_shutdown_test.dart
+++ b/tests/standalone/io/http_shutdown_test.dart
@@ -120,7 +120,7 @@ void test4() {
server.listen((var request) {
request.listen((_) {}, onDone: () {
- new Timer.repeating(new Duration(milliseconds: 100), (timer) {
+ new Timer.periodic(new Duration(milliseconds: 100), (timer) {
if (server.connectionsInfo().total == 0) {
server.close();
timer.cancel();
@@ -175,7 +175,7 @@ void test5(int totalConnections) {
.catchError((e) { }, test: (e) => e is HttpParserException);
}
bool clientClosed = false;
- new Timer.repeating(new Duration(milliseconds: 100), (timer) {
+ new Timer.periodic(new Duration(milliseconds: 100), (timer) {
if (!clientClosed) {
if (server.connectionsInfo().total == totalConnections) {
clientClosed = true;

Powered by Google App Engine
This is Rietveld 408576698