OLD | NEW |
| (Empty) |
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 | |
3 // BSD-style license that can be found in the LICENSE file. | |
4 | |
5 #library("dartdoc_test_config"); | |
6 | |
7 #import("../../../tools/testing/dart/test_suite.dart"); | |
8 | |
9 class DartdocTestSuite extends StandardTestSuite { | |
10 DartdocTestSuite(Map configuration) | |
11 : super(configuration, | |
12 "dartdoc", | |
13 "utils/tests/dartdoc/src", | |
14 ["utils/tests/dartdoc/dartdoc.status"]); | |
15 | |
16 List<String> additionalOptions(String filename) { | |
17 if (configuration['component'].startsWith('frog')) { | |
18 return ['--js_cmd=node --crankshaft']; | |
19 } else { | |
20 return []; | |
21 } | |
22 } | |
23 | |
24 | |
25 bool isTestFile(String filename) => filename.endsWith("_tests.dart"); | |
26 } | |
OLD | NEW |