Revert back to old test runner

This commit is contained in:
Isaac Hutt 2019-02-10 14:49:58 +00:00
parent 623f1c35d2
commit b00ee9be46

View File

@ -66,6 +66,7 @@ dependencies {
androidTestImplementation "androidx.annotation:annotation:$annotationVersion" androidTestImplementation "androidx.annotation:annotation:$annotationVersion"
androidTestImplementation "androidx.test.ext:junit:1.1.0" androidTestImplementation "androidx.test.ext:junit:1.1.0"
androidTestImplementation 'androidx.test:runner:1.1.1'
androidTestImplementation 'androidx.test:rules:1.1.1' androidTestImplementation 'androidx.test:rules:1.1.1'
androidTestImplementation 'androidx.test:core:1.1.0' androidTestImplementation 'androidx.test:core:1.1.0'
@ -164,7 +165,7 @@ android {
defaultConfig { defaultConfig {
minSdkVersion 14 minSdkVersion 14
targetSdkVersion 28 targetSdkVersion 28
testInstrumentationRunner "androidx.test.ext.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
// See https://github.com/linkedin/dexmaker/issues/65 for why we need the following line. // See https://github.com/linkedin/dexmaker/issues/65 for why we need the following line.
testInstrumentationRunnerArguments.notClass = 'com.android.dex.DexIndexOverflowException' testInstrumentationRunnerArguments.notClass = 'com.android.dex.DexIndexOverflowException'
multiDexEnabled true multiDexEnabled true
@ -381,6 +382,6 @@ testdroid {
testRunName "Auto Test " + buildNumber testRunName "Auto Test " + buildNumber
fullRunConfig { fullRunConfig {
instrumentationRunner = "androidx.test.ext.runner.AndroidJUnitRunner" instrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
} }
} }