mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-04-22 16:01:37 -04:00
tests: fix running test suite in Android Studio
Sometimes the test suite just totally bombs out and fails on every single job with the same Robolectric crash. Adding this line seems to fix it. https://github.com/robolectric/robolectric/issues/3846 Here's the error: java.lang.VerifyError: class org.robolectric.android.fakes.RoboMonitoringInstrumentation overrides final method specifyDexMakerCacheProperty.()V
This commit is contained in:
@@ -160,6 +160,7 @@ dependencies {
|
||||
fullImplementation 'org.nanohttpd:nanohttpd:2.3.1'
|
||||
|
||||
testImplementation 'org.robolectric:robolectric:3.8'
|
||||
testImplementation "com.android.support.test:monitor:1.0.2"
|
||||
testImplementation 'org.bouncycastle:bcprov-jdk15on:1.59'
|
||||
testImplementation 'junit:junit:4.12'
|
||||
testImplementation 'org.mockito:mockito-core:2.7.22'
|
||||
|
||||
Reference in New Issue
Block a user