Chromium Code Reviews| Index: tools/testing/dart/test_progress.dart |
| diff --git a/tools/testing/dart/test_progress.dart b/tools/testing/dart/test_progress.dart |
| index 359b2a1eeba6c3b8b9679c2005ba056ae11e6a7b..2fb056b0cae5080dc4b3117c262622e49053dbff 100644 |
| --- a/tools/testing/dart/test_progress.dart |
| +++ b/tools/testing/dart/test_progress.dart |
| @@ -167,6 +167,16 @@ class CompactIndicator extends ProgressIndicator { |
| exit(_failedTests > 0 ? 1 : 0); |
| } |
| + void allTestsKnown() { |
|
Bill Hesse
2012/01/12 12:53:36
Put a comment that this is a function override?
|
| + if (!_allTestsKnown) { |
| + // Clear progress indicator before printing summary report. |
| + stdout.write( |
| + '\r \r'.charCodes()); |
|
Anders Johnsen
2012/01/12 14:25:25
Are we sure this number of spaces are sufficient?
|
| + SummaryReport.printReport(); |
| + } |
| + _allTestsKnown = true; |
| + } |
| + |
| void _printStartProgress(TestCase test) => _printProgress(); |
| void _printDoneProgress(TestCase test) => _printProgress(); |