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

Unified Diff: tests/standalone/io/testing_server.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/stream_pipe_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/testing_server.dart
diff --git a/tests/standalone/io/testing_server.dart b/tests/standalone/io/testing_server.dart
index 6ff5fc38ccdf54d7b518b955f04e6109d57cabc4..22356df153ad5aa5ed0195f0732a05ded1082db1 100644
--- a/tests/standalone/io/testing_server.dart
+++ b/tests/standalone/io/testing_server.dart
@@ -35,12 +35,12 @@ class TestingServerTest {
TestingServerTest.start(SendPort port)
: _receivePort = new ReceivePort(),
_sendPort = port {
- start();
+ initialize();
}
abstract void run();
- void start() {
+ void initialize() {
_receivePort.receive((var message, SendPort replyTo) {
_port = message;
run();
« no previous file with comments | « tests/standalone/io/stream_pipe_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698