Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(619)

Unified Diff: tools/testing/dart/package_testing_support.dart

Issue 2693893002: Add a new kind of suite to ease test.dart integration. (Closed)
Patch Set: Fix Linux and Windows paths. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/testing/lib/src/test_dart.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
+}
« no previous file with comments | « pkg/testing/lib/src/test_dart.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698