Merge "Migrate frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestAppTests2 to androidx.test"
This commit is contained in:
committed by
Android (Google) Code Review
commit
4e536b855e
@@ -18,7 +18,7 @@ LOCAL_PATH:= $(call my-dir)
|
||||
## The tests with only one dex
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_STATIC_JAVA_LIBRARIES := android-support-multidex-instrumentation android-support-test
|
||||
LOCAL_STATIC_JAVA_LIBRARIES := android-support-multidex-instrumentation androidx.test.rules
|
||||
LOCAL_MODULE_TAGS := tests
|
||||
|
||||
LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
||||
@@ -41,7 +41,7 @@ include $(BUILD_PACKAGE)
|
||||
## The tests with a minimal main dex
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_STATIC_JAVA_LIBRARIES := android-support-multidex-instrumentation android-support-test
|
||||
LOCAL_STATIC_JAVA_LIBRARIES := android-support-multidex-instrumentation androidx.test.rules
|
||||
LOCAL_MODULE_TAGS := tests
|
||||
|
||||
LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
||||
|
||||
@@ -15,10 +15,13 @@
|
||||
*/
|
||||
package com.android.multidexlegacytestapp.test2;
|
||||
|
||||
import android.support.test.runner.AndroidJUnit4;
|
||||
import androidx.test.runner.AndroidJUnit4;
|
||||
|
||||
import com.android.multidexlegacytestapp.manymethods.Big001;
|
||||
import com.android.multidexlegacytestapp.manymethods.Big079;
|
||||
|
||||
import junit.framework.Assert;
|
||||
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
package com.android.multidexlegacytestapp.test2;
|
||||
|
||||
import android.os.Bundle;
|
||||
|
||||
import androidx.multidex.MultiDex;
|
||||
import android.support.test.runner.AndroidJUnitRunner;
|
||||
import androidx.test.runner.AndroidJUnitRunner;
|
||||
|
||||
public class MultiDexAndroidJUnitRunner extends AndroidJUnitRunner {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user