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

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

Issue 8528025: Implement more progress modes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address review comments 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 2b0bc37ca88d03162f216fc55d9ef351d0d741c5..b7767ced45c3d161f8596d8b939ac72df5f2b18a 100644
--- a/tools/testing/dart/test_runner.dart
+++ b/tools/testing/dart/test_runner.dart
@@ -184,10 +184,11 @@ class ProcessQueue {
ProcessQueue(Map configuration, this.onDone)
: tests = new Queue<TestCase>(),
maxProcesses = configuration['tasks'],
- progress = new CompactProgressIndicator();
+ progress = new ProgressIndicator.fromName(configuration['progress']);
tryRunTest() {
if (tests.isEmpty() && numProcesses == 0) {
+ progress.allDone();
onDone();
}
if (numProcesses < maxProcesses && !tests.isEmpty()) {
« 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