Merge "Clean up SettingsUnitTests unused dependencies" into main
This commit is contained in:
@@ -13,24 +13,19 @@ android_test {
|
|||||||
certificate: "platform",
|
certificate: "platform",
|
||||||
|
|
||||||
libs: [
|
libs: [
|
||||||
"android.test.runner",
|
|
||||||
"telephony-common",
|
"telephony-common",
|
||||||
"ims-common",
|
"ims-common",
|
||||||
"android.test.base",
|
|
||||||
"android.test.mock",
|
|
||||||
],
|
],
|
||||||
|
|
||||||
static_libs: [
|
static_libs: [
|
||||||
"androidx.arch.core_core-testing",
|
"androidx.arch.core_core-testing",
|
||||||
"androidx.test.core",
|
"androidx.test.core",
|
||||||
"androidx.test.rules",
|
"androidx.test.rules",
|
||||||
"androidx.test.espresso.core",
|
|
||||||
"androidx.test.ext.junit",
|
"androidx.test.ext.junit",
|
||||||
"androidx.preference_preference",
|
"androidx.preference_preference",
|
||||||
"mockito-target-minus-junit4",
|
"mockito-target-minus-junit4",
|
||||||
"platform-test-annotations",
|
"platform-test-annotations",
|
||||||
"truth-prebuilt",
|
"truth-prebuilt",
|
||||||
"androidx.test.uiautomator_uiautomator",
|
|
||||||
"kotlinx_coroutines_test",
|
"kotlinx_coroutines_test",
|
||||||
// Don't add SettingsLib libraries here - you can use them directly as they are in the
|
// Don't add SettingsLib libraries here - you can use them directly as they are in the
|
||||||
// instrumented Settings app.
|
// instrumented Settings app.
|
||||||
|
@@ -28,7 +28,6 @@ import android.os.HandlerExecutor;
|
|||||||
import android.telephony.RadioAccessFamily;
|
import android.telephony.RadioAccessFamily;
|
||||||
import android.telephony.TelephonyCallback;
|
import android.telephony.TelephonyCallback;
|
||||||
import android.telephony.TelephonyManager;
|
import android.telephony.TelephonyManager;
|
||||||
import android.test.mock.MockContentResolver;
|
|
||||||
|
|
||||||
import androidx.test.annotation.UiThreadTest;
|
import androidx.test.annotation.UiThreadTest;
|
||||||
import androidx.test.core.app.ApplicationProvider;
|
import androidx.test.core.app.ApplicationProvider;
|
||||||
@@ -46,7 +45,6 @@ public class AllowedNetworkTypesListenerTest {
|
|||||||
private static final int SUB_ID = 1;
|
private static final int SUB_ID = 1;
|
||||||
|
|
||||||
private Context mContext;
|
private Context mContext;
|
||||||
private MockContentResolver mResolver;
|
|
||||||
private AllowedNetworkTypesListener mAllowedNetworkTypesListener;
|
private AllowedNetworkTypesListener mAllowedNetworkTypesListener;
|
||||||
|
|
||||||
@Mock
|
@Mock
|
||||||
|
Reference in New Issue
Block a user