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

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

Issue 11336012: Remove public SocketInputStream and SocketOutputStream clases (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 | « runtime/bin/socket_stream_impl.dart ('k') | tests/standalone/io/stream_pipe_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 c30fc95faab2359a1956e92f9ff1f5fe0e1153f4..3368b5cf84846a5f525ffdddef78ba798f287b0c 100644
--- a/tests/standalone/io/echo_server_stream_test.dart
+++ b/tests/standalone/io/echo_server_stream_test.dart
@@ -39,7 +39,7 @@ class EchoServerGame {
void connectHandler() {
- SocketOutputStream stream = _socket.outputStream;
+ OutputStream stream = _socket.outputStream;
void dataSent() {
InputStream inputStream = _socket.inputStream;
@@ -149,9 +149,8 @@ class EchoServer extends TestingServer {
int offset = 0;
void dataReceived() {
- SocketOutputStream outputStream;
int bytesRead;
- outputStream = connection.outputStream;
+ OutputStream outputStream = connection.outputStream;
bytesRead = inputStream.readInto(buffer, offset, MSGSIZE - offset);
if (bytesRead > 0) {
offset += bytesRead;
« no previous file with comments | « runtime/bin/socket_stream_impl.dart ('k') | tests/standalone/io/stream_pipe_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698