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

Unified Diff: tests/standalone/io/echo_server_stream_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 | « no previous file | tests/standalone/io/echo_server_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_stream_test.dart
diff --git a/tests/standalone/io/echo_server_stream_test.dart b/tests/standalone/io/echo_server_stream_test.dart
index 8edcffbf9049a222c31b6d1d1ec1224ac68390a3..505abc42db16e82611e1231f56512f4bf4c59e95 100644
--- a/tests/standalone/io/echo_server_stream_test.dart
+++ b/tests/standalone/io/echo_server_stream_test.dart
@@ -28,7 +28,7 @@ class EchoServerGame {
_buffer[i] = FIRSTCHAR + i;
}
_sendPort = spawnFunction(startEchoServer);
- start();
+ initialize();
}
void sendData() {
@@ -111,7 +111,7 @@ class EchoServerGame {
}
}
- void start() {
+ void initialize() {
_receivePort.receive((var message, SendPort replyTo) {
_port = message;
sendData();
« no previous file with comments | « no previous file | tests/standalone/io/echo_server_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698