| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library unittest.configuration; | 5 library unittest.configuration; |
| 6 | 6 |
| 7 import 'package:unittest/unittest.dart' show TestCase, SimpleConfiguration; | 7 import 'package:unittest/unittest.dart' show TestCase, SimpleConfiguration; |
| 8 | 8 |
| 9 /// Describes the interface used by the unit test system for communicating the | 9 /// Describes the interface used by the unit test system for communicating the |
| 10 /// results of a test run. | 10 /// results of a test run. |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 void onDone(bool success) {} | 59 void onDone(bool success) {} |
| 60 | 60 |
| 61 /// Called with the result of all test cases. Browser tests commonly override | 61 /// Called with the result of all test cases. Browser tests commonly override |
| 62 /// this to reformat the output. | 62 /// this to reformat the output. |
| 63 /// | 63 /// |
| 64 /// When [uncaughtError] is not null, it contains an error that occured outsid
e | 64 /// When [uncaughtError] is not null, it contains an error that occured outsid
e |
| 65 /// of tests (e.g. setting up the test). | 65 /// of tests (e.g. setting up the test). |
| 66 void onSummary(int passed, int failed, int errors, List<TestCase> results, | 66 void onSummary(int passed, int failed, int errors, List<TestCase> results, |
| 67 String uncaughtError) {} | 67 String uncaughtError) {} |
| 68 } | 68 } |
| 69 | |
| OLD | NEW |