Merge changes I886a7277,I25d96c82
* changes: Move development test package to sdk 26 Move OemUnlockPreferenceControllerTest to sdk 26
This commit is contained in:
committed by
Android (Google) Code Review
commit
183674b938
@@ -98,7 +98,7 @@ public class OemUnlockPreferenceController extends DeveloperOptionsPreferenceCon
|
||||
@Override
|
||||
public void updateState(Preference preference) {
|
||||
super.updateState(preference);
|
||||
mPreference.setChecked(mOemLockManager.isOemUnlockAllowed());
|
||||
mPreference.setChecked(isOemUnlockedAllowed());
|
||||
updateOemUnlockSettingDescription();
|
||||
// Showing mEnableOemUnlock preference as device has persistent data block.
|
||||
mPreference.setDisabledByAdmin(null);
|
||||
@@ -183,7 +183,8 @@ public class OemUnlockPreferenceController extends DeveloperOptionsPreferenceCon
|
||||
/**
|
||||
* Returns {@code true} if the bootloader has been unlocked. Otherwise, returns {code false}.
|
||||
*/
|
||||
private boolean isBootloaderUnlocked() {
|
||||
@VisibleForTesting
|
||||
boolean isBootloaderUnlocked() {
|
||||
return mOemLockManager.isDeviceOemUnlocked();
|
||||
}
|
||||
|
||||
@@ -216,4 +217,9 @@ public class OemUnlockPreferenceController extends DeveloperOptionsPreferenceCon
|
||||
userHandle);
|
||||
}
|
||||
|
||||
@VisibleForTesting
|
||||
boolean isOemUnlockedAllowed() {
|
||||
return mOemLockManager.isOemUnlockAllowed();
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -46,7 +46,7 @@ import org.robolectric.RuntimeEnvironment;
|
||||
import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class AbstractBluetoothA2dpPreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -41,7 +41,7 @@ import org.robolectric.RuntimeEnvironment;
|
||||
import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class AdbPreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -44,7 +44,7 @@ import org.robolectric.RuntimeEnvironment;
|
||||
import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class AllowAppsOnExternalPreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -44,7 +44,7 @@ import org.robolectric.annotation.Config;
|
||||
import org.robolectric.util.ReflectionHelpers;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class AnimatorDurationScalePreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -43,7 +43,7 @@ import org.robolectric.RuntimeEnvironment;
|
||||
import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class AppsNotRespondingPreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -40,7 +40,7 @@ import org.robolectric.RuntimeEnvironment;
|
||||
import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class BackgroundProcessLimitPreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -43,7 +43,7 @@ import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH,
|
||||
sdk = TestConfig.SDK_VERSION,
|
||||
sdk = TestConfig.SDK_VERSION_O,
|
||||
shadows = {SettingsShadowSystemProperties.class})
|
||||
public class BluetoothAbsoluteVolumePreferenceControllerTest {
|
||||
|
||||
|
@@ -40,7 +40,7 @@ import org.robolectric.RuntimeEnvironment;
|
||||
import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class BluetoothAudioBitsPerSamplePreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -40,7 +40,7 @@ import org.robolectric.RuntimeEnvironment;
|
||||
import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class BluetoothAudioChannelModePreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -40,7 +40,7 @@ import org.robolectric.RuntimeEnvironment;
|
||||
import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class BluetoothAudioCodecPreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -40,7 +40,7 @@ import org.robolectric.RuntimeEnvironment;
|
||||
import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class BluetoothAudioQualityPreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -40,7 +40,7 @@ import org.robolectric.RuntimeEnvironment;
|
||||
import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class BluetoothAudioSampleRatePreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -45,7 +45,7 @@ import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH,
|
||||
sdk = TestConfig.SDK_VERSION,
|
||||
sdk = TestConfig.SDK_VERSION_O,
|
||||
shadows = {SettingsShadowSystemProperties.class})
|
||||
public class BluetoothAvrcpVersionPreferenceControllerTest {
|
||||
|
||||
|
@@ -42,7 +42,7 @@ import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH,
|
||||
sdk = TestConfig.SDK_VERSION,
|
||||
sdk = TestConfig.SDK_VERSION_O,
|
||||
shadows = {SettingsShadowSystemProperties.class})
|
||||
public class BluetoothDeviceNoNamePreferenceControllerTest {
|
||||
|
||||
|
@@ -45,7 +45,7 @@ import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH,
|
||||
sdk = TestConfig.SDK_VERSION,
|
||||
sdk = TestConfig.SDK_VERSION_O,
|
||||
shadows = {SettingsShadowSystemProperties.class})
|
||||
public class BluetoothInbandRingingPreferenceControllerTest {
|
||||
|
||||
|
@@ -41,7 +41,7 @@ import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH,
|
||||
sdk = TestConfig.SDK_VERSION,
|
||||
sdk = TestConfig.SDK_VERSION_O,
|
||||
shadows = {SettingsShadowSystemProperties.class})
|
||||
public class BluetoothSnoopLogPreferenceControllerTest {
|
||||
|
||||
|
@@ -51,7 +51,7 @@ import org.robolectric.util.ReflectionHelpers;
|
||||
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class BugReportInPowerPreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -35,7 +35,7 @@ import org.mockito.MockitoAnnotations;
|
||||
import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class BugReportPreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -45,7 +45,7 @@ import static org.mockito.Mockito.verify;
|
||||
import static org.mockito.Mockito.when;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION,
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O,
|
||||
shadows = {SettingsShadowSystemProperties.class})
|
||||
public class CameraLaserSensorPreferenceControllerTest {
|
||||
|
||||
|
@@ -54,7 +54,7 @@ import org.robolectric.util.ReflectionHelpers;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH,
|
||||
sdk = TestConfig.SDK_VERSION,
|
||||
sdk = TestConfig.SDK_VERSION_O,
|
||||
shadows = {SettingsShadowSystemProperties.class, ShadowUtils.class})
|
||||
public class ClearAdbKeysPreferenceControllerTest {
|
||||
|
||||
|
@@ -43,7 +43,7 @@ import org.robolectric.RuntimeEnvironment;
|
||||
import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION, shadows =
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O, shadows =
|
||||
SettingsShadowSystemProperties.class)
|
||||
public class ConnectivityMonitorPreferenceControllerTest {
|
||||
|
||||
|
@@ -45,7 +45,7 @@ import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH,
|
||||
sdk = TestConfig.SDK_VERSION,
|
||||
sdk = TestConfig.SDK_VERSION_O,
|
||||
shadows = {SettingsShadowSystemProperties.class})
|
||||
public class CoolColorTemperaturePreferenceControllerTest {
|
||||
|
||||
|
@@ -43,7 +43,7 @@ import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH,
|
||||
sdk = TestConfig.SDK_VERSION,
|
||||
sdk = TestConfig.SDK_VERSION_O,
|
||||
shadows = {SettingsShadowSystemProperties.class})
|
||||
public class DebugGpuOverdrawPreferenceControllerTest {
|
||||
|
||||
|
@@ -43,7 +43,7 @@ import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH,
|
||||
sdk = TestConfig.SDK_VERSION,
|
||||
sdk = TestConfig.SDK_VERSION_O,
|
||||
shadows = {SettingsShadowSystemProperties.class})
|
||||
public class DebugNonRectClipOperationsPreferenceControllerTest {
|
||||
|
||||
|
@@ -38,7 +38,7 @@ import org.robolectric.RuntimeEnvironment;
|
||||
import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class DebugViewAttributesPreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -52,7 +52,7 @@ import org.robolectric.util.ReflectionHelpers;
|
||||
import java.util.List;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class DevelopmentSettingsDashboardFragmentTest {
|
||||
|
||||
private SwitchBar mSwitchBar;
|
||||
|
@@ -31,7 +31,7 @@ import org.robolectric.shadows.ShadowToast;
|
||||
import static com.google.common.truth.Truth.assertThat;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class DevelopmentSettingsDisabledActivityTest {
|
||||
|
||||
@Test
|
||||
|
@@ -44,7 +44,7 @@ import org.robolectric.util.ReflectionHelpers;
|
||||
import java.util.ArrayList;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION,
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O,
|
||||
shadows = {
|
||||
ShadowUtils.class
|
||||
})
|
||||
|
@@ -38,7 +38,7 @@ import static org.mockito.Mockito.verify;
|
||||
import static org.mockito.Mockito.when;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class DisableAutomaticUpdatesPreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -51,7 +51,7 @@ import org.robolectric.util.ReflectionHelpers;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH,
|
||||
sdk = TestConfig.SDK_VERSION,
|
||||
sdk = TestConfig.SDK_VERSION_O,
|
||||
shadows = {SettingsShadowSystemProperties.class})
|
||||
public class FileEncryptionPreferenceControllerTest {
|
||||
|
||||
|
@@ -43,7 +43,7 @@ import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH,
|
||||
sdk = TestConfig.SDK_VERSION,
|
||||
sdk = TestConfig.SDK_VERSION_O,
|
||||
shadows = {SettingsShadowSystemProperties.class})
|
||||
public class ForceGpuRenderingPreferenceControllerTest {
|
||||
|
||||
|
@@ -40,7 +40,7 @@ import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH,
|
||||
sdk = TestConfig.SDK_VERSION,
|
||||
sdk = TestConfig.SDK_VERSION_O,
|
||||
shadows = {SettingsShadowSystemProperties.class})
|
||||
public class ForceMSAAPreferenceControllerTest {
|
||||
|
||||
|
@@ -45,7 +45,7 @@ import org.robolectric.RuntimeEnvironment;
|
||||
import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class FreeformWindowsPreferenceControllerTest {
|
||||
|
||||
private static final String ENG_BUILD_TYPE = "eng";
|
||||
|
@@ -41,7 +41,7 @@ import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH,
|
||||
sdk = TestConfig.SDK_VERSION,
|
||||
sdk = TestConfig.SDK_VERSION_O,
|
||||
shadows = {SettingsShadowSystemProperties.class})
|
||||
public class GpuViewUpdatesPreferenceControllerTest {
|
||||
|
||||
|
@@ -41,7 +41,7 @@ import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH,
|
||||
sdk = TestConfig.SDK_VERSION,
|
||||
sdk = TestConfig.SDK_VERSION_O,
|
||||
shadows = {SettingsShadowSystemProperties.class})
|
||||
public class HardwareLayersUpdatesPreferenceControllerTest {
|
||||
|
||||
|
@@ -47,7 +47,7 @@ import org.robolectric.annotation.Config;
|
||||
import org.robolectric.util.ReflectionHelpers;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class HardwareOverlaysPreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -47,7 +47,7 @@ import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH,
|
||||
sdk = TestConfig.SDK_VERSION,
|
||||
sdk = TestConfig.SDK_VERSION_O,
|
||||
shadows = {SettingsShadowSystemProperties.class})
|
||||
public class HdcpCheckingPreferenceControllerTest {
|
||||
|
||||
|
@@ -42,7 +42,7 @@ import org.robolectric.RuntimeEnvironment;
|
||||
import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class KeepActivitiesPreferenceControllerTest {
|
||||
|
||||
private static final int SETTING_VALUE_ON = 1;
|
||||
|
@@ -28,7 +28,7 @@ import org.robolectric.annotation.Config;
|
||||
import org.robolectric.util.ReflectionHelpers;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class LocalBackupPasswordPreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -43,7 +43,7 @@ import org.mockito.MockitoAnnotations;
|
||||
import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class LocalTerminalPreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -40,7 +40,7 @@ import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH,
|
||||
sdk = TestConfig.SDK_VERSION,
|
||||
sdk = TestConfig.SDK_VERSION_O,
|
||||
shadows = {SettingsShadowSystemProperties.class})
|
||||
public class LogPersistPreferenceControllerTest {
|
||||
|
||||
|
@@ -39,7 +39,7 @@ import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH,
|
||||
sdk = TestConfig.SDK_VERSION,
|
||||
sdk = TestConfig.SDK_VERSION_O,
|
||||
shadows = {SettingsShadowSystemProperties.class})
|
||||
public class LogdSizePreferenceControllerTest {
|
||||
|
||||
|
@@ -41,7 +41,7 @@ import org.robolectric.RuntimeEnvironment;
|
||||
import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class MemoryUsagePreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -38,7 +38,7 @@ import org.robolectric.RuntimeEnvironment;
|
||||
import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class MobileDataAlwaysOnPreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -39,7 +39,7 @@ import org.robolectric.util.ReflectionHelpers;
|
||||
import java.util.Collections;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class MockLocationAppPreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -41,7 +41,7 @@ import org.robolectric.annotation.Config;
|
||||
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class NotificationChannelWarningsPreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -48,7 +48,7 @@ import org.mockito.MockitoAnnotations;
|
||||
import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class OemUnlockPreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
@@ -108,6 +108,7 @@ public class OemUnlockPreferenceControllerTest {
|
||||
doReturn(false).when(mController).showKeyguardConfirmation(mResources,
|
||||
REQUEST_CODE_ENABLE_OEM_UNLOCK);
|
||||
doNothing().when(mController).confirmEnableOemUnlock();
|
||||
|
||||
mController.onPreferenceChange(null, true);
|
||||
|
||||
verify(mController).confirmEnableOemUnlock();
|
||||
@@ -115,17 +116,20 @@ public class OemUnlockPreferenceControllerTest {
|
||||
|
||||
@Test
|
||||
public void onPreferenceChanged_turnOffUnlock() {
|
||||
mController = spy(mController);
|
||||
mController.onPreferenceChange(null, false);
|
||||
verify(mOemLockManager).setOemUnlockAllowedByUser(false);
|
||||
doReturn(false).when(mController).isBootloaderUnlocked();
|
||||
|
||||
verify(mFragment).getChildFragmentManager();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void updateState_preferenceShouldBeCheckedAndShouldBeDisabled() {
|
||||
mController = spy(mController);
|
||||
when(mOemLockManager.isOemUnlockAllowed()).thenReturn(true);
|
||||
doReturn(true).when(mController).isOemUnlockedAllowed();
|
||||
doReturn(true).when(mController).isOemUnlockAllowedByUserAndCarrier();
|
||||
when(mOemLockManager.isDeviceOemUnlocked()).thenReturn(true);
|
||||
doReturn(true).when(mController).isBootloaderUnlocked();
|
||||
|
||||
mController.updateState(mPreference);
|
||||
|
||||
verify(mPreference).setChecked(true);
|
||||
@@ -135,9 +139,10 @@ public class OemUnlockPreferenceControllerTest {
|
||||
@Test
|
||||
public void updateState_preferenceShouldBeUncheckedAndShouldBeDisabled() {
|
||||
mController = spy(mController);
|
||||
when(mOemLockManager.isOemUnlockAllowed()).thenReturn(false);
|
||||
doReturn(false).when(mController).isOemUnlockedAllowed();
|
||||
doReturn(true).when(mController).isOemUnlockAllowedByUserAndCarrier();
|
||||
when(mOemLockManager.isDeviceOemUnlocked()).thenReturn(true);
|
||||
doReturn(true).when(mController).isBootloaderUnlocked();
|
||||
|
||||
mController.updateState(mPreference);
|
||||
|
||||
verify(mPreference).setChecked(false);
|
||||
@@ -147,9 +152,10 @@ public class OemUnlockPreferenceControllerTest {
|
||||
@Test
|
||||
public void updateState_preferenceShouldBeCheckedAndShouldBeEnabled() {
|
||||
mController = spy(mController);
|
||||
when(mOemLockManager.isOemUnlockAllowed()).thenReturn(true);
|
||||
doReturn(true).when(mController).isOemUnlockedAllowed();
|
||||
doReturn(true).when(mController).isOemUnlockAllowedByUserAndCarrier();
|
||||
when(mOemLockManager.isDeviceOemUnlocked()).thenReturn(false);
|
||||
doReturn(false).when(mController).isBootloaderUnlocked();
|
||||
|
||||
mController.updateState(mPreference);
|
||||
|
||||
verify(mPreference).setChecked(true);
|
||||
@@ -176,7 +182,9 @@ public class OemUnlockPreferenceControllerTest {
|
||||
public void onDeveloperOptionsEnabled_preferenceShouldCheckRestriction() {
|
||||
mController = spy(mController);
|
||||
doReturn(false).when(mController).isOemUnlockAllowedByUserAndCarrier();
|
||||
doReturn(false).when(mController).isBootloaderUnlocked();
|
||||
when(mPreference.isEnabled()).thenReturn(true);
|
||||
|
||||
mController.onDeveloperOptionsEnabled();
|
||||
|
||||
verify(mPreference).checkRestrictionAndSetDisabled(UserManager.DISALLOW_FACTORY_RESET);
|
||||
@@ -186,8 +194,11 @@ public class OemUnlockPreferenceControllerTest {
|
||||
@Test
|
||||
public void onDeveloperOptionsDisabled_preferenceShouldCheckRestriction() {
|
||||
mController = spy(mController);
|
||||
doReturn(true).when(mController).isOemUnlockedAllowed();
|
||||
doReturn(false).when(mController).isOemUnlockAllowedByUserAndCarrier();
|
||||
doReturn(false).when(mController).isBootloaderUnlocked();
|
||||
when(mPreference.isEnabled()).thenReturn(true);
|
||||
|
||||
mController.onDeveloperOptionsDisabled();
|
||||
|
||||
verify(mPreference).checkRestrictionAndSetDisabled(UserManager.DISALLOW_FACTORY_RESET);
|
||||
|
@@ -43,7 +43,7 @@ import org.mockito.MockitoAnnotations;
|
||||
import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class PictureColorModePreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -40,7 +40,7 @@ import org.robolectric.RuntimeEnvironment;
|
||||
import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class PointerLocationPreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -43,7 +43,7 @@ import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH,
|
||||
sdk = TestConfig.SDK_VERSION,
|
||||
sdk = TestConfig.SDK_VERSION_O,
|
||||
shadows = {SettingsShadowSystemProperties.class})
|
||||
public class ProfileGpuRenderingPreferenceControllerTest {
|
||||
|
||||
|
@@ -39,7 +39,7 @@ import org.robolectric.annotation.Config;
|
||||
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class ResizableActivityPreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -40,7 +40,7 @@ import org.robolectric.RuntimeEnvironment;
|
||||
import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class RtlLayoutPreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -39,7 +39,7 @@ import org.robolectric.RuntimeEnvironment;
|
||||
import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class SecondaryDisplayPreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -48,7 +48,7 @@ import org.robolectric.annotation.Config;
|
||||
import org.robolectric.util.ReflectionHelpers;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class SelectDebugAppPreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -57,7 +57,7 @@ import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH,
|
||||
sdk = TestConfig.SDK_VERSION,
|
||||
sdk = TestConfig.SDK_VERSION_O,
|
||||
shadows = {ShadowUtils.class})
|
||||
public class SelectUsbConfigPreferenceControllerTest {
|
||||
|
||||
|
@@ -43,7 +43,7 @@ import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH,
|
||||
sdk = TestConfig.SDK_VERSION,
|
||||
sdk = TestConfig.SDK_VERSION_O,
|
||||
shadows = {SettingsShadowSystemProperties.class})
|
||||
public class SetGpuRendererPreferenceControllerTest {
|
||||
|
||||
|
@@ -40,7 +40,7 @@ import org.robolectric.annotation.Config;
|
||||
import org.robolectric.util.ReflectionHelpers;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class ShortcutManagerThrottlingPreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -41,7 +41,7 @@ import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH,
|
||||
sdk = TestConfig.SDK_VERSION,
|
||||
sdk = TestConfig.SDK_VERSION_O,
|
||||
shadows = {SettingsShadowSystemProperties.class})
|
||||
public class ShowLayoutBoundsPreferenceControllerTest {
|
||||
|
||||
|
@@ -47,7 +47,7 @@ import org.robolectric.annotation.Config;
|
||||
import org.robolectric.util.ReflectionHelpers;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class ShowSurfaceUpdatesPreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -40,7 +40,7 @@ import org.robolectric.RuntimeEnvironment;
|
||||
import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class ShowTapsPreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -46,7 +46,7 @@ import org.robolectric.RuntimeEnvironment;
|
||||
import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class SimulateColorSpacePreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -45,7 +45,7 @@ import org.robolectric.RuntimeEnvironment;
|
||||
import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class StayAwakePreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -45,7 +45,7 @@ import org.robolectric.util.ReflectionHelpers;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH,
|
||||
sdk = TestConfig.SDK_VERSION,
|
||||
sdk = TestConfig.SDK_VERSION_O,
|
||||
shadows = {SettingsShadowSystemProperties.class})
|
||||
public class StrictModePreferenceControllerTest {
|
||||
|
||||
|
@@ -38,7 +38,7 @@ import org.robolectric.RuntimeEnvironment;
|
||||
import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class TetheringHardwareAccelPreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -44,7 +44,7 @@ import org.robolectric.annotation.Config;
|
||||
import org.robolectric.util.ReflectionHelpers;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class TransitionAnimationScalePreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -38,7 +38,7 @@ import org.robolectric.RuntimeEnvironment;
|
||||
import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class UsbAudioRoutingPreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -51,7 +51,7 @@ import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class VerifyAppsOverUsbPreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -50,7 +50,7 @@ import org.robolectric.RuntimeEnvironment;
|
||||
import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class WaitForDebuggerPreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -42,7 +42,7 @@ import org.robolectric.annotation.Config;
|
||||
import org.robolectric.util.ReflectionHelpers;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class WebViewAppPreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -40,7 +40,7 @@ import org.mockito.MockitoAnnotations;
|
||||
import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class WifiAggressiveHandoverPreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -38,7 +38,7 @@ import org.robolectric.RuntimeEnvironment;
|
||||
import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class WifiDisplayCertificationPreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -35,7 +35,7 @@ import org.mockito.MockitoAnnotations;
|
||||
import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class WifiRoamScansPreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -35,7 +35,7 @@ import org.mockito.MockitoAnnotations;
|
||||
import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class WifiVerboseLoggingPreferenceControllerTest {
|
||||
@Mock
|
||||
private Context mContext;
|
||||
|
@@ -44,7 +44,7 @@ import org.robolectric.annotation.Config;
|
||||
import org.robolectric.util.ReflectionHelpers;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class WindowAnimationScalePreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
@@ -29,7 +29,7 @@ import org.junit.runner.RunWith;
|
||||
import org.robolectric.annotation.Config;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class FeatureFlagsDashboardTest {
|
||||
|
||||
private FeatureFlagsDashboard mDashboard;
|
||||
|
@@ -45,7 +45,7 @@ import org.robolectric.annotation.Config;
|
||||
import org.robolectric.shadows.ShadowPackageManager;
|
||||
|
||||
@RunWith(SettingsRobolectricTestRunner.class)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
|
||||
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
|
||||
public class DevelopmentTilePreferenceControllerTest {
|
||||
|
||||
@Mock
|
||||
|
Reference in New Issue
Block a user