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 library co19_test_config; |
6 | 6 |
7 import 'path.dart'; | 7 import 'path.dart'; |
8 import 'test_suite.dart'; | 8 import 'test_suite.dart'; |
9 | 9 |
10 class Co19TestSuite extends StandardTestSuite { | 10 class Co19TestSuite extends StandardTestSuite { |
11 RegExp _testRegExp = new RegExp(r"t[0-9]{2}.dart$"); | 11 RegExp _testRegExp = new RegExp(r"t[0-9]{2}.dart$"); |
12 | 12 |
13 Co19TestSuite(Map configuration) | 13 Co19TestSuite(Map configuration) |
14 : super(configuration, "co19", new Path("tests/co19/src"), [ | 14 : super(configuration, "co19", new Path("tests/co19/src"), [ |
15 "tests/co19/co19-co19.status", | 15 "tests/co19/co19-co19.status", |
16 "tests/co19/co19-analyzer.status", | 16 "tests/co19/co19-analyzer.status", |
17 "tests/co19/co19-analyzer2.status", | 17 "tests/co19/co19-analyzer2.status", |
18 "tests/co19/co19-runtime.status", | 18 "tests/co19/co19-runtime.status", |
19 "tests/co19/co19-dart2js.status", | 19 "tests/co19/co19-dart2js.status", |
20 "tests/co19/co19-dartium.status" | 20 "tests/co19/co19-dartium.status", |
| 21 "tests/co19/co19-kernel.status" |
21 ]); | 22 ]); |
22 | 23 |
23 bool isTestFile(String filename) => _testRegExp.hasMatch(filename); | 24 bool isTestFile(String filename) => _testRegExp.hasMatch(filename); |
24 bool get listRecursively => true; | 25 bool get listRecursively => true; |
25 } | 26 } |
OLD | NEW |