diff options
author | Garfield Tan <xutan@google.com> | 2019-03-11 12:05:00 -0700 |
---|---|---|
committer | Garfield Tan <xutan@google.com> | 2019-08-13 11:36:48 -0700 |
commit | 69d8fa5f4514491b819b183411c6dd5b6f713ffb (patch) | |
tree | 0de5d248c0d419d266a1665b8ef825532890ffc6 /dexmaker-mockito-tests | |
parent | 2e6c21b1dba664b7fb610f01d6a779a169bfed46 (diff) | |
download | dexmaker-69d8fa5f4514491b819b183411c6dd5b6f713ffb.tar.gz |
Update to Mockito 2.25.0 and impl InlineMockMaker.
In certain specific, rare cases inline mocking causes memory leaks.
Mockito introduced a new API to explicitly clear mock state in version
2.25.0. To make that work we need to implement the new InlineMockMaker
interface, hence I make this pull request.
This fixes #137.
Bug: 138669713
Test: Builds.
Change-Id: Idd609892cd219a4b668a7464bc69142bc2b8f2d0
Diffstat (limited to 'dexmaker-mockito-tests')
-rw-r--r-- | dexmaker-mockito-tests/build.gradle | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dexmaker-mockito-tests/build.gradle b/dexmaker-mockito-tests/build.gradle index f051535..9379d17 100644 --- a/dexmaker-mockito-tests/build.gradle +++ b/dexmaker-mockito-tests/build.gradle @@ -42,5 +42,5 @@ dependencies { implementation 'com.android.support.test:runner:0.5' implementation 'junit:junit:4.12' - api 'org.mockito:mockito-core:2.21.0', { exclude group: 'net.bytebuddy' } + api 'org.mockito:mockito-core:2.25.0', { exclude group: 'net.bytebuddy' } } |