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

Side by Side Diff: tools/test.dart

Issue 770633003: tools: removed unused members, tiny cleanup (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years 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
« no previous file with comments | « no previous file | tools/testing/dart/multitest.dart » ('j') | tools/testing/dart/test_suite.dart » ('J')
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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 // [firstConf] is needed here, since the ProcessQueue needs to know the 291 // [firstConf] is needed here, since the ProcessQueue needs to know the
292 // settings of 'noBatch' and 'local_ip' 292 // settings of 'noBatch' and 'local_ip'
293 new ProcessQueue(firstConf, 293 new ProcessQueue(firstConf,
294 maxProcesses, 294 maxProcesses,
295 maxBrowserProcesses, 295 maxBrowserProcesses,
296 startTime, 296 startTime,
297 testSuites, 297 testSuites,
298 eventListener, 298 eventListener,
299 allTestsFinished, 299 allTestsFinished,
300 verbose, 300 verbose,
301 listTests,
302 recordingPath, 301 recordingPath,
303 recordingOutputPath); 302 recordingOutputPath);
304 } 303 }
305 304
306 // Start all the HTTP servers required before starting the process queue. 305 // Start all the HTTP servers required before starting the process queue.
307 if (serverFutures.isEmpty) { 306 if (serverFutures.isEmpty) {
308 startProcessQueue(); 307 startProcessQueue();
309 } else { 308 } else {
310 Future.wait(serverFutures).then((_) => startProcessQueue()); 309 Future.wait(serverFutures).then((_) => startProcessQueue());
311 } 310 }
(...skipping 22 matching lines...) Expand all
334 TestUtils.setDartDirUri(Platform.script.resolve('..')); 333 TestUtils.setDartDirUri(Platform.script.resolve('..'));
335 deleteTemporaryDartDirectories().then((_) { 334 deleteTemporaryDartDirectories().then((_) {
336 var optionsParser = new TestOptionsParser(); 335 var optionsParser = new TestOptionsParser();
337 var configurations = optionsParser.parse(arguments); 336 var configurations = optionsParser.parse(arguments);
338 if (configurations != null && configurations.length > 0) { 337 if (configurations != null && configurations.length > 0) {
339 testConfigurations(configurations); 338 testConfigurations(configurations);
340 } 339 }
341 }); 340 });
342 } 341 }
343 342
OLDNEW
« no previous file with comments | « no previous file | tools/testing/dart/multitest.dart » ('j') | tools/testing/dart/test_suite.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698