| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library test.runner.reporter.compact; | 5 library test.runner.reporter.compact; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 import 'dart:io'; | 8 import 'dart:io'; |
| 9 import 'dart:isolate'; | 9 import 'dart:isolate'; |
| 10 | 10 |
| (...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 324 /// This differs from the test's own description in that it may also include | 324 /// This differs from the test's own description in that it may also include |
| 325 /// the suite's name. | 325 /// the suite's name. |
| 326 String _description(LiveTest liveTest) { | 326 String _description(LiveTest liveTest) { |
| 327 var name = liveTest.test.name; | 327 var name = liveTest.test.name; |
| 328 | 328 |
| 329 if (_printPath && liveTest.suite.path != null) { | 329 if (_printPath && liveTest.suite.path != null) { |
| 330 name = "${liveTest.suite.path}: $name"; | 330 name = "${liveTest.suite.path}: $name"; |
| 331 } | 331 } |
| 332 | 332 |
| 333 if (_printPlatform && liveTest.suite.platform != null) { | 333 if (_printPlatform && liveTest.suite.platform != null) { |
| 334 name = "[${liveTest.suite.platform}] $name"; | 334 name = "[${liveTest.suite.platform.name}] $name"; |
| 335 } | 335 } |
| 336 | 336 |
| 337 if (liveTest.suite is LoadSuite) name = "$_bold$_gray$name$_noColor"; | 337 if (liveTest.suite is LoadSuite) name = "$_bold$_gray$name$_noColor"; |
| 338 | 338 |
| 339 return name; | 339 return name; |
| 340 } | 340 } |
| 341 } | 341 } |
| OLD | NEW |