Index: tools/testing/dart/package_testing_support.dart |
diff --git a/tools/testing/dart/package_testing_support.dart b/tools/testing/dart/package_testing_support.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..66ad3514c835fe77babb949dcbac4bc5167dac53 |
--- /dev/null |
+++ b/tools/testing/dart/package_testing_support.dart |
@@ -0,0 +1,26 @@ |
+// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file |
+// for details. All rights reserved. Use of this source code is governed by a |
+// BSD-style license that can be found in the LICENSE.md file. |
+ |
+library package_testing_support; |
+ |
+import 'dart:convert' show |
+ JSON; |
+ |
+import 'test_configurations.dart' show |
+ testConfigurations; |
+ |
+import 'test_options.dart' show |
+ TestOptionsParser; |
+ |
+import 'test_suite.dart' show |
+ TestUtils; |
+ |
+main(List<String> arguments) { |
+ TestUtils.setDartDirUri(Uri.base); |
+ List<Map> configurations = <Map>[]; |
+ for (String argument in arguments) { |
+ configurations.addAll(new TestOptionsParser().parse(argument.split(" "))); |
+ } |
+ testConfigurations(configurations); |
+} |