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