Skip to content
This repository

A Open Source Mocking framework for Delphi XE2 or later

branch: master
Octocat-spinner-32 Build Fixed build script. August 15, 2013
Octocat-spinner-32 DUnitXML @ b9bfc5a Updated to include DUnit XML module. August 15, 2013
Octocat-spinner-32 Tests Fixes problem with Var and Out parameters April 02, 2014
Octocat-spinner-32 .gitignore Fixed comparison when using Variant args. Was raising AV when trying … October 04, 2013
Octocat-spinner-32 .gitmodules Updated to include DUnit XML module. August 15, 2013
Octocat-spinner-32 Delphi.Mocks.Behavior.pas Fix for XE2 Update 2 where no self parameter is passed in to Invoke November 21, 2011
Octocat-spinner-32 Delphi.Mocks.Expectation.pas Display real hit count next to the expected values to help locating a… February 21, 2014
Octocat-spinner-32 Delphi.Mocks.Helpers.pas Fixed comparison when using Variant args. Was raising AV when trying … October 04, 2013
Octocat-spinner-32 Delphi.Mocks.InterfaceProxy.pas Add support for NextGen compiler with a simple TTypeInfo helper February 26, 2014
Octocat-spinner-32 Delphi.Mocks.Interfaces.pas Add CheckExpectations function to TMock to ease using Delphi-Mocks wi… August 05, 2013
Octocat-spinner-32 Delphi.Mocks.MethodData.pas Started working on Stubs.. still need to improve .Utils.GetDefaultValue September 08, 2013
Octocat-spinner-32 Delphi.Mocks.ObjectProxy.pas Fixes problem with Var and Out parameters April 02, 2014
Octocat-spinner-32 Delphi.Mocks.ProxyBase.pas Started working on Stubs.. still need to improve .Utils.GetDefaultValue September 08, 2013
Octocat-spinner-32 Delphi.Mocks.ReturnTypePatch.pas Added workaround for QC98687 May 27, 2012
Octocat-spinner-32 Delphi.Mocks.Utils.pas Fixed some failing tests November 26, 2013
Octocat-spinner-32 Delphi.Mocks.VirtualInterface.pas Fix for XE2 Update 2 November 04, 2011
Octocat-spinner-32 Delphi.Mocks.VirtualMethodInterceptor.pas Fix for XE2 Update 2 November 04, 2011
Octocat-spinner-32 Delphi.Mocks.When.pas Fix for XE2 Update 2 November 04, 2011
Octocat-spinner-32 Delphi.Mocks.inc XE6 Support April 16, 2014
Octocat-spinner-32 Delphi.Mocks.pas Add support for NextGen compiler with a simple TTypeInfo helper February 26, 2014
Octocat-spinner-32 DelphiMocks.groupproj more fixes September 09, 2011
Octocat-spinner-32 LICENSE.txt updated readme and added license September 09, 2011
Octocat-spinner-32 README.md updated readme September 19, 2011
Octocat-spinner-32 Sample1.RES Started working on Stubs.. still need to improve .Utils.GetDefaultValue September 08, 2013
Octocat-spinner-32 Sample1.dpr fixed failing tests - seem to be due to compiler change in XE2 hotfix 4 January 16, 2013
Octocat-spinner-32 Sample1.dproj fixed failing tests - seem to be due to compiler change in XE2 hotfix 4 January 16, 2013
Octocat-spinner-32 Sample1Main.pas Started working on Stubs.. still need to improve .Utils.GetDefaultValue September 08, 2013
README.md

Delphi Mocks

Delphi Mocks is a simple mocking framework for Delphi XE2 or later. It makes use of RTTI features that are only available in Delphi XE2, however I do hope to be able to get it working with earlier versions of Delphi (2010 or later) at some stage.

UPDATED : Now implements mocking on classes and interfaces.

TODO : More testing.

Something went wrong with that request. Please try again.