| 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 ['standalone', 'corelib', 'co19', 'language', 'isolate']; | 8 const ['standalone', 'corelib', 'co19', 'language', |
| 9 'isolate', 'stub-generator']; |
| 9 | 10 |
| 10 /** | 11 /** |
| 11 * Specification of a single test option. | 12 * Specification of a single test option. |
| 12 * | 13 * |
| 13 * The name of the specification is used as the key for the option in | 14 * The name of the specification is used as the key for the option in |
| 14 * the Map returned from the [TestOptionParser] parse method. | 15 * the Map returned from the [TestOptionParser] parse method. |
| 15 */ | 16 */ |
| 16 class _TestOptionSpecification { | 17 class _TestOptionSpecification { |
| 17 _TestOptionSpecification(this.name, | 18 _TestOptionSpecification(this.name, |
| 18 this.description, | 19 this.description, |
| (...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 332 if (option.keys.some((key) => key == name)) { | 333 if (option.keys.some((key) => key == name)) { |
| 333 return option; | 334 return option; |
| 334 } | 335 } |
| 335 } | 336 } |
| 336 return null; | 337 return null; |
| 337 } | 338 } |
| 338 | 339 |
| 339 | 340 |
| 340 List<_TestOptionSpecification> _options; | 341 List<_TestOptionSpecification> _options; |
| 341 } | 342 } |
| OLD | NEW |