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

Side by Side Diff: tests/stub-generator/test_config.dart

Issue 8772007: Allow single-dash options to be specified without a space before value. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add warning on overriding selectors Created 9 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tests/standalone/test_config.dart ('k') | tools/test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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("stub_generator_test_config"); 5 #library("stub_generator_test_config");
6 6
7 #import("../../tools/testing/dart/test_suite.dart"); 7 #import("../../tools/testing/dart/test_suite.dart");
8 8
9 class StubGeneratorTestSuite extends StandardTestSuite { 9 class StubGeneratorTestSuite extends StandardTestSuite {
10 StubGeneratorTestSuite(Map configuration) 10 StubGeneratorTestSuite(Map configuration)
11 : super(configuration, 11 : super(configuration,
12 "stub-generator",
12 "tests/stub-generator/src", 13 "tests/stub-generator/src",
13 ["tests/stub-generator/stub-generator.status"]) { 14 ["tests/stub-generator/stub-generator.status"]) {
14 // TODO(ager): Support the stub generation part of this test on 15 // TODO(ager): Support the stub generation part of this test on
15 // dartc. 16 // dartc.
16 if (configuration["component"] == "dartc") { 17 if (configuration["component"] == "dartc") {
17 print("Warning: stub-generator tests on dartc do not test generation"); 18 print("Warning: stub-generator tests on dartc do not test generation");
18 } 19 }
19 } 20 }
20 21
21 bool isTestFile(String filename) => filename.contains("-generatedTest.dart"); 22 bool isTestFile(String filename) => filename.contains("-generatedTest.dart");
22 } 23 }
OLDNEW
« no previous file with comments | « tests/standalone/test_config.dart ('k') | tools/test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698