mirror of https://github.com/grpc/grpc-java.git
android-interop-testing: migrate to androidx test libs (#4611)
This commit is contained in:
parent
6dad047126
commit
b61968c61a
|
@ -25,7 +25,7 @@ android {
|
|||
targetSdkVersion 26
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
multiDexEnabled true
|
||||
}
|
||||
buildTypes {
|
||||
|
@ -80,8 +80,8 @@ dependencies {
|
|||
// workaround for https://github.com/google/protobuf/issues/1889
|
||||
protobuf 'com.google.protobuf:protobuf-java:3.0.2'
|
||||
|
||||
androidTestImplementation 'com.android.support.test:rules:1.0.1'
|
||||
androidTestImplementation 'com.android.support.test:runner:1.0.1'
|
||||
androidTestImplementation 'androidx.test:rules:1.1.0-alpha1'
|
||||
androidTestImplementation 'androidx.test:runner:1.1.0-alpha1'
|
||||
}
|
||||
|
||||
gradle.projectsEvaluated {
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
android:targetSdkVersion="22"/>
|
||||
|
||||
<instrumentation
|
||||
android:name="android.support.test.runner.AndroidJUnitRunner"
|
||||
android:name="androidx.test.runner.AndroidJUnitRunner"
|
||||
android:targetPackage="io.grpc.android.integrationtest" />
|
||||
|
||||
<application android:debuggable="true" >
|
||||
|
|
|
@ -18,10 +18,10 @@ package io.grpc.android.integrationtest;
|
|||
|
||||
import static junit.framework.Assert.assertEquals;
|
||||
|
||||
import android.support.test.InstrumentationRegistry;
|
||||
import android.support.test.rule.ActivityTestRule;
|
||||
import android.support.test.runner.AndroidJUnit4;
|
||||
import android.util.Log;
|
||||
import androidx.test.InstrumentationRegistry;
|
||||
import androidx.test.rule.ActivityTestRule;
|
||||
import androidx.test.runner.AndroidJUnit4;
|
||||
import com.google.android.gms.common.GooglePlayServicesNotAvailableException;
|
||||
import com.google.android.gms.common.GooglePlayServicesRepairableException;
|
||||
import com.google.android.gms.security.ProviderInstaller;
|
||||
|
|
Loading…
Reference in New Issue