Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(505)

Unified Diff: tests/stub-generator/test_config.dart

Issue 8590025: Support stub-generator tests on the VM (which does not actually generate the stubs). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Enable by default. Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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");
+}
« no previous file with comments | « no previous file | tools/test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698