| 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 ['dartc', 'samples', 'standalone', 'corelib', 'co19', 'language', | 8 const ['dartc', 'samples', 'standalone', 'corelib', 'co19', 'language', |
| 9 'isolate', 'stub-generator', 'vm', 'client']; | 9 'isolate', 'stub-generator', 'vm', 'client', 'dartdoc']; |
| 10 | 10 |
| 11 /** | 11 /** |
| 12 * Specification of a single test option. | 12 * Specification of a single test option. |
| 13 * | 13 * |
| 14 * 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 |
| 15 * the Map returned from the [TestOptionParser] parse method. | 15 * the Map returned from the [TestOptionParser] parse method. |
| 16 */ | 16 */ |
| 17 class _TestOptionSpecification { | 17 class _TestOptionSpecification { |
| 18 _TestOptionSpecification(this.name, | 18 _TestOptionSpecification(this.name, |
| 19 this.description, | 19 this.description, |
| (...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 465 return option; | 465 return option; |
| 466 } | 466 } |
| 467 } | 467 } |
| 468 print('Unknown test option $name'); | 468 print('Unknown test option $name'); |
| 469 exit(1); | 469 exit(1); |
| 470 } | 470 } |
| 471 | 471 |
| 472 | 472 |
| 473 List<_TestOptionSpecification> _options; | 473 List<_TestOptionSpecification> _options; |
| 474 } | 474 } |
| OLD | NEW |