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

Unified Diff: lib/src/runner/load_suite.dart

Issue 2091173002: Add metadata to messages emitted by live tests. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 4 years, 6 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/runner/engine.dart ('k') | lib/src/runner/remote_listener.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/runner/load_suite.dart
diff --git a/lib/src/runner/load_suite.dart b/lib/src/runner/load_suite.dart
index 97a2ba40bd45a5c1d89ac00e371399708c835d7d..242c6324db88cd2b088a65e5b1db957579d1b710 100644
--- a/lib/src/runner/load_suite.dart
+++ b/lib/src/runner/load_suite.dart
@@ -156,7 +156,7 @@ class LoadSuite extends Suite implements RunnerSuite {
/// through the return value.
Future<RunnerSuite> getSuite() async {
var liveTest = await test.load(this);
- liveTest.onPrint.listen(print);
+ liveTest.onMessage.listen((message) => print(message.text));
await liveTest.run();
if (liveTest.errors.isEmpty) return await suite;
« no previous file with comments | « lib/src/runner/engine.dart ('k') | lib/src/runner/remote_listener.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698