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

Unified Diff: lib/src/backend/invoker.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 | « json_reporter.schema.json ('k') | lib/src/backend/live_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/backend/invoker.dart
diff --git a/lib/src/backend/invoker.dart b/lib/src/backend/invoker.dart
index f68172033f68dbe1db31d5483a4f9f2cba1a7846..68b1966abac375b3eba21e13668bf625018f4e18 100644
--- a/lib/src/backend/invoker.dart
+++ b/lib/src/backend/invoker.dart
@@ -6,13 +6,14 @@ import 'dart:async';
import 'package:stack_trace/stack_trace.dart';
-import '../backend/group.dart';
import '../frontend/expect.dart';
import '../runner/load_suite.dart';
import '../utils.dart';
import 'closed_exception.dart';
+import 'group.dart';
import 'live_test.dart';
import 'live_test_controller.dart';
+import 'message.dart';
import 'metadata.dart';
import 'operating_system.dart';
import 'outstanding_callback_counter.dart';
@@ -302,7 +303,8 @@ class Invoker {
_closableKey: true
},
zoneSpecification: new ZoneSpecification(
- print: (self, parent, zone, line) => _controller.print(line)),
+ print: (self, parent, zone, line) =>
+ _controller.message(new Message.print(line))),
onError: _handleError);
});
}
« no previous file with comments | « json_reporter.schema.json ('k') | lib/src/backend/live_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698