| 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 List<String> defaultTestSelectors = | 7 List<String> defaultTestSelectors = |
| 8 const ['samples', 'standalone', 'corelib', 'co19', 'language', | 8 const ['samples', 'standalone', 'corelib', 'co19', 'language', |
| 9 'isolate', 'stub-generator', 'vm']; | 9 'isolate', 'stub-generator', 'vm']; |
| 10 | 10 |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 'timeout', | 75 'timeout', |
| 76 'Timeout in seconds', | 76 'Timeout in seconds', |
| 77 ['-t', '--timeout'], | 77 ['-t', '--timeout'], |
| 78 [], | 78 [], |
| 79 -1, | 79 -1, |
| 80 'int'), | 80 'int'), |
| 81 new _TestOptionSpecification( | 81 new _TestOptionSpecification( |
| 82 'progress', | 82 'progress', |
| 83 'Progress indication mode', | 83 'Progress indication mode', |
| 84 ['-p', '--progress'], | 84 ['-p', '--progress'], |
| 85 ['compact', 'line', 'verbose', 'status', 'buildbot'], | 85 ['compact', 'color', 'line', 'verbose', 'status', 'buildbot'], |
| 86 'compact'), | 86 'compact'), |
| 87 new _TestOptionSpecification( | 87 new _TestOptionSpecification( |
| 88 'report', | 88 'report', |
| 89 'Print a summary report of the number of tests, by expectation.', | 89 'Print a summary report of the number of tests, by expectation.', |
| 90 ['--report'], | 90 ['--report'], |
| 91 [], | 91 [], |
| 92 false, | 92 false, |
| 93 'bool'), | 93 'bool'), |
| 94 new _TestOptionSpecification( | 94 new _TestOptionSpecification( |
| 95 'tasks', | 95 'tasks', |
| (...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 366 if (option.keys.some((key) => key == name)) { | 366 if (option.keys.some((key) => key == name)) { |
| 367 return option; | 367 return option; |
| 368 } | 368 } |
| 369 } | 369 } |
| 370 return null; | 370 return null; |
| 371 } | 371 } |
| 372 | 372 |
| 373 | 373 |
| 374 List<_TestOptionSpecification> _options; | 374 List<_TestOptionSpecification> _options; |
| 375 } | 375 } |
| OLD | NEW |