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

Side by Side Diff: tools/test.dart

Issue 23717003: Reorganize tests for samples so the test is discoverable from the sample (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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
« samples/samples.status ('K') | « samples/time/test/time_test.dart ('k') | no next file » | 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) 2013, the Dart project authors. Please see the AUTHORS file 2 // Copyright (c) 2013, 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 /** 43 /**
44 * The directories that contain test suites which follow the conventions 44 * The directories that contain test suites which follow the conventions
45 * required by [StandardTestSuite]'s forDirectory constructor. 45 * required by [StandardTestSuite]'s forDirectory constructor.
46 * New test suites should follow this convention because it makes it much 46 * New test suites should follow this convention because it makes it much
47 * simpler to add them to test.dart. Existing test suites should be 47 * simpler to add them to test.dart. Existing test suites should be
48 * moved to here, if possible. 48 * moved to here, if possible.
49 */ 49 */
50 final TEST_SUITE_DIRECTORIES = [ 50 final TEST_SUITE_DIRECTORIES = [
51 new Path('pkg'), 51 new Path('pkg'),
52 new Path('runtime/tests/vm'), 52 new Path('runtime/tests/vm'),
53 new Path('samples/tests/samples'), 53 new Path('samples'),
54 new Path('tests/benchmark_smoke'), 54 new Path('tests/benchmark_smoke'),
55 new Path('tests/chrome'), 55 new Path('tests/chrome'),
56 new Path('tests/compiler/dart2js'), 56 new Path('tests/compiler/dart2js'),
57 new Path('tests/compiler/dart2js_extra'), 57 new Path('tests/compiler/dart2js_extra'),
58 new Path('tests/compiler/dart2js_foreign'), 58 new Path('tests/compiler/dart2js_foreign'),
59 new Path('tests/compiler/dart2js_native'), 59 new Path('tests/compiler/dart2js_native'),
60 new Path('tests/corelib'), 60 new Path('tests/corelib'),
61 new Path('tests/html'), 61 new Path('tests/html'),
62 new Path('tests/isolate'), 62 new Path('tests/isolate'),
63 new Path('tests/json'), 63 new Path('tests/json'),
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 void main() { 299 void main() {
300 deleteTemporaryDartDirectories().then((_) { 300 deleteTemporaryDartDirectories().then((_) {
301 var optionsParser = new TestOptionsParser(); 301 var optionsParser = new TestOptionsParser();
302 var configurations = optionsParser.parse(new Options().arguments); 302 var configurations = optionsParser.parse(new Options().arguments);
303 if (configurations != null && configurations.length > 0) { 303 if (configurations != null && configurations.length > 0) {
304 testConfigurations(configurations); 304 testConfigurations(configurations);
305 } 305 }
306 }); 306 });
307 } 307 }
308 308
OLDNEW
« samples/samples.status ('K') | « samples/time/test/time_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698