Index: pkg/unittest/lib/compact_vm_config.dart |
diff --git a/pkg/unittest/lib/compact_vm_config.dart b/pkg/unittest/lib/compact_vm_config.dart |
index 69560ac08861eef484e61b1bf8753bd8145f3fc6..c531d80d8a2c554638a44441b44896983220a771 100644 |
--- a/pkg/unittest/lib/compact_vm_config.dart |
+++ b/pkg/unittest/lib/compact_vm_config.dart |
@@ -67,6 +67,20 @@ class CompactVMConfiguration extends VMConfiguration { |
} |
} |
+ void onTestResultChanged(TestCase test) { |
+ _pass--; |
+ _fail++; |
+ _progressLine(_start, _pass, _fail, test.description); |
+ print(''); |
+ if (test.message != '') { |
+ print(indent(test.message)); |
+ } |
+ |
+ if (test.stackTrace != null) { |
+ print(indent(test.stackTrace.toString())); |
+ } |
+ } |
+ |
void onDone(bool success) { |
// Override and don't call the superclass onDone() to avoid printing the |
// "unittest-suite-..." boilerplate. |