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

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

Issue 10832145: Add a ListOutputStream.onData callback. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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/websocket_impl.dart ('k') | tests/standalone/io/list_output_stream_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/list_input_stream_test.dart
diff --git a/tests/standalone/io/list_input_stream_test.dart b/tests/standalone/io/list_input_stream_test.dart
index b4aa435c6884c14813ef95e603159ef4c209cd53..08e2ea00508ea58a8ad72db9eed3ccc5dff6b268 100644
--- a/tests/standalone/io/list_input_stream_test.dart
+++ b/tests/standalone/io/list_input_stream_test.dart
@@ -105,7 +105,7 @@ void testListInputStreamPipe1() {
ReceivePort donePort = new ReceivePort();
void onClosed() {
- var contents = output.contents();
+ var contents = output.read();
Expect.equals(data.length, contents.length);
donePort.toSendPort().send(null);
}
@@ -135,7 +135,7 @@ void testListInputStreamPipe2() {
}
count++;
} else {
- var contents = output.contents();
+ var contents = output.read();
Expect.equals(data.length * 10, contents.length);
donePort.toSendPort().send(null);
}
« no previous file with comments | « runtime/bin/websocket_impl.dart ('k') | tests/standalone/io/list_output_stream_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698