Index: lib/unittest/test_case.dart |
=================================================================== |
--- lib/unittest/test_case.dart (revision 9562) |
+++ lib/unittest/test_case.dart (working copy) |
@@ -67,17 +67,20 @@ |
void pass() { |
result = _PASS; |
+ _config.onTestResult(this); |
} |
void fail(String message, String stackTrace) { |
result = _FAIL; |
this.message = message; |
this.stackTrace = stackTrace; |
+ _config.onTestResult(this); |
} |
void error(String message, String stackTrace) { |
result = _ERROR; |
this.message = message; |
this.stackTrace = stackTrace; |
+ _config.onTestResult(this); |
} |
} |