Permalink
Switch branches/tags
Nothing to show
Commits on Mar 24, 2017
  1. Updated inc file for Tokyo

    Vincent Parrett committed Mar 24, 2017
Commits on Nov 28, 2016
  1. Merge pull request #103 from henriquewerlang/master

    Problemas com parâmetros de função como enumeradores
    vincentparrett committed on GitHub Nov 28, 2016
Commits on Oct 14, 2016
  1. Adicionado um procedimento novo, para disparar um raise quando os par…

    …âmetros da função ficarem igual aos matchers registrados.
    
    Foi modificado também a função "WillRaise", para preencher o behavior do tipo "WillRaiseAlways".
    Henrique Gottardi Werlang committed Oct 14, 2016
  2. Encontrei o mesmo problema, de não carregar o retorno do valor em out…

    …ras funções, por isso estou fazendo mais um commit.
    Henrique Gottardi Werlang committed Jul 29, 2016
  3. Adicionei uma unit de teste automatizados, ao projeto para testar o p…

    …roblema que estava tendo com enumeradores sendo passado de parametros, como ele carregava o retorno da função do ItRec.IsEqualTo com o valor padrão, ele não estava comparando os valores diferentes que eram fornecidos para a função.
    Henrique Gottardi Werlang committed Jul 28, 2016
Commits on Aug 21, 2016
  1. Fixed XE2 compiler bugs, and also removed DUnitX.Utils usage as it sh…

    …ould not have been used.
    vincentparrett committed Aug 21, 2016
Commits on Jun 30, 2016
  1. Merge pull request #102 from AndreasDDi/master

    Added TMock.InstanceAsValue<I>
    vincentparrett committed on GitHub Jun 30, 2016
  2. Merge pull request #1 from AndreasDDi/Added-InstanceAsValue-I-

    Added InstanceAsValue<I>
    AndreasDDi committed on GitHub Jun 30, 2016
  3. Added InstanceAsValue<I>

    AndreasDDi committed Jun 30, 2016
  4. Revert "Added TMock.InstanceAsValue<I>"

    This reverts commit 033369e.
    AndreasDDi committed Jun 30, 2016
  5. Added TMock.InstanceAsValue<I>

    Added InstanceAsValue for convinience as there is already a Instance.
    AndreasDDi committed Jun 30, 2016
Commits on Jun 1, 2016
  1. Merge pull request #97 from AndreasDDi/patch-2

    Added better support for multiple interfaces
    staticcat committed Jun 1, 2016
  2. Merge pull request #98 from VSoftTechnologies/pull-96

    Added tests for implements method
    staticcat committed Jun 1, 2016
  3. Merge pull request #96 from AndreasDDi/patch-1

    Mock.Implement<I> now correctly allows the conversion of all implemented interfaces from instances passed back to the caller.
    staticcat committed Jun 1, 2016
  4. DELPHI_XE7 removed in some places. DELPHI_XE7_UP

    DELPHI_XE7 removed in some places.  DELPHI_XE7_UP already in use, so not required.
    staticcat committed Jun 1, 2016
  5. Merge pull request #94 from ASiwon/sNotNil_error

    ItRec.IsNotNil now correctly calls the expect when the parameter is not nil. Previously it was being called when it was nil. Logic error in the internal test.
    staticcat committed Jun 1, 2016
  6. Merge pull request #93 from henriquewerlang/master

    Google translation - "Created some extensions to be able to compare properties and fields of a class, not just the pointer it."
    staticcat committed Jun 1, 2016
Commits on May 31, 2016
  1. Add files via upload

    AndreasDDi committed May 31, 2016
  2. Add files via upload

    AndreasDDi committed May 31, 2016
Commits on May 30, 2016
  1. Update Delphi.Mocks.Proxy.pas

    Fix for Mocks implementing multiple interfaces. When accessing the mock from different interfaces there will be an "Interface not supported" exception, while the real object implements al the interfaces and the mock seams not to. See code:
    
    FBookAccount := TMock<IBookAccount>.Create;
    FBookAccount.Implement<IPersistObject>;
    FBookAccount.Implement<IModifiable>;
    FBookAccount.Implement<IAsObjectInterface>;
    
    // this worked:
    
    a := FBookAccount;
    b := a as IPersistObject;
    c := a as IModifiable;
    d := a as IAsObjectInterface;
    i := a as IInterface;
    
    // this did not work with the mock 
    a := FBookAccount;
    b := a as IPersistObject;
    c := b as IModifiable;
    d := c as IAsObjectInterface;
    i := d as IInterface;
    AndreasDDi committed May 30, 2016
Commits on May 22, 2016
Commits on May 10, 2016
  1. Criado umas extensões para poder fazer comparação de propriedades e c…

    …ampos de uma classe, e não apenas pelo ponteiro dela.
    Henrique Gottardi Werlang committed May 10, 2016
Commits on Apr 30, 2016
  1. Merge pull request #91 from rpottsoh/master

    Corrected missed spellings
    vincentparrett committed Apr 30, 2016
Commits on Apr 29, 2016
  1. Merge pull request #1 from VSoftTechnologies/master

    Added defines for Delphi 10.1 Berlin
    rpottsoh committed Apr 29, 2016
Commits on Apr 27, 2016
Commits on Nov 30, 2015
  1. Merge pull request #87 from Teloah/typo_fix

    Fixed some typos in the comments
    vincentparrett committed Nov 30, 2015
  2. Fixed some typos in the comments

    Teloah committed Nov 30, 2015
Commits on Nov 26, 2015
  1. Merge pull request #83 from ASiwon/proxy_for_constructor_with_params

    Proxy for constructor with params
    staticcat committed Nov 26, 2015