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

Unified Diff: tests/standalone/src/StreamPipeTest.dart

Issue 9568006: Missing handling of default arguments in socket stream readInto (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 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/src/SocketManyConnectionsTest.dart ('k') | tests/standalone/src/TestingServer.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/src/StreamPipeTest.dart
diff --git a/tests/standalone/src/StreamPipeTest.dart b/tests/standalone/src/StreamPipeTest.dart
index f32b2fb65a11b3514c229e9e77a53519d3363655..6c85ab10143ba86a1d47cd2ab9c19267223d9622 100644
--- a/tests/standalone/src/StreamPipeTest.dart
+++ b/tests/standalone/src/StreamPipeTest.dart
@@ -7,7 +7,6 @@
// VMOptions=--short_socket_write
// VMOptions=--short_socket_read --short_socket_write
-#library("StreamPipeTest");
#import("dart:io");
#import("dart:isolate");
#source("TestingServer.dart");
@@ -152,7 +151,7 @@ class PipeServerGame {
// The testing server will simply pipe each connecting sockets input
// stream to its output stream.
class PipeServer extends TestingServer {
- void connectionHandler(Socket connection) {
+ void onConnection(Socket connection) {
connection.onError = () { Expect.fail("Socket error"); };
connection.inputStream.pipe(connection.outputStream);
}
« no previous file with comments | « tests/standalone/src/SocketManyConnectionsTest.dart ('k') | tests/standalone/src/TestingServer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698