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