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

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

Issue 11094022: Fix shadowing in tests. Constructor and method are not allowed to have (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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/standalone/io/echo_server_stream_test.dart ('k') | tests/standalone/io/socket_close_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/echo_server_test.dart
diff --git a/tests/standalone/io/echo_server_test.dart b/tests/standalone/io/echo_server_test.dart
index 23e95ffa55753f6dc81e43e26fe2e8c42e3abd43..9850225f6fd796ccb919a23c68b36f2705b4a766 100644
--- a/tests/standalone/io/echo_server_test.dart
+++ b/tests/standalone/io/echo_server_test.dart
@@ -36,7 +36,7 @@ class EchoServerGame {
_buffer[i] = FIRSTCHAR + i;
}
_sendPort = spawnFunction(startEchoServer);
- start();
+ initialize();
}
void sendData() {
@@ -107,7 +107,7 @@ class EchoServerGame {
}
}
- void start() {
+ void initialize() {
_receivePort.receive((var message, SendPort replyTo) {
_port = message;
sendData();
« no previous file with comments | « tests/standalone/io/echo_server_stream_test.dart ('k') | tests/standalone/io/socket_close_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698