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