Age | Commit message (Collapse) | Author |
|
needed" am: b401692320 am: 105f5b4352
am: 4dc0059ef0
Change-Id: I9b66f1989c1b11d6caff7c30630b51d25e5822b6
|
|
needed" am: b401692320
am: 105f5b4352
Change-Id: I086a681d24ecfc40ecd87014459d2dc02d29f09c
|
|
needed"
am: b401692320
Change-Id: Ia8b5c5847c50e927e9a8a7d4527876e1194036dd
|
|
needed"
|
|
This reverts commit d1724c39199391c597c1e85df4bdd7b8edeff3da.
Change-Id: Id9566cf056df4cb456aa27e84249efcf62fff4af
|
|
needed"" am: 7aef6ca2e7 am: 67fb26fd0f
am: e530359ffb
Change-Id: I56e8d63109a63852abfb11c2d3429014e79ccdeb
|
|
needed"" am: 7aef6ca2e7
am: 67fb26fd0f
Change-Id: Ie4a454d20a353e4c003f6429e17f25d0b7300312
|
|
am: 7aef6ca2e7
Change-Id: Ie5813266f52d36d684d5eab887b3d29eb69bb1fe
|
|
|
|
This reverts commit 7eccb241a931cf2de01cc6cfac0cd80170e10fec.
Change-Id: I92151ed7065226f33bccc844ed68f0dbf2c43da0
|
|
ed933dd987 am: 3c97985f46
am: 54ebc62d3d
Change-Id: I0d6f6a0adb399fa15722874288f66405077a99b2
|
|
ed933dd987
am: 3c97985f46
Change-Id: I5da7ba32bf12ab63e1b7e52ceea7f856cd272d3b
|
|
am: ed933dd987
Change-Id: Idb272ddd5163f894e783259ba0366bdc99582378
|
|
|
|
Bug: 32912773
Test: make checkbuild
Change-Id: I87a61300c311f67bd736bfc2da01e067562045d4
|
|
Bug: 8318039
Change-Id: I1c2bc5e86cf4ff94cbcb9408fd801a53cbbd6629
|
|
Bug: 8297640
Change-Id: I0a18ec915ec69170e8a4cfc80a211fd07be9df00
|
|
* commit 'ef05251bc732a206bd6ba19110277045767482fd':
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
|
|
* commit 'e028ec166b5a270d0c330800d12a270494176fdf':
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
|
|
* commit '00e20ef3c702f7388c98bdeee300d218c7871f4d':
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
|
|
|
|
Change-Id: I7a9468b8c73e592eb75f28aed2268171eae70308
|
|
|
|
Change-Id: Ia270375e8a549709d89a34021d33e22d883b1c25
|
|
Change-Id: Ia9f4bba7db7e6b7e2afc7277914ac95be3d3246b
|
|
Change-Id: I94075779786b8a398a8664aa0be8b740ce811780
|
|
Change-Id: Ia99c27d400fa65b1e4afa88862fd69737ac0c147
|
|
DO NOT MERGE
Change-Id: I0899465493a1ebaaa587bb13f2f9ebf18f516037
|
|
Change-Id: I71abb8845c6348fcd4851e6da17347fdccf2b610
|
|
Change-Id: Ieb45372e45881e46037cb75e62b9355b5670e266
|
|
Change-Id: I8edea860f2e96ae42416d120c0b8f71795244284
|
|
- Fix to mocking concrete classes - get invocation handler.
Change-Id: I8b000586cd502322a1db3828d59c66c07fa52958
|
|
- 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
|
|
Change-Id: I17a6d945ec6be374453f8e17c27ed747c3c4e5b7
|
|
Change-Id: I6b8f3e95e7fdab661c813b4e5f383dd88f34d337
|
|
Change-Id: Ieead9f3add2ee379a0c34daac9b857630c1bf398
|
|
|