Migrate frameworks/base/packages/CarrierDefaultApp/tests/unit to androidx.test
See go/jetpack-test-android-migration Test: make checkbuild Change-Id: I1daac09d07b1ebddecad3ebf88af713f923ddf7d
This commit is contained in:
@@ -21,7 +21,7 @@ LOCAL_CERTIFICATE := platform
|
||||
|
||||
LOCAL_JAVA_LIBRARIES := android.test.runner telephony-common android.test.base
|
||||
|
||||
LOCAL_STATIC_JAVA_LIBRARIES := android-support-test mockito-target-minus-junit4
|
||||
LOCAL_STATIC_JAVA_LIBRARIES := androidx.test.rules mockito-target-minus-junit4
|
||||
|
||||
# Include all test java files.
|
||||
LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
<uses-library android:name="android.test.runner" />
|
||||
</application>
|
||||
|
||||
<instrumentation android:name="android.support.test.runner.AndroidJUnitRunner"
|
||||
<instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"
|
||||
android:targetPackage="com.android.carrierdefaultapp"
|
||||
android:label="CarrierDefaultApp Unit Test Cases">
|
||||
</instrumentation>
|
||||
|
||||
Reference in New Issue
Block a user