mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Upload tests (#2086)
* Add unit tests for upload flows * Tests for upload model * Test fixes * Remove empty test cases * Changes based on comments
This commit is contained in:
parent
1070137741
commit
f3a90c004c
19 changed files with 533 additions and 252 deletions
|
|
@ -77,6 +77,8 @@ dependencies {
|
|||
releaseImplementation "com.squareup.leakcanary:leakcanary-android-no-op:$LEAK_CANARY"
|
||||
testImplementation "com.squareup.leakcanary:leakcanary-android-no-op:$LEAK_CANARY"
|
||||
|
||||
androidTestImplementation "org.mockito:mockito-core:2.10.0"
|
||||
|
||||
//For handling runtime permissions
|
||||
implementation 'com.karumi:dexter:5.0.0'
|
||||
|
||||
|
|
@ -100,6 +102,8 @@ android {
|
|||
}
|
||||
|
||||
testOptions {
|
||||
unitTests.returnDefaultValues = true
|
||||
|
||||
unitTests.all {
|
||||
jvmArgs '-noverify'
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue