Index: pkg/unittest/lib/html_config.dart |
diff --git a/pkg/unittest/lib/html_config.dart b/pkg/unittest/lib/html_config.dart |
index de727f3d3646868ce3d4fb6d47c0ce29d87a0aa4..b27aab9789ab6bdabc30e1b19781cea12ad0eae7 100644 |
--- a/pkg/unittest/lib/html_config.dart |
+++ b/pkg/unittest/lib/html_config.dart |
@@ -131,11 +131,14 @@ class HtmlConfiguration extends Configuration { |
void onTestResult(TestCase testCase) {} |
- void onDone(int passed, int failed, int errors, List<TestCase> results, |
+ void onSummary(int passed, int failed, int errors, List<TestCase> results, |
String uncaughtError) { |
- _uninstallHandlers(); |
_showResultsInPage(passed, failed, errors, results, _isLayoutTest, |
uncaughtError); |
+ } |
+ |
+ void onDone(bool success) { |
+ _uninstallHandlers(); |
window.postMessage('unittest-suite-done', '*'); |
} |
} |