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

Unified Diff: lib/src/runner/plugin/platform_helpers.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/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/plugin/platform_helpers.dart
diff --git a/lib/src/runner/plugin/platform_helpers.dart b/lib/src/runner/plugin/platform_helpers.dart
index 50d081280885038687f9a29b3e6019a996650e44..bccf2d1437b0ce7601c533543e64b1a609c4017b 100644
--- a/lib/src/runner/plugin/platform_helpers.dart
+++ b/lib/src/runner/plugin/platform_helpers.dart
@@ -119,6 +119,7 @@ class _Deserializer {
return _deserializeTest(map);
}),
metadata: metadata,
+ trace: group['trace'] == null ? null : new Trace.parse(group['trace']),
setUpAll: _deserializeTest(group['setUpAll']),
tearDownAll: _deserializeTest(group['tearDownAll']));
}
@@ -130,7 +131,9 @@ class _Deserializer {
if (test == null) return null;
var metadata = new Metadata.deserialize(test['metadata']);
+ var trace = test['trace'] == null ? null : new Trace.parse(test['trace']);
var testChannel = _channel.virtualChannel(test['channel']);
- return new RunnerTest(test['name'], metadata, testChannel, _mapTrace);
+ return new RunnerTest(
+ test['name'], metadata, trace, testChannel, _mapTrace);
}
}
« 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