| 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("stub_generator_test_config"); |
| 6 |
| 7 #import("../../tools/testing/dart/test_suite.dart"); |
| 8 |
| 9 class StubGeneratorTestSuite extends StandardTestSuite { |
| 10 StubGeneratorTestSuite(Map configuration) |
| 11 : super(configuration, |
| 12 "tests/stub-generator/src", |
| 13 ["tests/stub-generator/stub-generator.status"]) { |
| 14 // TODO(ager): Support the stub generation part of this test on |
| 15 // dartc. |
| 16 if (configuration["component"] == "dartc") { |
| 17 print("Warning: stub-generator tests on dartc do not test generation"); |
| 18 } |
| 19 } |
| 20 |
| 21 bool isTestFile(String filename) => filename.contains("-generatedTest.dart"); |
| 22 } |
| OLD | NEW |