Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A Open Source Mocking framework for Delphi XE2 or later
Pascal
Branch: master

Merge pull request #62 from fabriciocolombo/recordMissingArgs

show the arguments to an unexpected method call with no default retun…
Failed to load latest commit information.
Build Fixed build script.
DUnitXML @ e446bfb Updated DUnitXML submodule reference.
Tests show the arguments to an unexpected method call with no default retun…
.gitignore Fixed comparison when using Variant args. Was raising AV when trying …
.gitmodules Updated to include DUnit XML module.
Delphi.Mocks.Behavior.pas Fix for XE2 Update 2 where no self parameter is passed in to Invoke
Delphi.Mocks.Expectation.pas show the arguments to an unexpected method call with no default retun…
Delphi.Mocks.Helpers.pas Major rework of implements functionality. Some tests not working, don…
Delphi.Mocks.Interfaces.pas TMock<T>.Implement<I>, TMock<T>.Setup<I>, TMock<T>.Instance<I>, and T…
Delphi.Mocks.MethodData.pas show the arguments to an unexpected method call with no default retun…
Delphi.Mocks.ObjectProxy.pas Major rework of implements functionality. Some tests not working, don…
Delphi.Mocks.Proxy.pas Added possiblity to allow redefinition of behaviors (simply set "myMo…
Delphi.Mocks.ReturnTypePatch.pas Added extra overload method for patching return types in Delphi XE5 a…
Delphi.Mocks.Utils.pas show the arguments to an unexpected method call with no default retun…
Delphi.Mocks.VirtualInterface.pas Fix for XE2 Update 2
Delphi.Mocks.VirtualMethodInterceptor.pas Fix for XE2 Update 2
Delphi.Mocks.WeakReference.pas Fix for include file that isn't present.
Delphi.Mocks.When.pas Major rework of implements functionality. Some tests not working, don…
Delphi.Mocks.inc Added XE8 Support.
Delphi.Mocks.pas Added possiblity to allow redefinition of behaviors (simply set "myMo…
DelphiMocks.groupproj more fixes
LICENSE.txt updated readme and added license
README.md updated readme
Sample1.RES Started working on Stubs.. still need to improve .Utils.GetDefaultValue
Sample1.dpr Added sample test for Implement<I> and added exception for adding imp…
Sample1.dproj Added sample test for Implement<I> and added exception for adding imp…
Sample1Main.pas Started working on Stubs.. still need to improve .Utils.GetDefaultValue

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.