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 'simple_configuration.dart'; | 7 import 'simple_configuration.dart'; |
8 import 'test_case.dart'; | 8 import 'test_case.dart'; |
9 | 9 |
10 /// Describes the interface used by the unit test system for communicating the | 10 /// Describes the interface used by the unit test system for communicating the |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 void onDone(bool success) {} | 60 void onDone(bool success) {} |
61 | 61 |
62 /// Called with the result of all test cases. Browser tests commonly override | 62 /// Called with the result of all test cases. Browser tests commonly override |
63 /// this to reformat the output. | 63 /// this to reformat the output. |
64 /// | 64 /// |
65 /// When [uncaughtError] is not null, it contains an error that occured outsid
e | 65 /// When [uncaughtError] is not null, it contains an error that occured outsid
e |
66 /// of tests (e.g. setting up the test). | 66 /// of tests (e.g. setting up the test). |
67 void onSummary(int passed, int failed, int errors, List<TestCase> results, | 67 void onSummary(int passed, int failed, int errors, List<TestCase> results, |
68 String uncaughtError) {} | 68 String uncaughtError) {} |
69 } | 69 } |
OLD | NEW |