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

Side by Side Diff: tools/testing/dart/test_options.dart

Issue 9159064: Add flag to tools/test.dart. Add utils test suite to list of default suites. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 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 // 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("test_options_parser"); 5 #library("test_options_parser");
6 6
7 #import("dart:io"); 7 #import("dart:io");
8 8
9 List<String> defaultTestSelectors = 9 List<String> defaultTestSelectors =
10 const ['dartc', 'samples', 'standalone', 'corelib', 'co19', 'language', 10 const ['dartc', 'samples', 'standalone', 'corelib', 'co19', 'language',
11 'isolate', 'stub-generator', 'vm', 'client', 'dartdoc']; 11 'isolate', 'stub-generator', 'vm', 'client', 'dartdoc', 'utils'];
12 12
13 /** 13 /**
14 * Specification of a single test option. 14 * Specification of a single test option.
15 * 15 *
16 * The name of the specification is used as the key for the option in 16 * The name of the specification is used as the key for the option in
17 * the Map returned from the [TestOptionParser] parse method. 17 * the Map returned from the [TestOptionParser] parse method.
18 */ 18 */
19 class _TestOptionSpecification { 19 class _TestOptionSpecification {
20 _TestOptionSpecification(this.name, 20 _TestOptionSpecification(this.name,
21 this.description, 21 this.description,
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 ['-b', '--browser'], 166 ['-b', '--browser'],
167 ['ff', 'chrome', 'safari', 'ie'], 167 ['ff', 'chrome', 'safari', 'ie'],
168 'chrome'), 168 'chrome'),
169 new _TestOptionSpecification( 169 new _TestOptionSpecification(
170 'frog', 170 'frog',
171 'Path to frog executable', 171 'Path to frog executable',
172 ['--frog'], 172 ['--frog'],
173 [], 173 [],
174 ''), 174 ''),
175 new _TestOptionSpecification( 175 new _TestOptionSpecification(
176 'drt',
177 'Path to DumpRenderTree executable',
178 ['--drt'],
179 [],
180 ''),
181 new _TestOptionSpecification(
176 'froglib', 182 'froglib',
177 'Path to frog library', 183 'Path to frog library',
178 ['--froglib'], 184 ['--froglib'],
179 [], 185 [],
180 '')]; 186 '')];
181 } 187 }
182 188
183 189
184 /** 190 /**
185 * Parse a list of strings as test options. 191 * Parse a list of strings as test options.
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
480 return option; 486 return option;
481 } 487 }
482 } 488 }
483 print('Unknown test option $name'); 489 print('Unknown test option $name');
484 exit(1); 490 exit(1);
485 } 491 }
486 492
487 493
488 List<_TestOptionSpecification> _options; 494 List<_TestOptionSpecification> _options;
489 } 495 }
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