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

Side by Side Diff: tools/test.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 | « samples/buildbot/tests/json_test.dart ('k') | tools/testing/dart/test_options.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env dart 1 #!/usr/bin/env dart
2 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 2 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
3 // for details. All rights reserved. Use of this source code is governed by a 3 // for details. All rights reserved. Use of this source code is governed by a
4 // BSD-style license that can be found in the LICENSE file. 4 // BSD-style license that can be found in the LICENSE file.
5 5
6 /** 6 /**
7 * This file is the entrypoint of the dart test suite. This suite is used 7 * This file is the entrypoint of the dart test suite. This suite is used
8 * to test: 8 * to test:
9 * 9 *
10 * 1. the dart vm 10 * 1. the dart vm
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 */ 51 */
52 final TEST_SUITE_DIRECTORIES = [ 52 final TEST_SUITE_DIRECTORIES = [
53 new Path('tests/corelib'), 53 new Path('tests/corelib'),
54 new Path('tests/coroutine'), 54 new Path('tests/coroutine'),
55 new Path('tests/ffi'), 55 new Path('tests/ffi'),
56 new Path('tests/io'), 56 new Path('tests/io'),
57 new Path('tests/isolate'), 57 new Path('tests/isolate'),
58 new Path('tests/unsorted'), 58 new Path('tests/unsorted'),
59 new Path('tests/language'), 59 new Path('tests/language'),
60 new Path('tests/simple_system'), 60 new Path('tests/simple_system'),
61 new Path('samples'),
61 ]; 62 ];
62 63
63 void testConfigurations(List<Map> configurations) { 64 void testConfigurations(List<Map> configurations) {
64 var startTime = new DateTime.now(); 65 var startTime = new DateTime.now();
65 // Extract global options from first configuration. 66 // Extract global options from first configuration.
66 var firstConf = configurations[0]; 67 var firstConf = configurations[0];
67 var maxProcesses = firstConf['tasks']; 68 var maxProcesses = firstConf['tasks'];
68 var progressIndicator = firstConf['progress']; 69 var progressIndicator = firstConf['progress'];
69 // TODO(kustermann): Remove this option once the buildbots don't use it 70 // TODO(kustermann): Remove this option once the buildbots don't use it
70 // anymore. 71 // anymore.
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 TestUtils.setDartDirUri(Platform.script.resolve('..')); 286 TestUtils.setDartDirUri(Platform.script.resolve('..'));
286 deleteTemporaryDartDirectories().then((_) { 287 deleteTemporaryDartDirectories().then((_) {
287 var optionsParser = new TestOptionsParser(); 288 var optionsParser = new TestOptionsParser();
288 var configurations = optionsParser.parse(arguments); 289 var configurations = optionsParser.parse(arguments);
289 if (configurations != null && configurations.length > 0) { 290 if (configurations != null && configurations.length > 0) {
290 testConfigurations(configurations); 291 testConfigurations(configurations);
291 } 292 }
292 }); 293 });
293 } 294 }
294 295
OLDNEW
« no previous file with comments | « samples/buildbot/tests/json_test.dart ('k') | tools/testing/dart/test_options.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698