Summary
- Make it easier to diagnose mock failures by printing message sends properly and storing the send history in the mock (details)
- Reworked MockMessageSend printon so that it's display matches that of a normal messsage send, making it easier to compare in the debugger on a failure. (simpler is better) (details)
The file was modified | src/SUnit-MockObjects/MockObject.class.st (diff) |
The file was modified | src/SUnit-MockObjects/MockMessageSend.class.st (diff) |
The file was added | src/SUnit-MockObjects-Tests/MockMessageSendTest.class.st |
The file was modified | src/SUnit-MockObjects-Tests/MockMessageSendTest.class.st (diff) |
The file was modified | src/SUnit-MockObjects/MockMessageSend.class.st (diff) |