328b01eada8965cd38feea884d4080c31e3763b0 |
01-Mar-2013 |
Ian Parkinson <ianp@google.com> |
Patch LittleMock for change in internal methods Bug: 8297640 Change-Id: I0a18ec915ec69170e8a4cfc80a211fd07be9df00
esting/littlemock/LittleMock.java
|
8d9c64411f1fa44cdcb3c1fe0f424039c6f270ad |
14-Aug-2012 |
Narayan Kamath <narayan@google.com> |
am e028ec16: Fix app cache dir guessing. * commit 'e028ec166b5a270d0c330800d12a270494176fdf': Fix app cache dir guessing.
|
e028ec166b5a270d0c330800d12a270494176fdf |
14-Aug-2012 |
Narayan Kamath <narayan@google.com> |
Fix app cache dir guessing. A change to BaseDexClassLoader changed the format of its toString output which we rely upon (yuck) to figure out what the cache dir should be. Change-Id: I0f28e3eff9eba70a1f5e6c538aa8da32c264515b
esting/littlemock/AppDataDirGuesser.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
esting/littlemock/ArgumentCaptor.java
esting/littlemock/LittleMock.java
|
e3f71eadc205f4346f6a97b44820df40490f5c4b |
27-Mar-2012 |
Hugo Hudson <hugohudson@google.com> |
Update to r17 of LittleMock. Change-Id: I7a9468b8c73e592eb75f28aed2268171eae70308
esting/littlemock/LittleMock.java
|
4541568ab5ac306c7dc2b648f7908610868180de |
28-Feb-2012 |
Hugo Hudson <hugohudson@google.com> |
Update to r16 of LittleMock. Change-Id: Ia270375e8a549709d89a34021d33e22d883b1c25
esting/littlemock/LittleMock.java
|
40d40a3f2ebf988f36b828157be56cc12c9c70ac |
06-Feb-2012 |
Hugo Hudson <hugohudson@google.com> |
Update to r15 of LittleMock. Change-Id: Ia9f4bba7db7e6b7e2afc7277914ac95be3d3246b
esting/littlemock/LittleMock.java
|
2a267dd8513e727846c03395429f69e4ab17f1c6 |
02-Feb-2012 |
Hugo Hudson <hugohudson@google.com> |
Update to r14 of LittleMock. Change-Id: I94075779786b8a398a8664aa0be8b740ce811780
esting/littlemock/LittleMock.java
|
25ab6b601720d62298a39f1b8bbd1dc99c252725 |
25-Jan-2012 |
Hugo Hudson <hugohudson@google.com> |
Update to r13 of LittleMock. Change-Id: Ia99c27d400fa65b1e4afa88862fd69737ac0c147
esting/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
esting/littlemock/AppDataDirGuesser.java
esting/littlemock/LittleMock.java
|
5307b6d112c825e70dc30aea1c878f4e965127e2 |
18-Jan-2012 |
Hugo Hudson <hugohudson@google.com> |
Update to r12 of LittleMock. Change-Id: I71abb8845c6348fcd4851e6da17347fdccf2b610
esting/littlemock/AppDataDirGuesser.java
esting/littlemock/LittleMock.java
|
a790bf33cb3643efbbcc731408870d0194bc2b5a |
16-Jan-2012 |
Hugo Hudson <hugohudson@google.com> |
Update to r10 of LittleMock. Change-Id: Ieb45372e45881e46037cb75e62b9355b5670e266
esting/littlemock/AppDataDirGuesser.java
|
ba73a086722c0eb6dd33e4de0764ae1f45d8d895 |
11-Jan-2012 |
Hugo Hudson <hugohudson@google.com> |
Update to r8 of LittleMock. Change-Id: I8edea860f2e96ae42416d120c0b8f71795244284
esting/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
esting/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
esting/littlemock/AppDataDirGuesser.java
esting/littlemock/LittleMock.java
|
9de203bcac3d285f4fa57c93085e467eaab9f8f9 |
04-Nov-2011 |
Hugo Hudson <hugohudson@google.com> |
Import initial r3 of littlemock library. Change-Id: Ieead9f3add2ee379a0c34daac9b857630c1bf398
esting/littlemock/ArgumentCaptor.java
esting/littlemock/Behaviour.java
esting/littlemock/Captor.java
esting/littlemock/LittleMock.java
esting/littlemock/Mock.java
|