| OLD | NEW |
| 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
| 4 | 4 |
| 5 library package_testing_support; | 5 library package_testing_support; |
| 6 | 6 |
| 7 import 'options.dart'; | 7 import 'test_configurations.dart' show testConfigurations; |
| 8 import 'test_configurations.dart'; | 8 |
| 9 import 'test_suite.dart'; | 9 import 'test_options.dart' show TestOptionsParser; |
| 10 |
| 11 import 'test_suite.dart' show TestUtils; |
| 10 | 12 |
| 11 void main(List<String> arguments) { | 13 void main(List<String> arguments) { |
| 12 TestUtils.setDartDirUri(Uri.base); | 14 TestUtils.setDartDirUri(Uri.base); |
| 13 var configurations = <Map>[]; | 15 var configurations = <Map>[]; |
| 14 for (var argument in arguments) { | 16 for (var argument in arguments) { |
| 15 configurations.addAll(new OptionsParser().parse(argument.split(" "))); | 17 configurations.addAll(new TestOptionsParser().parse(argument.split(" "))); |
| 16 } | 18 } |
| 17 testConfigurations(configurations); | 19 testConfigurations(configurations); |
| 18 } | 20 } |
| OLD | NEW |