Permalink
Switch branches/tags
Nothing to show
Commits on Jan 27, 2018
  1. Merge pull request #109 from rpottsoh/patch-2

    vincentparrett committed Jan 27, 2018
    Corrected typo
Commits on Mar 24, 2017
  1. Updated inc file for Tokyo

    Vincent Parrett
    Vincent Parrett committed Mar 24, 2017
Commits on Dec 1, 2016
  1. Corrected typo

    rpottsoh committed Dec 1, 2016
Commits on Nov 28, 2016
  1. Merge pull request #103 from henriquewerlang/master

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

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

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

    Henrique Gottardi Werlang
    Henrique Gottardi Werlang committed Jul 28, 2016
    …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.
Commits on Aug 21, 2016
Commits on Jun 30, 2016
  1. Merge pull request #102 from AndreasDDi/master

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

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

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

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

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

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

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

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

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

    staticcat committed Jun 1, 2016
    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.
  6. Merge pull request #93 from henriquewerlang/master

    staticcat committed Jun 1, 2016
    Google translation - "Created some extensions to be able to compare properties and fields of a class, not just the pointer it."
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

    AndreasDDi committed May 30, 2016
    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;
Commits on May 22, 2016
Commits on May 10, 2016
  1. Criado umas extensões para poder fazer comparação de propriedades e c…

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

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

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

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