Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(476)

Side by Side Diff: tools/testing/dart/test_options.dart

Issue 967883004: Replace string uses with code units in Json parser. (Closed) Base URL: git@github.com:dart-lang/fletch.git@master
Patch Set: non-optional comma Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/test.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "utils.dart"; 10 import "utils.dart";
11 import "compiler_configuration.dart" show CompilerConfiguration; 11 import "compiler_configuration.dart" show CompilerConfiguration;
12 import "runtime_configuration.dart" show RuntimeConfiguration; 12 import "runtime_configuration.dart" show RuntimeConfiguration;
13 13
14 const List<String> defaultTestSelectors = 14 const List<String> defaultTestSelectors =
15 const ['language', 'corelib', 'unsorted', 'coroutine', 'ffi', 'io']; 15 const ['language', 'corelib', 'unsorted', 'coroutine', 'ffi', 'io',
16 'samples'];
16 17
17 /** 18 /**
18 * Specification of a single test option. 19 * Specification of a single test option.
19 * 20 *
20 * The name of the specification is used as the key for the option in 21 * The name of the specification is used as the key for the option in
21 * the Map returned from the [TestOptionParser] parse method. 22 * the Map returned from the [TestOptionParser] parse method.
22 */ 23 */
23 class _TestOptionSpecification { 24 class _TestOptionSpecification {
24 _TestOptionSpecification(this.name, 25 _TestOptionSpecification(this.name,
25 this.description, 26 this.description,
(...skipping 869 matching lines...) Expand 10 before | Expand all | Expand 10 after
895 return option; 896 return option;
896 } 897 }
897 } 898 }
898 print('Unknown test option $name'); 899 print('Unknown test option $name');
899 exit(1); 900 exit(1);
900 } 901 }
901 902
902 903
903 List<_TestOptionSpecification> _options; 904 List<_TestOptionSpecification> _options;
904 } 905 }
OLDNEW
« no previous file with comments | « tools/test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698