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

Unified Diff: lib/src/runner/vm/isolate_listener.dart

Issue 1196413003: Add a LoadSuite class. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 5 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
Index: lib/src/runner/vm/isolate_listener.dart
diff --git a/lib/src/runner/vm/isolate_listener.dart b/lib/src/runner/vm/isolate_listener.dart
index bb3429114df0c00db248799d61feca6916815b18..5b980d0c1c7e8f51328fe1896935e872cce204a0 100644
--- a/lib/src/runner/vm/isolate_listener.dart
+++ b/lib/src/runner/vm/isolate_listener.dart
@@ -75,7 +75,9 @@ class IsolateListener {
try {
await runZoned(() => new Future.sync(main), zoneValues: {
#test.declarer: declarer
- });
+ }, zoneSpecification: new ZoneSpecification(print: (_, __, ___, line) {
+ sendPort.send({"type": "print", "line": line});
+ }));
} catch (error, stackTrace) {
sendPort.send({
"type": "error",

Powered by Google App Engine
This is Rietveld 408576698