OLD | NEW |
1 part of unittest; | |
2 | |
3 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
4 // 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 |
5 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
6 | 4 |
7 /** | 5 /** |
8 * The error formatter for mocking is a bit different from the default one | 6 * The error formatter for mocking is a bit different from the default one |
9 * for unit testing; instead of the third argument being a 'reason' | 7 * for unit testing; instead of the third argument being a 'reason' |
10 * it is instead a [signature] describing the method signature filter | 8 * it is instead a [signature] describing the method signature filter |
11 * that was used to select the logs that were verified. | 9 * that was used to select the logs that were verified. |
12 */ | 10 */ |
(...skipping 1439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1452 } | 1450 } |
1453 } | 1451 } |
1454 } | 1452 } |
1455 | 1453 |
1456 /** Clear both logs and behavior. */ | 1454 /** Clear both logs and behavior. */ |
1457 void reset() { | 1455 void reset() { |
1458 resetBehavior(); | 1456 resetBehavior(); |
1459 clearLogs(); | 1457 clearLogs(); |
1460 } | 1458 } |
1461 } | 1459 } |
OLD | NEW |