| 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.no_io_compact; | 5 library test.runner.reporter.no_io_compact; |
| 6 | 6 |
| 7 import 'dart:isolate'; | 7 import 'dart:isolate'; |
| 8 | 8 |
| 9 import '../../backend/live_test.dart'; | 9 import '../../backend/live_test.dart'; |
| 10 import '../../backend/state.dart'; | 10 import '../../backend/state.dart'; |
| (...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 269 /// This differs from the test's own description in that it may also include | 269 /// This differs from the test's own description in that it may also include |
| 270 /// the suite's name. | 270 /// the suite's name. |
| 271 String _description(LiveTest liveTest) { | 271 String _description(LiveTest liveTest) { |
| 272 var name = liveTest.test.name; | 272 var name = liveTest.test.name; |
| 273 | 273 |
| 274 if (_printPath && liveTest.suite.path != null) { | 274 if (_printPath && liveTest.suite.path != null) { |
| 275 name = "${liveTest.suite.path}: $name"; | 275 name = "${liveTest.suite.path}: $name"; |
| 276 } | 276 } |
| 277 | 277 |
| 278 if (_printPlatform && liveTest.suite.platform != null) { | 278 if (_printPlatform && liveTest.suite.platform != null) { |
| 279 name = "[${liveTest.suite.platform}] $name"; | 279 name = "[${liveTest.suite.platform.name}] $name"; |
| 280 } | 280 } |
| 281 | 281 |
| 282 if (liveTest.suite is LoadSuite) name = "$_bold$_gray$name$_noColor"; | 282 if (liveTest.suite is LoadSuite) name = "$_bold$_gray$name$_noColor"; |
| 283 | 283 |
| 284 return name; | 284 return name; |
| 285 } | 285 } |
| 286 } | 286 } |
| OLD | NEW |