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/testing/dart/test_options.dart

Issue 9480019: Adding webdriver setup script. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 9 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 | « tools/testing/browser_README.txt ('k') | tools/testing/dart/test_runner.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',
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 'drt', 177 'drt',
178 'Path to DumpRenderTree executable', 178 'Path to DumpRenderTree executable',
179 ['--drt'], 179 ['--drt'],
180 [], 180 [],
181 ''), 181 ''),
182 new _TestOptionSpecification( 182 new _TestOptionSpecification(
183 'froglib', 183 'froglib',
184 'Path to frog library', 184 'Path to frog library',
185 ['--froglib'], 185 ['--froglib'],
186 [], 186 [],
187 '')]; 187 ''),
188 new _TestOptionSpecification(
189 'noBatch',
190 'Do not run browser tests in batch mode',
191 ['-n', '--nobatch'],
192 [],
193 false,
194 'bool')];
188 } 195 }
189 196
190 197
191 /** 198 /**
192 * Parse a list of strings as test options. 199 * Parse a list of strings as test options.
193 * 200 *
194 * Returns a list of configurations in which to run the 201 * Returns a list of configurations in which to run the
195 * tests. Configurations are maps mapping from option keys to 202 * tests. Configurations are maps mapping from option keys to
196 * values. When encountering the first non-option string, the rest 203 * values. When encountering the first non-option string, the rest
197 * of the arguments are stored in the returned Map under the 'rest' 204 * of the arguments are stored in the returned Map under the 'rest'
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 return option; 503 return option;
497 } 504 }
498 } 505 }
499 print('Unknown test option $name'); 506 print('Unknown test option $name');
500 exit(1); 507 exit(1);
501 } 508 }
502 509
503 510
504 List<_TestOptionSpecification> _options; 511 List<_TestOptionSpecification> _options;
505 } 512 }
OLDNEW
« no previous file with comments | « tools/testing/browser_README.txt ('k') | tools/testing/dart/test_runner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698