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

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

Issue 8771007: tools/test.dart: Add summary report of the number of tests with each expectation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/testing/dart/test_options.dart ('k') | tools/testing/dart/test_suite.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/test_progress.dart
diff --git a/tools/testing/dart/test_progress.dart b/tools/testing/dart/test_progress.dart
index 014e1433ed849704bb611936f572d0488bfbd371..ddee196e3a020687bba44e4eeb1f34023e29182d 100644
--- a/tools/testing/dart/test_progress.dart
+++ b/tools/testing/dart/test_progress.dart
@@ -5,6 +5,7 @@
#library("test_progress");
#import("test_runner.dart");
+#import("test_suite.dart");
class ProgressIndicator {
ProgressIndicator(this._startTime);
@@ -119,6 +120,7 @@ class CompactProgressIndicator extends ProgressIndicator {
CompactProgressIndicator(Date startTime) : super(startTime);
void allDone() {
+ SummaryReport.printReport();
stdout.write('\n'.charCodes());
stdout.close();
}
@@ -144,6 +146,7 @@ class LineProgressIndicator extends ProgressIndicator {
void allDone() {
_printStatus();
+ SummaryReport.printReport();
}
void _printStartProgress(TestCase test) {
@@ -164,6 +167,7 @@ class VerboseProgressIndicator extends ProgressIndicator {
void allDone() {
_printStatus();
+ SummaryReport.printReport();
}
void _printStartProgress(TestCase test) {
@@ -185,6 +189,7 @@ class StatusProgressIndicator extends ProgressIndicator {
void allDone() {
_printStatus();
+ SummaryReport.printReport();
}
void _printStartProgress(TestCase test) {
« no previous file with comments | « tools/testing/dart/test_options.dart ('k') | tools/testing/dart/test_suite.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698