Add test for BundleSavedState

This commit is contained in:
2017-05-28 22:03:54 -04:00
parent ab09eb8a03
commit 94025c5262
4 changed files with 115 additions and 2 deletions

View File

@@ -92,6 +92,9 @@ dependencies {
androidTestCompile 'com.google.dagger:dagger:2.9'
androidTestCompile "org.mockito:mockito-android:2.8.9"
androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.2'
androidTestCompile 'com.android.support.test.uiautomator:uiautomator-v18:2.1.1'
androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.2'
androidTestCompile 'com.linkedin.testbutler:test-butler-library:1.3.1'
implementation('com.opencsv:opencsv:3.9') {
exclude group: 'commons-logging', module: 'commons-logging'
@@ -134,7 +137,7 @@ task coverageReport(type: JacocoReport) {
def androidClasses = "${buildDir}/intermediates/classes/debug"
def jvmExecData = "${buildDir}/jacoco/testDebugUnitTest.exec"
def connectedExecData = "${buildDir}/outputs/code-coverage/connected/coverage.ec"
sourceDirectories = files(androidSrc)
classDirectories = files(fileTree(dir: androidClasses, excludes: excludes))
executionData = files(jvmExecData, connectedExecData)