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:
		
							parent
							
								
									15aaa12e25
								
							
						
					
					
						commit
						8cae4da748
					
				@ -160,6 +160,7 @@ dependencies {
 | 
				
			|||||||
    fullImplementation 'org.nanohttpd:nanohttpd:2.3.1'
 | 
					    fullImplementation 'org.nanohttpd:nanohttpd:2.3.1'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    testImplementation 'org.robolectric:robolectric:3.8'
 | 
					    testImplementation 'org.robolectric:robolectric:3.8'
 | 
				
			||||||
 | 
					    testImplementation "com.android.support.test:monitor:1.0.2"
 | 
				
			||||||
    testImplementation 'org.bouncycastle:bcprov-jdk15on:1.59'
 | 
					    testImplementation 'org.bouncycastle:bcprov-jdk15on:1.59'
 | 
				
			||||||
    testImplementation 'junit:junit:4.12'
 | 
					    testImplementation 'junit:junit:4.12'
 | 
				
			||||||
    testImplementation 'org.mockito:mockito-core:2.7.22'
 | 
					    testImplementation 'org.mockito:mockito-core:2.7.22'
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user