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

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

Issue 2066113002: Add location information to the JSON reporter. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: cr 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/plugin/platform_helpers.dart ('k') | lib/src/runner/reporter/json.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/runner/remote_listener.dart
diff --git a/lib/src/runner/remote_listener.dart b/lib/src/runner/remote_listener.dart
index a041ccd35eb668d4c45f48eec3785d085746b496..b368783210aec0182e90a7b0697c58ea9bbf44e8 100644
--- a/lib/src/runner/remote_listener.dart
+++ b/lib/src/runner/remote_listener.dart
@@ -125,6 +125,7 @@ class RemoteListener {
"type": "group",
"name": group.name,
"metadata": group.metadata.serialize(),
+ "trace": group.trace?.toString(),
"setUpAll": _serializeTest(channel, group.setUpAll, parents),
"tearDownAll": _serializeTest(channel, group.tearDownAll, parents),
"entries": group.entries.map((entry) {
@@ -154,6 +155,7 @@ class RemoteListener {
"type": "test",
"name": test.name,
"metadata": test.metadata.serialize(),
+ "trace": test.trace?.toString(),
"channel": testChannel.id
};
}
« no previous file with comments | « lib/src/runner/plugin/platform_helpers.dart ('k') | lib/src/runner/reporter/json.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698