Vote UpVote

Mocking Multiple Interfaces - Delphi Mocks

VSoft Technologies – Today we updated Delphi Mocks to enable the Mocking of multiple interfaces. This is useful when the interface you wish to Mock is cast to another interface during testing. For example you could have the following system you wish to test. type {$M+} IVisitor = interface; IElement = interface ['{A2F4744E-7ED3-4DE3-B1E4-5D6C256ACBF0}'] procedure Accept(const AVisitor : IVisitor); end; IVisitor = interface ['{0D150F9C-909A-413E-B29E-4B869C6BC309}'] procedure Visit(const AElement : IElement); end; IProject = interface ['{807AF964-E937-4A8A-A3D2-34074EF66EE8}'] ...
Favorite? Off-Topic? 2014-07-15 08:01


Visits: 25
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)