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

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

Issue 9572007: Revert "Adding webdriver setup script." (Closed) Base URL: https://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')];
195 } 188 }
196 189
197 190
198 /** 191 /**
199 * Parse a list of strings as test options. 192 * Parse a list of strings as test options.
200 * 193 *
201 * Returns a list of configurations in which to run the 194 * Returns a list of configurations in which to run the
202 * tests. Configurations are maps mapping from option keys to 195 * tests. Configurations are maps mapping from option keys to
203 * values. When encountering the first non-option string, the rest 196 * values. When encountering the first non-option string, the rest
204 * of the arguments are stored in the returned Map under the 'rest' 197 * of the arguments are stored in the returned Map under the 'rest'
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 return option; 496 return option;
504 } 497 }
505 } 498 }
506 print('Unknown test option $name'); 499 print('Unknown test option $name');
507 exit(1); 500 exit(1);
508 } 501 }
509 502
510 503
511 List<_TestOptionSpecification> _options; 504 List<_TestOptionSpecification> _options;
512 } 505 }
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