Blogged : "Mocking Multiple Interfaces - Delphi Mocks"
Blogged : "Mocking Multiple Interfaces - Delphi Mocks"
Pushed an update to Delphi Mocks today which allows easier mocking for multiple interfaces. Also made a quick little blog post about it. Enjoy!
#delphi #delphi-mocks #unittesting
http://www.finalbuilder.com/resources/blogs/postid/716/mocking-multiple-interfaces-delphi-mocks
http://www.finalbuilder.com/resources/blogs/postid/716/mocking-multiple-interfaces-delphi-mocks
Pushed an update to Delphi Mocks today which allows easier mocking for multiple interfaces. Also made a quick little blog post about it. Enjoy!
#delphi #delphi-mocks #unittesting
http://www.finalbuilder.com/resources/blogs/postid/716/mocking-multiple-interfaces-delphi-mocks
http://www.finalbuilder.com/resources/blogs/postid/716/mocking-multiple-interfaces-delphi-mocks
Sounds interesting. My implementation isn't as neat as I would like. Having a container class which owns all the interfaces would be an improvement. Then it's a simple matter of making sure the container is always alive.
ReplyDeleteJason Duffy Smith TIC: Global variable :-P
ReplyDeleteNeat!
ReplyDeleteNitpicking:
s/TProjectSaveCheckVisitor/TProjectSaveCheck/