Index: pkg/unittest/lib/html_enhanced_config.dart |
diff --git a/pkg/unittest/lib/html_enhanced_config.dart b/pkg/unittest/lib/html_enhanced_config.dart |
index 91309dfbaf6cb65985efceb8193c9405163b38f8..94e097401c151f65350733d02bb6421d06531da5 100644 |
--- a/pkg/unittest/lib/html_enhanced_config.dart |
+++ b/pkg/unittest/lib/html_enhanced_config.dart |
@@ -76,13 +76,14 @@ class HtmlEnhancedConfiguration 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(); |
- |
_showInteractiveResultsInPage(passed, failed, errors, results, |
_isLayoutTest, uncaughtError); |
+ } |
+ void onDone(bool success) { |
+ _uninstallHandlers(); |
window.postMessage('unittest-suite-done', '*'); |
} |