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

Unified Diff: lib/src/backend/live_test.dart

Issue 1044953004: Gracefully handle tests that print. (Closed) Base URL: git@github.com:dart-lang/unittest@master
Patch Set: Created 5 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 | « lib/src/backend/invoker.dart ('k') | lib/src/backend/live_test_controller.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/backend/live_test.dart
diff --git a/lib/src/backend/live_test.dart b/lib/src/backend/live_test.dart
index fef0c11edd8b44e2f6ba11864fe0edbd858ecae4..28a2a8d0192748e242abc8f187d607e6996e70df 100644
--- a/lib/src/backend/live_test.dart
+++ b/lib/src/backend/live_test.dart
@@ -79,6 +79,9 @@ abstract class LiveTest {
/// will be [Chain]s.
Stream<AsyncError> get onError;
+ /// A stream that emits lines printed by the test.
+ Stream<String> onPrint;
+
/// A [Future] that completes once the test is complete.
///
/// This will complete after [onStateChange] has fired, and after [onError]
« no previous file with comments | « lib/src/backend/invoker.dart ('k') | lib/src/backend/live_test_controller.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698