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

Unified Diff: tests/standalone/src/io/HttpClientTest.dart

Issue 9622009: Fix HttpClientTest to use onData for reading out the data from the response stream. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/src/io/HttpClientTest.dart
diff --git a/tests/standalone/src/io/HttpClientTest.dart b/tests/standalone/src/io/HttpClientTest.dart
index 773dd8743bc18c6fd15e8b3f0640679f36c2ffdd..897e921256ff9f1f69146ce1b4262d2445b09a29 100644
--- a/tests/standalone/src/io/HttpClientTest.dart
+++ b/tests/standalone/src/io/HttpClientTest.dart
@@ -14,7 +14,7 @@ void testGoogle() {
};
conn.onResponse = (HttpClientResponse response) {
Expect.isTrue(response.statusCode < 500);
- response.inputStream.onClosed = () {
+ response.inputStream.onData = () {
response.inputStream.read();
};
response.inputStream.onClosed = () {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698