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

Unified Diff: lib/src/runner/reporter/expanded.dart

Issue 1637193003: Add suite information to the JSON reporter. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: fix changelog Created 4 years, 11 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/reporter/expanded.dart
diff --git a/lib/src/runner/reporter/expanded.dart b/lib/src/runner/reporter/expanded.dart
index c2c93b0c9b1487e705fa51f7afd0f9cdecef45fd..b1ea93aaf781c519d7bc9a26b461d2d7aa630874 100644
--- a/lib/src/runner/reporter/expanded.dart
+++ b/lib/src/runner/reporter/expanded.dart
@@ -314,7 +314,8 @@ class ExpandedReporter implements Reporter {
String _description(LiveTest liveTest) {
var name = liveTest.test.name;
- if (_printPath && liveTest.suite.path != null) {
+ if (_printPath && liveTest.suite is! LoadSuite &&
+ liveTest.suite.path != null) {
name = "${liveTest.suite.path}: $name";
}

Powered by Google App Engine
This is Rietveld 408576698