Vote UpVote

Delphi-Mocks Parameter Matchers

VSoft Technologies – We recently updated Delphi Mocks to allow for better parameter matching on Expectations registered with the Mock. This allows the developer to place tighter controls on verifying that a mocked interface/object method is called. Below is a simple example of when the parameter matchers can be used. procedure TExample_InterfaceImplementTests.Implement_Multiple_Interfaces; var sutProjectSaver : IProjectSaveCheck; mockProject : TMock<IProject>; begin //Test that when we check and save a project, and its dirty, we save. //CREATE - The project saver under test. sutProjectSaver := ...
Favorite? Off-Topic? 2015-09-23 03:15


Visits: 841
Votes: 3
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Alister Christie
Robert Love
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)