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

Side by Side Diff: tools/test.dart

Issue 10207032: remove tests from code that was recently deleted. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 months 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 | « no previous file | utils/tests/import_mapper/import_mapper.status » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env dart 1 #!/usr/bin/env dart
2 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3 // for details. All rights reserved. Use of this source code is governed by a 3 // for details. All rights reserved. Use of this source code is governed by a
4 // BSD-style license that can be found in the LICENSE file. 4 // BSD-style license that can be found in the LICENSE file.
5 5
6 /** 6 /**
7 * This file is the entrypoint of the dart test suite. This suite is used 7 * This file is the entrypoint of the dart test suite. This suite is used
8 * to test: 8 * to test:
9 * 9 *
10 * 1. the dart vm 10 * 1. the dart vm
(...skipping 28 matching lines...) Expand all
39 #import("../samples/tests/samples/test_config.dart"); 39 #import("../samples/tests/samples/test_config.dart");
40 #import("../client/tests/dartc/test_config.dart"); 40 #import("../client/tests/dartc/test_config.dart");
41 #import("../compiler/tests/dartc/test_config.dart"); 41 #import("../compiler/tests/dartc/test_config.dart");
42 #import("../client/tests/client/test_config.dart"); 42 #import("../client/tests/client/test_config.dart");
43 #import("../frog/tests/frog/test_config.dart"); 43 #import("../frog/tests/frog/test_config.dart");
44 #import("../frog/tests/leg/test_config.dart"); 44 #import("../frog/tests/leg/test_config.dart");
45 #import("../frog/tests/leg_only/test_config.dart"); 45 #import("../frog/tests/leg_only/test_config.dart");
46 #import("../frog/tests/native/test_config.dart"); 46 #import("../frog/tests/native/test_config.dart");
47 #import("../frog/tests/await/test_config.dart"); 47 #import("../frog/tests/await/test_config.dart");
48 #import("../utils/tests/css/test_config.dart"); 48 #import("../utils/tests/css/test_config.dart");
49 #import("../utils/tests/import_mapper/test_config.dart");
50 49
51 /** 50 /**
52 * The directories that contain test suites which follow the conventions 51 * The directories that contain test suites which follow the conventions
53 * required by [DirectoryTestSuite]. Ideally, we'd move more suites to this 52 * required by [DirectoryTestSuite]. Ideally, we'd move more suites to this
54 * convention because it makes it much simpler to add them to test.dart. (You 53 * convention because it makes it much simpler to add them to test.dart. (You
55 * basically add the directory here and you're done.) 54 * basically add the directory here and you're done.)
56 */ 55 */
57 final TEST_SUITE_DIRECTORIES = const [ 56 final TEST_SUITE_DIRECTORIES = const [
58 'utils/tests/peg', 57 'utils/tests/peg',
59 'utils/tests/pub', 58 'utils/tests/pub',
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 } 134 }
136 if (conf['compiler'] == 'dartc' && selectors.containsKey('dartc')) { 135 if (conf['compiler'] == 'dartc' && selectors.containsKey('dartc')) {
137 queue.addTestSuite(new ClientDartcTestSuite(conf)); 136 queue.addTestSuite(new ClientDartcTestSuite(conf));
138 } 137 }
139 if (conf['compiler'] == 'dartc' && selectors.containsKey('dartc')) { 138 if (conf['compiler'] == 'dartc' && selectors.containsKey('dartc')) {
140 queue.addTestSuite(new JUnitDartcTestSuite(conf)); 139 queue.addTestSuite(new JUnitDartcTestSuite(conf));
141 } 140 }
142 if (selectors.containsKey('css')) { 141 if (selectors.containsKey('css')) {
143 queue.addTestSuite(new CssTestSuite(conf)); 142 queue.addTestSuite(new CssTestSuite(conf));
144 } 143 }
145 if (selectors.containsKey('import_mapper')) {
146 queue.addTestSuite(new ImportMapperTestSuite(conf));
147 }
148 if (selectors.containsKey('await')) { 144 if (selectors.containsKey('await')) {
149 queue.addTestSuite(new AwaitTestSuite(conf)); 145 queue.addTestSuite(new AwaitTestSuite(conf));
150 } 146 }
151 if (selectors.containsKey('client')) { 147 if (selectors.containsKey('client')) {
152 queue.addTestSuite(new ClientTestSuite(conf)); 148 queue.addTestSuite(new ClientTestSuite(conf));
153 } 149 }
154 150
155 for (final testSuiteDir in TEST_SUITE_DIRECTORIES) { 151 for (final testSuiteDir in TEST_SUITE_DIRECTORIES) {
156 final name = testSuiteDir.substring(testSuiteDir.lastIndexOf('/') + 1); 152 final name = testSuiteDir.substring(testSuiteDir.lastIndexOf('/') + 1);
157 if (selectors.containsKey(name)) { 153 if (selectors.containsKey(name)) {
158 queue.addTestSuite( 154 queue.addTestSuite(
159 new StandardTestSuite.forDirectory(conf, testSuiteDir)); 155 new StandardTestSuite.forDirectory(conf, testSuiteDir));
160 } 156 }
161 } 157 }
162 158
163 return true; 159 return true;
164 } 160 }
165 161
166 // Start process queue. 162 // Start process queue.
167 var queue = new ProcessQueue(maxProcesses, 163 var queue = new ProcessQueue(maxProcesses,
168 progressIndicator, 164 progressIndicator,
169 startTime, 165 startTime,
170 printTiming, 166 printTiming,
171 enqueueConfiguration, 167 enqueueConfiguration,
172 verbose, 168 verbose,
173 listTests, 169 listTests,
174 keepGeneratedTests); 170 keepGeneratedTests);
175 } 171 }
OLDNEW
« no previous file with comments | « no previous file | utils/tests/import_mapper/import_mapper.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698