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