OLD | NEW |
| (Empty) |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
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. | |
4 | |
5 #library("client_dartc_test_config"); | |
6 | |
7 #import("../../../tools/testing/dart/test_suite.dart"); | |
8 | |
9 class ClientDartcTestSuite extends DartcCompilationTestSuite { | |
10 ClientDartcTestSuite(Map configuration) | |
11 : super(configuration, | |
12 "dartc", | |
13 "client", | |
14 ['async', | |
15 'base', | |
16 'box2d', | |
17 'dom', | |
18 'json', | |
19 'observable', | |
20 'samples', | |
21 'streams', | |
22 'testing', | |
23 'tests', | |
24 'touch', | |
25 'util', | |
26 'view', | |
27 'weld'], | |
28 ["client/tests/dartc/dartc.status"]); | |
29 | |
30 bool isTestFile(String filename) { | |
31 if (!filename.endsWith(".dart")) return false; | |
32 // Using readOptionsFromFile here causes the file to be read twice, | |
33 // because readOptionsFromFile is called again in the superclass. | |
34 // Avoid this in new code. | |
35 return readOptionsFromFile(filename)["containsLeadingHash"]; | |
36 } | |
37 | |
38 bool listRecursively() => true; | |
39 } | |
OLD | NEW |