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

Unified Diff: pkg/scheduled_test/lib/src/utils.dart

Issue 14593010: Log verbose output when testing pub. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 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 | « pkg/scheduled_test/lib/scheduled_process.dart ('k') | sdk/lib/_internal/pub/lib/src/io.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/scheduled_test/lib/src/utils.dart
diff --git a/pkg/scheduled_test/lib/src/utils.dart b/pkg/scheduled_test/lib/src/utils.dart
index 77de0fba4f5187c9f4c47887ffb780d19a7aa7ef..d686ef99022b511ccc980c5c9ff718e63471b8d7 100644
--- a/pkg/scheduled_test/lib/src/utils.dart
+++ b/pkg/scheduled_test/lib/src/utils.dart
@@ -133,7 +133,7 @@ Pair<Stream, StreamCanceller> streamWithCanceller(Stream stream) {
var subscription = stream.listen((value) {
if (!controller.isClosed) controller.add(value);
}, onError: (error) {
- if (!controller.isClosed) controller.signalError(error);
+ if (!controller.isClosed) controller.addError(error);
}, onDone: controller.close);
return new Pair<Stream, StreamCanceller>(controllerStream, controller.close);
}
@@ -149,8 +149,8 @@ Pair<Stream, Stream> tee(Stream stream) {
controller1.add(value);
controller2.add(value);
}, onError: (error) {
- controller1.signalError(error);
- controller2.signalError(error);
+ controller1.addError(error);
+ controller2.addError(error);
}, onDone: () {
controller1.close();
controller2.close();
« no previous file with comments | « pkg/scheduled_test/lib/scheduled_process.dart ('k') | sdk/lib/_internal/pub/lib/src/io.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698