tag:blogger.com,1999:blog-1532151022505671498.post729162851662622835..comments2023-11-24T22:28:36.140+01:00Comments on Delphi sorcery: Pimp your unit tests using mock objectsStefan Glienkehttp://www.blogger.com/profile/05509404049325709406noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-1532151022505671498.post-5648165153000698222011-10-10T08:31:11.938+02:002011-10-10T08:31:11.938+02:00I looked at that (PascalMockRio.pas where the actu...I looked at that (PascalMockRio.pas where the actual work happens) and it basically does what recent versions of Delphi brought in the Rtti.pas (like creating the asm stubs to invoke the methods and much more). That's basically little beyond my knowledge tbh ;)Stefan Glienkehttps://www.blogger.com/profile/09320735081289619570noreply@blogger.comtag:blogger.com,1999:blog-1532151022505671498.post-48225982485245171972011-10-10T00:25:38.046+02:002011-10-10T00:25:38.046+02:00For compatibility with older Delphi versions, you ...For compatibility with older Delphi versions, you can inspire from what PascalMock do http://pascalmock.cvs.sourceforge.net/viewvc/pascalmock/PascalMock/AutoMockIntf.pas?view=markupDenis A.https://www.blogger.com/profile/11279602425590683699noreply@blogger.comtag:blogger.com,1999:blog-1532151022505671498.post-53733674787628924592011-09-20T01:25:46.710+02:002011-09-20T01:25:46.710+02:00It's definitely and idea who's time has co...It's definitely and idea who's time has come, XE & XE2 brought some of the missing enabling technology to the table. I would never have attempted to get something like this going before, although I have wanted to for many years. The real challenge is how to enable it now for earlier versions without using XE2's code ;)Vincent Parretthttps://www.blogger.com/profile/08639305953732404290noreply@blogger.comtag:blogger.com,1999:blog-1532151022505671498.post-68649973198981767672011-09-19T17:16:25.831+02:002011-09-19T17:16:25.831+02:00Actually I think it was possible before since Hall...Actually I think it was possible before since Hallvard did that already more than 5 years ago and some things have been in Delphi for ages (all that soap stuff for example). It was just hard to use and required some advanced knowledge. Actually I think Vincent has the intention to implement the required classes also for down to Delphi 2010 to make such amazing techniques available for people that don't use the latest version of Delphi.Stefan Glienkehttps://www.blogger.com/profile/09320735081289619570noreply@blogger.comtag:blogger.com,1999:blog-1532151022505671498.post-64866926667451650732011-09-19T13:22:59.001+02:002011-09-19T13:22:59.001+02:00I didn't even thought about one of you copying...I didn't even thought about one of you copying from the other. It is more likely that the necessary tools for such things are available now and people can to implement things that were difficult before, if not impossible at all.Uwe Raabehttps://www.blogger.com/profile/08727704609084298159noreply@blogger.comtag:blogger.com,1999:blog-1532151022505671498.post-4853286342622678042011-09-19T11:00:49.862+02:002011-09-19T11:00:49.862+02:00Funny, isn't it? But we both did not copy from...Funny, isn't it? But we both did not copy from each other - great minds thing alike I guess ;)Stefan Glienkehttps://www.blogger.com/profile/09320735081289619570noreply@blogger.comtag:blogger.com,1999:blog-1532151022505671498.post-64810124990911929602011-09-19T10:30:38.991+02:002011-09-19T10:30:38.991+02:00What a conicidence: http://www.finalbuilder.com/Re...What a conicidence: http://www.finalbuilder.com/Resources/Blogs/tabid/458/EntryId/287/Introducing-Delphi-Mocks.aspxUwe Raabehttps://www.blogger.com/profile/08727704609084298159noreply@blogger.com