Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 158 'time', | 158 'time', |
| 159 'Print timing information after running tests', | 159 'Print timing information after running tests', |
| 160 ['--time'], | 160 ['--time'], |
| 161 [], | 161 [], |
| 162 false, | 162 false, |
| 163 'bool'), | 163 'bool'), |
| 164 new _TestOptionSpecification( | 164 new _TestOptionSpecification( |
| 165 'browser', | 165 'browser', |
| 166 'Web browser to use on webdriver tests', | 166 'Web browser to use on webdriver tests', |
| 167 ['-b', '--browser'], | 167 ['-b', '--browser'], |
| 168 ['ff', 'chrome', 'safari', 'ie'], | 168 ['ff', 'chrome', 'safari', 'ie', 'opera'], |
|
Emily Fortuna
2012/02/10 19:08:19
lgtm! We'll also want to add this option to run_se
| |
| 169 'chrome'), | 169 'chrome'), |
| 170 new _TestOptionSpecification( | 170 new _TestOptionSpecification( |
| 171 'frog', | 171 'frog', |
| 172 'Path to frog executable', | 172 'Path to frog executable', |
| 173 ['--frog'], | 173 ['--frog'], |
| 174 [], | 174 [], |
| 175 ''), | 175 ''), |
| 176 new _TestOptionSpecification( | 176 new _TestOptionSpecification( |
| 177 'drt', | 177 'drt', |
| 178 'Path to DumpRenderTree executable', | 178 'Path to DumpRenderTree executable', |
| (...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 495 return option; | 495 return option; |
| 496 } | 496 } |
| 497 } | 497 } |
| 498 print('Unknown test option $name'); | 498 print('Unknown test option $name'); |
| 499 exit(1); | 499 exit(1); |
| 500 } | 500 } |
| 501 | 501 |
| 502 | 502 |
| 503 List<_TestOptionSpecification> _options; | 503 List<_TestOptionSpecification> _options; |
| 504 } | 504 } |
| OLD | NEW |