diff options
author | cyBerta <cyberta@riseup.net> | 2022-01-31 23:48:49 +0100 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2022-01-31 23:48:49 +0100 |
commit | 70dede9118de4f37ab0275b64736581566ba3eac (patch) | |
tree | 568842edd675d9aee7afc2bfbd6991e0f04f976b /app | |
parent | 75cd1a92f691afe4315b822ad3f7cdad9b97c681 (diff) |
update powermock and mockito
Diffstat (limited to 'app')
-rw-r--r-- | app/build.gradle | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/app/build.gradle b/app/build.gradle index af166e4a..df1634c7 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -370,21 +370,20 @@ android { dependencies { testImplementation 'junit:junit:4.12' //outdated mockito-core version due to powermock dependency - testImplementation 'org.mockito:mockito-core:2.8.9' - testImplementation('org.powermock:powermock-api-mockito2:1.7.3') - { exclude group: 'junit' exclude group: 'org.mockito' } - testImplementation 'org.powermock:powermock-module-junit4:1.7.3' - testImplementation 'org.powermock:powermock-core:1.7.3' - testImplementation 'org.powermock:powermock-module-junit4-rule:1.7.3' + testImplementation 'org.mockito:mockito-core:3.6.0' + testImplementation('org.powermock:powermock-api-mockito2:2.0.9') + // { exclude group: 'junit' exclude group: 'org.mockito' } + testImplementation 'org.powermock:powermock-module-junit4:2.0.9' + testImplementation 'org.powermock:powermock-core:2.0.9' + testImplementation 'org.powermock:powermock-module-junit4-rule:2.0.9' testImplementation group: 'com.tngtech.java', name: 'junit-dataprovider', version: '1.10.0' - androidTestImplementation 'org.mockito:mockito-core:2.8.9' - androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0' - androidTestImplementation 'androidx.test.espresso:espresso-contrib:3.1.0' - androidTestImplementation 'androidx.test.espresso:espresso-intents:3.1.0' + androidTestImplementation 'org.mockito:mockito-core:3.6.0' + androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' + androidTestImplementation 'androidx.test.espresso:espresso-contrib:3.4.0' + androidTestImplementation 'androidx.test.espresso:espresso-intents:3.4.0' //TODO: remove that library androidTestImplementation 'com.jayway.android.robotium:robotium-solo:5.6.3' - testImplementation 'junit:junit:4.12' testImplementation 'org.json:json:20180813' debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.6.2' releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.6.2' |