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

Side by Side Diff: pkg/third_party/html5lib/test/run_all.dart

Issue 22375011: move html5lib code into dart svn repo (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: change location of html5lib to pkg/third_party/html5lib Created 7 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #!/usr/bin/env dart 1 #!/usr/bin/env dart
2 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 2 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
3 // for details. All rights reserved. Use of this source code is governed by a 3 // for details. All rights reserved. Use of this source code is governed by a
4 // BSD-style license that can be found in the LICENSE file. 4 // BSD-style license that can be found in the LICENSE file.
5 5
6 library test.run; 6 library test.run_all;
7 7
8 import 'dart:io' show Options;
8 import 'package:unittest/compact_vm_config.dart'; 9 import 'package:unittest/compact_vm_config.dart';
9 import 'package:unittest/unittest.dart'; 10 import 'package:unittest/unittest.dart';
10 import 'dart:io' show Options;
11 11
12 import 'builder_test.dart' as builder_test; 12 import 'dom_test.dart' as dom_test;
13 import 'end2end_test.dart' as end2end_test; 13 import 'parser_feature_test.dart' as parser_feature_test;
14 import 'parser_test.dart' as parser_test; 14 import 'parser_test.dart' as parser_test;
15 import 'printer_test.dart' as printer_test; 15 import 'tokenizer_test.dart' as tokenizer_test;
16 import 'refactor_test.dart' as refactor_test; 16 import 'dom_compat_test.dart' as dom_compat_test;
17 import 'span_test.dart' as span_test;
18 import 'utils_test.dart' as utils_test;
19 import 'vlq_test.dart' as vlq_test;
20 17
21 main() { 18 main() {
22 var args = new Options().arguments; 19 var args = new Options().arguments;
23 var pattern = new RegExp(args.length > 0 ? args[0] : '.'); 20 var pattern = new RegExp(args.length > 0 ? args[0] : '.');
24 useCompactVMConfiguration(); 21 useCompactVMConfiguration();
25 22
26 void addGroup(testFile, testMain) { 23 void addGroup(testFile, testMain) {
27 if (pattern.hasMatch(testFile)) { 24 if (pattern.hasMatch(testFile)) {
28 group(testFile.replaceAll('_test.dart', ':'), testMain); 25 group(testFile.replaceAll('_test.dart', ':'), testMain);
29 } 26 }
30 } 27 }
31 28
32 addGroup('builder_test.dart', builder_test.main); 29 addGroup('dom_test.dart', dom_test.main);
33 addGroup('end2end_test.dart', end2end_test.main); 30 addGroup('dom_compat_test.dart', dom_compat_test.main);
31 addGroup('parser_feature_test.dart', parser_feature_test.main);
34 addGroup('parser_test.dart', parser_test.main); 32 addGroup('parser_test.dart', parser_test.main);
35 addGroup('printer_test.dart', printer_test.main); 33 addGroup('tokenizer_test.dart', tokenizer_test.main);
36 addGroup('refactor_test.dart', refactor_test.main);
37 addGroup('span_test.dart', span_test.main);
38 addGroup('utils_test.dart', utils_test.main);
39 addGroup('vlq_test.dart', vlq_test.main);
40 } 34 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698