Change display and write test log
This commit is contained in:
parent
5bd91f8aba
commit
e9e349e76e
2 changed files with 22 additions and 2 deletions
|
@ -3,7 +3,7 @@ all: copy-files
|
||||||
../gradlew uninstallDebug
|
../gradlew uninstallDebug
|
||||||
|
|
||||||
run-all-tests: copy-files
|
run-all-tests: copy-files
|
||||||
../gradlew :connectedAndroidTest
|
../gradlew :connectedAndroidTest -i
|
||||||
|
|
||||||
copy-libs:
|
copy-libs:
|
||||||
mkdir -p assets && \
|
mkdir -p assets && \
|
||||||
|
|
|
@ -21,7 +21,6 @@ apply plugin: 'com.android.application'
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(":libLinphoneAndroidSdk")
|
compile project(":libLinphoneAndroidSdk")
|
||||||
compile fileTree(dir: 'libs', include: '*.jar')
|
compile fileTree(dir: 'libs', include: '*.jar')
|
||||||
//androidTestCompile project(":libLinphoneAndroidSdk")
|
|
||||||
androidTestCompile fileTree(dir: 'libs', include: '*.jar')
|
androidTestCompile fileTree(dir: 'libs', include: '*.jar')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -68,6 +67,17 @@ android {
|
||||||
release.setRoot('build-types/release')
|
release.setRoot('build-types/release')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
testOptions {
|
||||||
|
unitTests.all {
|
||||||
|
// All the usual Gradle options.
|
||||||
|
testLogging {
|
||||||
|
events "passed", "skipped", "failed", "standardOut", "standardError"
|
||||||
|
outputs.upToDateWhen {false}
|
||||||
|
showStandardStreams = true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
lintOptions {
|
lintOptions {
|
||||||
checkReleaseBuilds false
|
checkReleaseBuilds false
|
||||||
// Or, if you prefer, you can continue to check for errors in release builds,
|
// Or, if you prefer, you can continue to check for errors in release builds,
|
||||||
|
@ -75,3 +85,13 @@ android {
|
||||||
abortOnError false
|
abortOnError false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.withType(Test) {
|
||||||
|
testLogging {
|
||||||
|
exceptionFormat 'full'
|
||||||
|
showCauses true
|
||||||
|
showExceptions true
|
||||||
|
showStackTraces true
|
||||||
|
showStandardStreams true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue