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

Unified Diff: packages/html/test/run_all.dart

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years, 2 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 | « packages/html/test/run.sh ('k') | packages/html/test/selectors/LICENSE » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/html/test/run_all.dart
diff --git a/packages/html/test/run_all.dart b/packages/html/test/run_all.dart
new file mode 100644
index 0000000000000000000000000000000000000000..14e6b34ff0f4456707a3af96ebd4a34572c4ba4e
--- /dev/null
+++ b/packages/html/test/run_all.dart
@@ -0,0 +1,30 @@
+#!/usr/bin/env dart
+// Copyright (c) 2013, 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 file.
+
+library test.run_all;
+
+import 'package:unittest/compact_vm_config.dart';
+import 'package:unittest/unittest.dart';
+
+import 'dom_test.dart' as dom_test;
+import 'parser_feature_test.dart' as parser_feature_test;
+import 'parser_test.dart' as parser_test;
+import 'tokenizer_test.dart' as tokenizer_test;
+
+main(List<String> args) {
+ var pattern = new RegExp(args.length > 0 ? args[0] : '.');
+ useCompactVMConfiguration();
+
+ void addGroup(testFile, testMain) {
+ if (pattern.hasMatch(testFile)) {
+ group(testFile.replaceAll('_test.dart', ':'), testMain);
+ }
+ }
+
+ addGroup('dom_test.dart', dom_test.main);
+ addGroup('parser_feature_test.dart', parser_feature_test.main);
+ addGroup('parser_test.dart', parser_test.main);
+ addGroup('tokenizer_test.dart', tokenizer_test.main);
+}
« no previous file with comments | « packages/html/test/run.sh ('k') | packages/html/test/selectors/LICENSE » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698