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

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

Issue 9662063: Fix some type and logical errors in test.dart, found by the Dart editor. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | Annotate | Revision Log
OLDNEW
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 #import("dart:io"); 7 #import("dart:io");
8 #import("dart:builtin");
8 9
9 List<String> defaultTestSelectors = 10 List<String> defaultTestSelectors =
10 const ['dartc', 'samples', 'standalone', 'corelib', 'co19', 'language', 11 const ['dartc', 'samples', 'standalone', 'corelib', 'co19', 'language',
11 'isolate', 'vm', 'client', 'dartdoc', 'utils']; 12 'isolate', 'vm', 'client', 'dartdoc', 'utils'];
12 13
13 /** 14 /**
14 * Specification of a single test option. 15 * Specification of a single test option.
15 * 16 *
16 * The name of the specification is used as the key for the option in 17 * The name of the specification is used as the key for the option in
17 * the Map returned from the [TestOptionParser] parse method. 18 * the Map returned from the [TestOptionParser] parse method.
(...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after
536 return option; 537 return option;
537 } 538 }
538 } 539 }
539 print('Unknown test option $name'); 540 print('Unknown test option $name');
540 exit(1); 541 exit(1);
541 } 542 }
542 543
543 544
544 List<_TestOptionSpecification> _options; 545 List<_TestOptionSpecification> _options;
545 } 546 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698