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

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

Issue 11867024: Move some core classes to collection library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status files with bug number. Created 7 years, 11 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
« no previous file with comments | « tests/corelib/queue_test.dart ('k') | utils/pub/version_solver.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 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 /** 5 /**
6 * Classes and methods for executing tests. 6 * Classes and methods for executing tests.
7 * 7 *
8 * This module includes: 8 * This module includes:
9 * - Managing parallel execution of tests, including timeout checks. 9 * - Managing parallel execution of tests, including timeout checks.
10 * - Evaluating the output of each test as pass/fail/crash/timeout. 10 * - Evaluating the output of each test as pass/fail/crash/timeout.
11 */ 11 */
12 library test_runner; 12 library test_runner;
13 13
14 import "dart:async"; 14 import "dart:async";
15 import "dart:collection" show Queue;
15 // We need to use the 'io' prefix here, otherwise io.exitCode will shadow 16 // We need to use the 'io' prefix here, otherwise io.exitCode will shadow
16 // CommandOutput.exitCode in subclasses of CommandOutput. 17 // CommandOutput.exitCode in subclasses of CommandOutput.
17 import "dart:io" as io; 18 import "dart:io" as io;
18 import "dart:isolate"; 19 import "dart:isolate";
19 import "dart:uri"; 20 import "dart:uri";
20 import "http_server.dart" as http_server; 21 import "http_server.dart" as http_server;
21 import "status_file_parser.dart"; 22 import "status_file_parser.dart";
22 import "test_progress.dart"; 23 import "test_progress.dart";
23 import "test_suite.dart"; 24 import "test_suite.dart";
24 import "utils.dart"; 25 import "utils.dart";
(...skipping 1721 matching lines...) Expand 10 before | Expand all | Expand 10 after
1746 // the developer doesn't waste his or her time trying to fix a bunch of 1747 // the developer doesn't waste his or her time trying to fix a bunch of
1747 // tests that appear to be broken but were actually just flakes that 1748 // tests that appear to be broken but were actually just flakes that
1748 // didn't get retried because there had already been one failure. 1749 // didn't get retried because there had already been one failure.
1749 bool allowRetry = _MAX_FAILED_NO_RETRY > _progress.numFailedTests; 1750 bool allowRetry = _MAX_FAILED_NO_RETRY > _progress.numFailedTests;
1750 new RunningProcess(test, allowRetry, this).start(); 1751 new RunningProcess(test, allowRetry, this).start();
1751 } 1752 }
1752 _numProcesses++; 1753 _numProcesses++;
1753 } 1754 }
1754 } 1755 }
1755 } 1756 }
OLDNEW
« no previous file with comments | « tests/corelib/queue_test.dart ('k') | utils/pub/version_solver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698