| 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 "drt_updater.dart"; | 8 import "drt_updater.dart"; |
| 9 import "test_suite.dart"; | 9 import "test_suite.dart"; |
| 10 import "path.dart"; | 10 import "path.dart"; |
| (...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 369 new _TestOptionSpecification( | 369 new _TestOptionSpecification( |
| 370 'write_debug_log', | 370 'write_debug_log', |
| 371 'Don\'t write debug messages to stdout but rather to a logfile.', | 371 'Don\'t write debug messages to stdout but rather to a logfile.', |
| 372 ['--write-debug-log'], | 372 ['--write-debug-log'], |
| 373 [], | 373 [], |
| 374 false, | 374 false, |
| 375 type: 'bool'), | 375 type: 'bool'), |
| 376 new _TestOptionSpecification( | 376 new _TestOptionSpecification( |
| 377 'write_test_outcome_log', | 377 'write_test_outcome_log', |
| 378 'Write the outcome of all tests executed to a ' | 378 'Write the outcome of all tests executed to a ' |
| 379 '"${TestUtils.testOutcomeFileName()}" file.', | 379 '"${TestUtils.testOutcomeFileName}" file.', |
| 380 ['--write-test-outcome-log'], | 380 ['--write-test-outcome-log'], |
| 381 [], | 381 [], |
| 382 false, | 382 false, |
| 383 type: 'bool'), | 383 type: 'bool'), |
| 384 new _TestOptionSpecification( | 384 new _TestOptionSpecification( |
| 385 'reset_browser_configuration', | 385 'reset_browser_configuration', |
| 386 'Browser specific reset of configuration. ' | 386 'Browser specific reset of configuration. ' |
| 387 'WARNING: Using this option may remove your bookmarks and ' | 387 'WARNING: Using this option may remove your bookmarks and ' |
| 388 'other settings.', | 388 'other settings.', |
| 389 ['--reset-browser-configuration'], | 389 ['--reset-browser-configuration'], |
| (...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1004 return option; | 1004 return option; |
| 1005 } | 1005 } |
| 1006 } | 1006 } |
| 1007 print('Unknown test option $name'); | 1007 print('Unknown test option $name'); |
| 1008 exit(1); | 1008 exit(1); |
| 1009 return null; // Unreachable. | 1009 return null; // Unreachable. |
| 1010 } | 1010 } |
| 1011 | 1011 |
| 1012 List<_TestOptionSpecification> _options; | 1012 List<_TestOptionSpecification> _options; |
| 1013 } | 1013 } |
| OLD | NEW |