| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 import "dart:math"; | 8 import "dart:math"; |
| 9 import "drt_updater.dart"; | 9 import "drt_updater.dart"; |
| 10 import "test_suite.dart"; | 10 import "test_suite.dart"; |
| (...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 299 ['--write-debug-log'], | 299 ['--write-debug-log'], |
| 300 [], | 300 [], |
| 301 false, | 301 false, |
| 302 'bool' | 302 'bool' |
| 303 ), | 303 ), |
| 304 new _TestOptionSpecification( | 304 new _TestOptionSpecification( |
| 305 'use_browser_controller', | 305 'use_browser_controller', |
| 306 'Use the new selenium replacement browser-controller.', | 306 'Use the new selenium replacement browser-controller.', |
| 307 ['--use_browser_controller'], | 307 ['--use_browser_controller'], |
| 308 [], | 308 [], |
| 309 false, | 309 true, |
| 310 'bool' | 310 'bool' |
| 311 ), | 311 ), |
| 312 new _TestOptionSpecification( | 312 new _TestOptionSpecification( |
| 313 'clear_safari_cache', | 313 'clear_safari_cache', |
| 314 'Clear the safari cache (i.e., delete it).', | 314 'Clear the safari cache (i.e., delete it).', |
| 315 ['--clear_safari_cache'], | 315 ['--clear_safari_cache'], |
| 316 [], | 316 [], |
| 317 false, | 317 false, |
| 318 'bool' | 318 'bool' |
| 319 ), | 319 ), |
| (...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 798 return option; | 798 return option; |
| 799 } | 799 } |
| 800 } | 800 } |
| 801 print('Unknown test option $name'); | 801 print('Unknown test option $name'); |
| 802 exit(1); | 802 exit(1); |
| 803 } | 803 } |
| 804 | 804 |
| 805 | 805 |
| 806 List<_TestOptionSpecification> _options; | 806 List<_TestOptionSpecification> _options; |
| 807 } | 807 } |
| OLD | NEW |