| Index: tests/stub-generator/test_config.dart
|
| diff --git a/tests/stub-generator/test_config.dart b/tests/stub-generator/test_config.dart
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f0c5f58b49225b691c72389010f33cf656ee7ff3
|
| --- /dev/null
|
| +++ b/tests/stub-generator/test_config.dart
|
| @@ -0,0 +1,22 @@
|
| +// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +#library("stub_generator_test_config");
|
| +
|
| +#import("../../tools/testing/dart/test_suite.dart");
|
| +
|
| +class StubGeneratorTestSuite extends StandardTestSuite {
|
| + StubGeneratorTestSuite(Map configuration)
|
| + : super(configuration,
|
| + "tests/stub-generator/src",
|
| + ["tests/stub-generator/stub-generator.status"]) {
|
| + // TODO(ager): Support the stub generation part of this test on
|
| + // dartc.
|
| + if (configuration["component"] == "dartc") {
|
| + print("Warning: stub-generator tests on dartc do not test generation");
|
| + }
|
| + }
|
| +
|
| + bool isTestFile(String filename) => filename.contains("-generatedTest.dart");
|
| +}
|
|
|