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

Side by Side Diff: tools/test.dart

Issue 10134052: Remove unused class DirectoryTestSuite from test script. (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 | tools/testing/dart/test_suite.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 #!/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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 #import("../frog/tests/frog/test_config.dart"); 44 #import("../frog/tests/frog/test_config.dart");
45 #import("../frog/tests/leg/test_config.dart"); 45 #import("../frog/tests/leg/test_config.dart");
46 #import("../frog/tests/leg_only/test_config.dart"); 46 #import("../frog/tests/leg_only/test_config.dart");
47 #import("../frog/tests/native/test_config.dart"); 47 #import("../frog/tests/native/test_config.dart");
48 #import("../frog/tests/await/test_config.dart"); 48 #import("../frog/tests/await/test_config.dart");
49 #import("../utils/tests/css/test_config.dart"); 49 #import("../utils/tests/css/test_config.dart");
50 #import("../utils/tests/import_mapper/test_config.dart"); 50 #import("../utils/tests/import_mapper/test_config.dart");
51 51
52 /** 52 /**
53 * The directories that contain test suites which follow the conventions 53 * The directories that contain test suites which follow the conventions
54 * required by [DirectoryTestSuite]. Ideally, we'd move more suites to this 54 * required by [StandardTestSuite]'s forDirectory constructor.
Mads Ager (google) 2012/04/25 10:51:16 Are these two tests suites below really the only o
55 * convention because it makes it much simpler to add them to test.dart. (You 55 * New test suites should follow this convention because it makes it much
56 * basically add the directory here and you're done.) 56 * simpler to add them to test.dart. Existing test suites should be
57 * moved to here, if possible.
57 */ 58 */
58 final TEST_SUITE_DIRECTORIES = const [ 59 final TEST_SUITE_DIRECTORIES = const [
59 'utils/tests/peg', 60 'utils/tests/peg',
60 'utils/tests/pub', 61 'utils/tests/pub',
61 ]; 62 ];
62 63
63 main() { 64 main() {
64 var startTime = new Date.now(); 65 var startTime = new Date.now();
65 var optionsParser = new TestOptionsParser(); 66 var optionsParser = new TestOptionsParser();
66 List<Map> configurations = optionsParser.parse(new Options().arguments); 67 List<Map> configurations = optionsParser.parse(new Options().arguments);
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 // Start process queue. 171 // Start process queue.
171 var queue = new ProcessQueue(maxProcesses, 172 var queue = new ProcessQueue(maxProcesses,
172 progressIndicator, 173 progressIndicator,
173 startTime, 174 startTime,
174 printTiming, 175 printTiming,
175 enqueueConfiguration, 176 enqueueConfiguration,
176 verbose, 177 verbose,
177 listTests, 178 listTests,
178 keepGeneratedTests); 179 keepGeneratedTests);
179 } 180 }
OLDNEW
« no previous file with comments | « no previous file | tools/testing/dart/test_suite.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698