Skip to content
Unstable

Changes

Summary

  1. Make it easier to diagnose mock failures by printing message sends properly and storing the send history in the mock (details)
  2. 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)
Commit 7738c5521efdde5020f26769d0d6afe021c3cba5 by macta
Make it easier to diagnose mock failures by printing message sends properly and storing the send history in the mock
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 addedsrc/SUnit-MockObjects-Tests/MockMessageSendTest.class.st
Commit e6b60ddc2915db306f964f249d9f7106acb2031f by macta
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)
The file was modified src/SUnit-MockObjects-Tests/MockMessageSendTest.class.st (diff)
The file was modified src/SUnit-MockObjects/MockMessageSend.class.st (diff)