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

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

Issue 9500002: Rename blahHandler to onBlah throughout dart:io. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. 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 | « samples/total/server/TotalRunner.dart ('k') | tests/standalone/src/DartStdIOPipeTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/src/ChunkedStreamTest.dart
diff --git a/tests/standalone/src/ChunkedStreamTest.dart b/tests/standalone/src/ChunkedStreamTest.dart
index 67393db1b6af7f2f429da51e690ae0f492a271f7..92e8289b2d475daf20d20624e9eb1380f5b35e35 100644
--- a/tests/standalone/src/ChunkedStreamTest.dart
+++ b/tests/standalone/src/ChunkedStreamTest.dart
@@ -38,8 +38,8 @@ void test1() {
testDone(byteCount);
}
- stream.dataHandler = chunkData;
- stream.closeHandler = closeHandler;
+ stream.onData = chunkData;
+ stream.onClosed = closeHandler;
stream.chunkSize = chunkSize;
}
@@ -124,8 +124,8 @@ void test2() {
Expect.equals(5, stage);
}
- stream.dataHandler = chunkData;
- stream.closeHandler = streamClosed;
+ stream.onData = chunkData;
+ stream.onClosed = streamClosed;
s.write([0, 1, 2, 3]); // 4 bytes written to stream.
Expect.equals(0, stage);
s.write([4, 5, 6]); // 7 bytes written to stream.
« no previous file with comments | « samples/total/server/TotalRunner.dart ('k') | tests/standalone/src/DartStdIOPipeTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698