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

Unified Diff: tests/standalone/io/socket_many_connections_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/socket_close_test.dart ('k') | tests/standalone/io/socket_stream_close_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/socket_many_connections_test.dart
diff --git a/tests/standalone/io/socket_many_connections_test.dart b/tests/standalone/io/socket_many_connections_test.dart
index e903b9c35c83019ee5cb6a215afdcc8530bcb11a..fd60d1d7302b2124767c7a87b4f2b95aa1943865 100644
--- a/tests/standalone/io/socket_many_connections_test.dart
+++ b/tests/standalone/io/socket_many_connections_test.dart
@@ -18,7 +18,7 @@ class SocketManyConnectionsTest {
_connections = 0,
_sockets = new List<Socket>(CONNECTIONS) {
_sendPort = spawnFunction(startTestServer);
- start();
+ initialize();
}
void run() {
@@ -43,7 +43,7 @@ class SocketManyConnectionsTest {
}
}
- void start() {
+ void initialize() {
_receivePort.receive((var message, SendPort replyTo) {
_port = message;
run();
« no previous file with comments | « tests/standalone/io/socket_close_test.dart ('k') | tests/standalone/io/socket_stream_close_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698