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

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

Issue 9500002: Rename blahHandler to onBlah throughout dart:io. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Revert temporary edit 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
Index: tests/standalone/src/DartStdIOPipeTest.dart
diff --git a/tests/standalone/src/DartStdIOPipeTest.dart b/tests/standalone/src/DartStdIOPipeTest.dart
index 7dc9ba09db1bbc7c18d6aa23b4ebb70ab4c18f31..f07c1f5c5d6873b16d95c1929557229510ca284b 100644
--- a/tests/standalone/src/DartStdIOPipeTest.dart
+++ b/tests/standalone/src/DartStdIOPipeTest.dart
@@ -43,7 +43,7 @@ void test(String shellScript, String dartScript, String type) {
Process process = new Process.start(shellScript, args);
// Wait for the process to exit and then check result.
- process.exitHandler = (exitCode) {
+ process.onExit = (exitCode) {
Expect.equals(0, exitCode);
process.close();
@@ -70,7 +70,7 @@ void test(String shellScript, String dartScript, String type) {
dir.delete(true);
};
- process.errorHandler = (ProcessException error) {
+ process.onError = (ProcessException error) {
Expect.fail(error.toString());
};
}

Powered by Google App Engine
This is Rietveld 408576698