OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 library co19_test_config; | 5 import 'configuration.dart'; |
6 | |
7 import 'path.dart'; | 6 import 'path.dart'; |
8 import 'test_suite.dart'; | 7 import 'test_suite.dart'; |
9 | 8 |
10 class Co19TestSuite extends StandardTestSuite { | 9 class Co19TestSuite extends StandardTestSuite { |
11 RegExp _testRegExp = new RegExp(r"t[0-9]{2}.dart$"); | 10 RegExp _testRegExp = new RegExp(r"t[0-9]{2}.dart$"); |
12 | 11 |
13 Co19TestSuite(Map<String, dynamic> configuration) | 12 Co19TestSuite(Configuration configuration) |
14 : super(configuration, "co19", new Path("tests/co19/src"), [ | 13 : super(configuration, "co19", new Path("tests/co19/src"), [ |
15 "tests/co19/co19-co19.status", | 14 "tests/co19/co19-co19.status", |
16 "tests/co19/co19-analyzer.status", | 15 "tests/co19/co19-analyzer.status", |
17 "tests/co19/co19-analyzer2.status", | 16 "tests/co19/co19-analyzer2.status", |
18 "tests/co19/co19-runtime.status", | 17 "tests/co19/co19-runtime.status", |
19 "tests/co19/co19-dart2js.status", | 18 "tests/co19/co19-dart2js.status", |
20 "tests/co19/co19-dartium.status", | 19 "tests/co19/co19-dartium.status", |
21 "tests/co19/co19-kernel.status" | 20 "tests/co19/co19-kernel.status" |
22 ]); | 21 ]); |
23 | 22 |
24 bool isTestFile(String filename) => _testRegExp.hasMatch(filename); | 23 bool isTestFile(String filename) => _testRegExp.hasMatch(filename); |
25 bool get listRecursively => true; | 24 bool get listRecursively => true; |
26 } | 25 } |
OLD | NEW |