History log of /external/littlemock/src/com/google/testing/littlemock/LittleMock.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a3ea6bf9e6fcf63b69f5635b2ecc1fbd9a9a4dfc 14-Oct-2013 Ian Parkinson <ianp@google.com> Remove patch for b/8297640 from LittleMock

Bug: 8318039
Change-Id: I1c2bc5e86cf4ff94cbcb9408fd801a53cbbd6629
/external/littlemock/src/com/google/testing/littlemock/LittleMock.java
328b01eada8965cd38feea884d4080c31e3763b0 01-Mar-2013 Ian Parkinson <ianp@google.com> Patch LittleMock for change in internal methods

Bug: 8297640
Change-Id: I0a18ec915ec69170e8a4cfc80a211fd07be9df00
/external/littlemock/src/com/google/testing/littlemock/LittleMock.java
2f09bba3e848852d5167ab867ba71eb0f6e015dc 13-Aug-2012 Marc Schroeder <msch@google.com> am 00e20ef3: Support for primitive (non-Object) captors in littlemock

* commit '00e20ef3c702f7388c98bdeee300d218c7871f4d':
Support for primitive (non-Object) captors in littlemock
00e20ef3c702f7388c98bdeee300d218c7871f4d 10-Aug-2012 Marc Schroeder <msch@google.com> Support for primitive (non-Object) captors in littlemock

The LittleMock captor does not support primitive types
such as int -- the respective code crashes with a
NullPointerException.

This CL implements an approach for avoiding this problem
in a way that stays as close to Mockito syntax as possible:

- the generic capture() works for primitives as well;

- we create the ArgumentCaptor with the same basic approach
as Mockito does it, from a class object of type T:

<T> ArgumentCaptor<T> LittleMock.createCaptor(Class<T> clazz)

( Mockito uses ArgumentCaptor.forClass(Class<T> clazz) )

Change-Id: Ie8c234466e63adf533d863be2b74d3516ecc9947
/external/littlemock/src/com/google/testing/littlemock/LittleMock.java
e3f71eadc205f4346f6a97b44820df40490f5c4b 27-Mar-2012 Hugo Hudson <hugohudson@google.com> Update to r17 of LittleMock.

Change-Id: I7a9468b8c73e592eb75f28aed2268171eae70308
/external/littlemock/src/com/google/testing/littlemock/LittleMock.java
4541568ab5ac306c7dc2b648f7908610868180de 28-Feb-2012 Hugo Hudson <hugohudson@google.com> Update to r16 of LittleMock.

Change-Id: Ia270375e8a549709d89a34021d33e22d883b1c25
/external/littlemock/src/com/google/testing/littlemock/LittleMock.java
40d40a3f2ebf988f36b828157be56cc12c9c70ac 06-Feb-2012 Hugo Hudson <hugohudson@google.com> Update to r15 of LittleMock.

Change-Id: Ia9f4bba7db7e6b7e2afc7277914ac95be3d3246b
/external/littlemock/src/com/google/testing/littlemock/LittleMock.java
2a267dd8513e727846c03395429f69e4ab17f1c6 02-Feb-2012 Hugo Hudson <hugohudson@google.com> Update to r14 of LittleMock.

Change-Id: I94075779786b8a398a8664aa0be8b740ce811780
/external/littlemock/src/com/google/testing/littlemock/LittleMock.java
25ab6b601720d62298a39f1b8bbd1dc99c252725 25-Jan-2012 Hugo Hudson <hugohudson@google.com> Update to r13 of LittleMock.

Change-Id: Ia99c27d400fa65b1e4afa88862fd69737ac0c147
/external/littlemock/src/com/google/testing/littlemock/LittleMock.java
c8e1dd4c1418f6876ab47e6d698b0003cd0f651e 18-Jan-2012 Hugo Hudson <hugohudson@google.com> Cherry pick 'Update to r12 of LittleMock'.

DO NOT MERGE

Change-Id: I0899465493a1ebaaa587bb13f2f9ebf18f516037
/external/littlemock/src/com/google/testing/littlemock/LittleMock.java
5307b6d112c825e70dc30aea1c878f4e965127e2 18-Jan-2012 Hugo Hudson <hugohudson@google.com> Update to r12 of LittleMock.

Change-Id: I71abb8845c6348fcd4851e6da17347fdccf2b610
/external/littlemock/src/com/google/testing/littlemock/LittleMock.java
ba73a086722c0eb6dd33e4de0764ae1f45d8d895 11-Jan-2012 Hugo Hudson <hugohudson@google.com> Update to r8 of LittleMock.

Change-Id: I8edea860f2e96ae42416d120c0b8f71795244284
/external/littlemock/src/com/google/testing/littlemock/LittleMock.java
ae4e4ac4facc3eacff13ab7ed115292fb5009d1e 11-Jan-2012 Hugo Hudson <hugohudson@google.com> Update to r7 of LittleMock.

- Fix to mocking concrete classes - get invocation handler.

Change-Id: I8b000586cd502322a1db3828d59c66c07fa52958
/external/littlemock/src/com/google/testing/littlemock/LittleMock.java
ebb9a5e46fa2c58fa091a8de2c12d87828fae2b0 10-Jan-2012 Hugo Hudson <hugohudson@google.com> Updates to r6 of littlemock, concrete classes.

- Updates source to r6.

Highlights:
- Can now mock concrete classes if you have dexmaker.jar on your
classpath.
- Can use blocking verify() calls with timeout() method.
- Thread-safe mocks, and only one thread can verify() and stub().

Change-Id: I42f55cb33d2ed99097317705a35e73e63f8a864f
/external/littlemock/src/com/google/testing/littlemock/LittleMock.java
9de203bcac3d285f4fa57c93085e467eaab9f8f9 04-Nov-2011 Hugo Hudson <hugohudson@google.com> Import initial r3 of littlemock library.

Change-Id: Ieead9f3add2ee379a0c34daac9b857630c1bf398
/external/littlemock/src/com/google/testing/littlemock/LittleMock.java