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

Unified Diff: tools/testing/dart/test_runner.dart

Issue 8609012: Fix timing of both dart and python test scripts. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: tools/testing/dart/test_runner.dart
diff --git a/tools/testing/dart/test_runner.dart b/tools/testing/dart/test_runner.dart
index 5ca47fcb3b69700e1a1a352e1510ccddc7893b1d..65757bc0b5620ef222b162168cc8674d0040df83 100644
--- a/tools/testing/dart/test_runner.dart
+++ b/tools/testing/dart/test_runner.dart
@@ -191,10 +191,12 @@ class ProcessQueue {
ProgressIndicator progress;
var onDone;
- ProcessQueue(Map configuration, this.onDone)
+ ProcessQueue(int this.maxProcesses,
+ String progress,
+ Date start_time,
+ this.onDone)
: tests = new Queue<TestCase>(),
- maxProcesses = configuration['tasks'],
- progress = new ProgressIndicator.fromName(configuration['progress']);
+ progress = new ProgressIndicator.fromName(progress, start_time);
tryRunTest() {
if (tests.isEmpty() && numProcesses == 0) {
« tools/testing/dart/test_progress.dart ('K') | « tools/testing/dart/test_progress.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698