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

Side by Side Diff: tools/testing/dart/co19_test_config.dart

Issue 2901923003: Replace the configuration map with a typed object. (Closed)
Patch Set: Revise. Created 3 years, 6 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
« no previous file with comments | « tools/testing/dart/co19_test.dart ('k') | tools/testing/dart/compiler_configuration.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 }
OLDNEW
« no previous file with comments | « tools/testing/dart/co19_test.dart ('k') | tools/testing/dart/compiler_configuration.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698