Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Commits on May 17, 2015
  1. @vincentparrett

    Merge pull request #62 from fabriciocolombo/recordMissingArgs

    vincentparrett authored
    show the arguments to an unexpected method call with no default retun…
Commits on May 16, 2015
  1. @fabriciocolombo

    show the arguments to an unexpected method call with no default retun…

    fabriciocolombo authored
    … value defined. When calling a expected function with invalid arguments, the expectation is not matched, but the exception does not show the args used.
Commits on Apr 9, 2015
  1. @vincentparrett

    Added XE8 Support.

    vincentparrett authored
Commits on Dec 15, 2014
  1. @vincentparrett

    Merge pull request #58 from jensweigele/AllowRedefineOfBehavior

    vincentparrett authored
    Added possiblity to allow redefinition of behaviors
Commits on Oct 30, 2014
  1. @jensweigele

    Added possiblity to allow redefinition of behaviors (simply set "myMo…

    jensweigele authored
    …ck.Setup.AllowRedefinedBehaviorDefinitions" to true)
Commits on Oct 24, 2014
  1. @vincentparrett

    Merge pull request #57 from jpluimers/master

    vincentparrett authored
    Fix VERxxx typos for Delphi XE6 and XE7.
  2. @jpluimers
Commits on Sep 30, 2014
  1. @staticcat

    Merge pull request #54 from jensweigele/feature/NewUnitTests

    staticcat authored
    Added Unit-Tests for Expectations and Fixed dyn-Array Test
Commits on Sep 18, 2014
  1. @jensweigele

    Changed comment

    jensweigele authored
  2. @jensweigele

    - Added Unit-Tests for expectations

    jensweigele authored
    - Fixed Unit-Test for DynamicArray
Commits on Sep 17, 2014
  1. @staticcat

    Merge pull request #53 from jensweigele/bugfix/AllowHitCount0

    staticcat authored
    Fixed a bug, where an expectation like "....Between(0, 4)" failed
  2. @jensweigele

    Fixed a bug, where an expectation like "....Between(0, 4)" failed, be…

    jensweigele authored
    …cause the ExpectationMet-Flag was only set when hitting a method (which isn't the case on a "zero hit method")
  3. @staticcat

    Merge pull request #50 from staticcat/ReturnTypeOverload

    staticcat authored
    Added extra overload method for patching return types in Delphi XE5 and ...
  4. @staticcat

    Added extra overload method for patching return types in Delphi XE5 a…

    staticcat authored
    …nd below. The new overload means no updates need to occur in the unit under test, just in the init section of the testing unit.
Commits on Sep 3, 2014
  1. @staticcat

    Merge pull request #45 from staticcat/BehaviourMustBeDefined

    staticcat authored
    Fixed deletion of "not reachable else-clause". Added it back. #44
  2. @staticcat
Commits on Sep 2, 2014
  1. @vincentparrett

    Merge pull request #43 from rlove/features/xe7

    vincentparrett authored
    Added XE7 Support
  2. @rlove

    Added XE7 Support

    rlove authored
    Changed the way Unsupported Version Worked, so that it does not need to be changed with each new version of Delphi.
Commits on Aug 25, 2014
  1. @staticcat

    Merge pull request #41 from staticcat/MethodErrorMessageImprovement

    staticcat authored
    Method error message improvement
  2. @staticcat

    Fixed TMethodData.RecordHit exception raising. There was a else claus…

    staticcat authored
    …e that would never be hit.
  3. @staticcat

    Merge remote-tracking branch 'upstream/master' into MethodErrorMessag…

    staticcat authored
    …eImprovement
    
    Conflicts:
    	Delphi.Mocks.MethodData.pas
    	Delphi.Mocks.Proxy.pas
  4. @staticcat
Commits on Aug 24, 2014
  1. @vincentparrett

    Merge pull request #40 from jensweigele/feature/BehaviorMustBeDefined…

    vincentparrett authored
    …_Issue38
    
    Implement TMock<T>.Setup.BehaviorMustBeDefined - Issue #38
Commits on Aug 18, 2014
Commits on Jul 15, 2014
  1. @staticcat

    Merge pull request #33 from staticcat/master

    staticcat authored
    Sample for Implement<I> and exception when using implement with Object Mocks.
  2. @staticcat

    Added sample test for Implement<I> and added exception for adding imp…

    staticcat authored
    …lements with TMock<object> mocks.
  3. @staticcat

    Merge pull request #32 from staticcat/master

    staticcat authored
    Fix for include file that isn't present.
  4. @staticcat
  5. @staticcat

    Merge pull request #31 from staticcat/TMock_Implements

    staticcat authored
    Implemented "TMock.Implements<I : IInterface>"
  6. @staticcat

    Final clean up.

    staticcat authored
  7. @staticcat

    TMock<T>.Implement<I>, TMock<T>.Setup<I>, TMock<T>.Instance<I>, and T…

    staticcat authored
    …Mock<T>.Verify<I> have all been fully implemented.
    
    This change allows the implementation of multiple interfaces on the one mock. The interfaces which are returned by the mock via the "instance" function will support all "implemented" interfaces set on the TMock.
Commits on Jul 11, 2014
  1. @staticcat

    Fixed QueryInterface for the instance method of a Mocked Interface.

    staticcat authored
    QueryInterface will now work for all implemented interfaces off the object/interface returned by Instance.
    Only thing left to implement is the Verify<T> and VerifyAll methods. These will verify the setup of the specific implementation or all setups calls.
  2. @staticcat

    Major rework of implements functionality. Some tests not working, don…

    staticcat authored
    …'t merge into upstream yet.
    
    The main issue with the previous implementation was that it fought with Delphi's Generics implementation too much. There is a major need for interface generic methods in the way I previously worked this.
    Now this has been simplified so that the proxy does not know how to create its child proxies, its just given them. Its the TMock<T> record which knows how to achieve adding new proxies.
    
    There are some access violations in some tests due to this change. Pushing to code to another branch so that I can work on it later.
  3. @vincentparrett
  4. @vincentparrett
Something went wrong with that request. Please try again.