| 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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 ), | 295 ), |
| 296 new _TestOptionSpecification( | 296 new _TestOptionSpecification( |
| 297 'write_debug_log', | 297 'write_debug_log', |
| 298 'Don\'t write debug messages to stdout but rather to a logfile.', | 298 'Don\'t write debug messages to stdout but rather to a logfile.', |
| 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', | |
| 306 'Use the new selenium replacement browser-controller.', | |
| 307 ['--use_browser_controller'], | |
| 308 [], | |
| 309 true, | |
| 310 'bool' | |
| 311 ), | |
| 312 new _TestOptionSpecification( | |
| 313 'clear_safari_cache', | 305 'clear_safari_cache', |
| 314 'Clear the safari cache (i.e., delete it).', | 306 'Clear the safari cache (i.e., delete it).', |
| 315 ['--clear_safari_cache'], | 307 ['--clear_safari_cache'], |
| 316 [], | 308 [], |
| 317 false, | 309 false, |
| 318 'bool' | 310 'bool' |
| 319 ), | 311 ), |
| 320 new _TestOptionSpecification( | 312 new _TestOptionSpecification( |
| 321 'local_ip', | 313 'local_ip', |
| 322 'IP address the http servers should listen on.' | 314 'IP address the http servers should listen on.' |
| (...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 798 return option; | 790 return option; |
| 799 } | 791 } |
| 800 } | 792 } |
| 801 print('Unknown test option $name'); | 793 print('Unknown test option $name'); |
| 802 exit(1); | 794 exit(1); |
| 803 } | 795 } |
| 804 | 796 |
| 805 | 797 |
| 806 List<_TestOptionSpecification> _options; | 798 List<_TestOptionSpecification> _options; |
| 807 } | 799 } |
| OLD | NEW |