| Index: lib/unittest/config.dart
|
| diff --git a/lib/unittest/config.dart b/lib/unittest/config.dart
|
| index c0a2f78daddb6cc67c700d16e4233caa3121c5e7..88ecbf0765a0552f585247872723c1300cf3403e 100644
|
| --- a/lib/unittest/config.dart
|
| +++ b/lib/unittest/config.dart
|
| @@ -35,12 +35,8 @@ class Configuration {
|
| * Called with the result of all test cases. The default implementation prints
|
| * the result summary using the built-in [print] command. Browser tests
|
| * commonly override this to reformat the output.
|
| - *
|
| - * When [uncaughtError] is not null, it contains an error that occured outside
|
| - * of tests (e.g. setting up the test).
|
| */
|
| - void onDone(int passed, int failed, int errors, List<TestCase> results,
|
| - String uncaughtError) {
|
| + void onDone(int passed, int failed, int errors, List<TestCase> results) {
|
| // Print each test's result.
|
| for (final t in _tests) {
|
| print('${t.result.toUpperCase()}: ${t.description}');
|
| @@ -58,13 +54,10 @@ class Configuration {
|
| print('No tests found.');
|
| // This is considered a failure too: if this happens you probably have a
|
| // bug in your unit tests.
|
| - } else if (failed == 0 && errors == 0 && uncaughtError == null) {
|
| + } else if (failed == 0 && errors == 0) {
|
| print('All $passed tests passed.');
|
| success = true;
|
| } else {
|
| - if (uncaughtError != null) {
|
| - print('Top-level uncaught error: $uncaughtError');
|
| - }
|
| print('$passed PASSED, $failed FAILED, $errors ERRORS');
|
| }
|
|
|
|
|