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 // TODO(nweiz): This is under lib so that it can be used by the unittest dummy | 5 // TODO(nweiz): This is under lib so that it can be used by the unittest dummy |
6 // package. Once that package is no longer being updated, move this back into | 6 // package. Once that package is no longer being updated, move this back into |
7 // bin. | 7 // bin. |
8 library test.executable; | |
9 | |
10 import 'dart:io'; | 8 import 'dart:io'; |
11 | 9 |
12 import 'package:stack_trace/stack_trace.dart'; | 10 import 'package:stack_trace/stack_trace.dart'; |
13 import 'package:yaml/yaml.dart'; | 11 import 'package:yaml/yaml.dart'; |
14 | 12 |
15 import 'runner.dart'; | 13 import 'runner.dart'; |
16 import 'runner/application_exception.dart'; | 14 import 'runner/application_exception.dart'; |
17 import 'runner/configuration.dart'; | 15 import 'runner/configuration.dart'; |
18 import 'runner/version.dart'; | 16 import 'runner/version.dart'; |
19 import 'util/exit_codes.dart' as exit_codes; | 17 import 'util/exit_codes.dart' as exit_codes; |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 output = stderr; | 149 output = stderr; |
152 } | 150 } |
153 | 151 |
154 output.write("""$message | 152 output.write("""$message |
155 | 153 |
156 Usage: pub run test:test [files or directories...] | 154 Usage: pub run test:test [files or directories...] |
157 | 155 |
158 ${Configuration.usage} | 156 ${Configuration.usage} |
159 """); | 157 """); |
160 } | 158 } |
OLD | NEW |