OSDN Git Service

Move development test package to sdk 26
authorjeffreyhuang <jeffreyhuang@google.com>
Tue, 28 Nov 2017 19:57:13 +0000 (11:57 -0800)
committerjeffreyhuang <jeffreyhuang@google.com>
Tue, 28 Nov 2017 20:03:31 +0000 (12:03 -0800)
Test: make RunSettingsRoboTests -j40
Change-Id: I886a72774442884329d15e5dd276b00a269201c5

75 files changed:
tests/robotests/src/com/android/settings/development/AbstractBluetoothA2dpPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/AdbPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/AllowAppsOnExternalPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/AnimatorDurationScalePreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/AppsNotRespondingPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/BackgroundProcessLimitPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/BluetoothAbsoluteVolumePreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/BluetoothAudioBitsPerSamplePreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/BluetoothAudioChannelModePreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/BluetoothAudioCodecPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/BluetoothAudioQualityPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/BluetoothAudioSampleRatePreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/BluetoothAvrcpVersionPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/BluetoothDeviceNoNamePreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/BluetoothInbandRingingPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/BluetoothSnoopLogPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/BugReportInPowerPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/BugReportPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/CameraLaserSensorPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/ClearAdbKeysPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/ConnectivityMonitorPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/CoolColorTemperaturePreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/DebugGpuOverdrawPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/DebugNonRectClipOperationsPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/DebugViewAttributesPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/DevelopmentSettingsDashboardFragmentTest.java
tests/robotests/src/com/android/settings/development/DevelopmentSettingsDisabledActivityTest.java
tests/robotests/src/com/android/settings/development/DevelopmentSwitchBarControllerTest.java
tests/robotests/src/com/android/settings/development/DisableAutomaticUpdatesPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/FileEncryptionPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/ForceGpuRenderingPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/ForceMSAAPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/FreeformWindowsPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/GpuViewUpdatesPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/HardwareLayersUpdatesPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/HardwareOverlaysPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/HdcpCheckingPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/KeepActivitiesPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/LocalBackupPasswordPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/LocalTerminalPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/LogPersistPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/LogdSizePreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/MemoryUsagePreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/MobileDataAlwaysOnPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/MockLocationAppPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/NotificationChannelWarningsPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/PictureColorModePreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/PointerLocationPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/ProfileGpuRenderingPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/ResizableActivityPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/RtlLayoutPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/SecondaryDisplayPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/SelectDebugAppPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/SelectUsbConfigPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/SetGpuRendererPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/ShortcutManagerThrottlingPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/ShowLayoutBoundsPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/ShowSurfaceUpdatesPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/ShowTapsPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/SimulateColorSpacePreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/StayAwakePreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/StrictModePreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/TetheringHardwareAccelPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/TransitionAnimationScalePreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/UsbAudioRoutingPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/VerifyAppsOverUsbPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/WaitForDebuggerPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/WebViewAppPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/WifiAggressiveHandoverPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/WifiDisplayCertificationPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/WifiRoamScansPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/WifiVerboseLoggingPreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/WindowAnimationScalePreferenceControllerTest.java
tests/robotests/src/com/android/settings/development/featureflags/FeatureFlagsDashboardTest.java
tests/robotests/src/com/android/settings/development/qstile/DevelopmentTilePreferenceControllerTest.java

index 582400d..29f19df 100644 (file)
@@ -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
index ddcd850..6dac819 100644 (file)
@@ -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
index e23c4cc..2703617 100644 (file)
@@ -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
index 5acaf0a..6c83e47 100644 (file)
@@ -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
index 15c84b5..8850df0 100644 (file)
@@ -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
index b384cd0..67b2abe 100644 (file)
@@ -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
index 09e6e9c..652832f 100644 (file)
@@ -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 {
 
index fe0a41a..586d626 100644 (file)
@@ -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
index c4dcc19..2f51f1c 100644 (file)
@@ -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
index 29d8047..33cd3a1 100644 (file)
@@ -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
index e76f1d0..20593dc 100644 (file)
@@ -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
index 4c113b1..95f07c2 100644 (file)
@@ -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
index 07d0e50..3f993e5 100644 (file)
@@ -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 {
 
index 4e4d8fa..0bc527a 100644 (file)
@@ -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 {
 
index 4074e25..d132224 100644 (file)
@@ -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 {
 
index 4fa991b..7d29637 100644 (file)
@@ -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 {
 
index 82086dd..bce9b0d 100644 (file)
@@ -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
index 908c519..77a109a 100644 (file)
@@ -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
index 1443d16..21a01aa 100644 (file)
@@ -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 {
 
index c4be569..471bf27 100644 (file)
@@ -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 {
 
index 5e99ec9..bb974f4 100644 (file)
@@ -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 {
 
index 16e6c2a..6e85ca6 100644 (file)
@@ -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 {
 
index 2a35993..7aa34ca 100644 (file)
@@ -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 {
 
index 585fe51..877f7fb 100644 (file)
@@ -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 {
 
index 76efa90..6256ddb 100644 (file)
@@ -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
index 881ee84..43e389a 100644 (file)
@@ -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;
index 5927646..aa9a3a3 100644 (file)
@@ -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
index bfe30fb..f34bedf 100644 (file)
@@ -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
         })
index b4e0755..d1e2fd9 100644 (file)
@@ -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
index 1810b11..f94213f 100644 (file)
@@ -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 {
 
index 66060a8..e81b422 100644 (file)
@@ -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 {
 
index ca1ff08..5aaadb4 100644 (file)
@@ -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 {
 
index b4a4212..43757d0 100644 (file)
@@ -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";
index ecb0da5..028c29e 100644 (file)
@@ -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 {
 
index 9288df9..e7c984b 100644 (file)
@@ -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 {
 
index 09e48d3..31e910e 100644 (file)
@@ -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
index 434941c..a85075b 100644 (file)
@@ -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 {
 
index 02a5df6..9736365 100644 (file)
@@ -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;
index c698313..24b0290 100644 (file)
@@ -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
index bd33319..66e7ccd 100644 (file)
@@ -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
index 1dc1255..b567dbe 100644 (file)
@@ -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 {
 
index f7be653..ec0f492 100644 (file)
@@ -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 {
 
index d68f276..a769344 100644 (file)
@@ -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
index 01ed435..7f33630 100644 (file)
@@ -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
index 0aab0db..e136fc0 100644 (file)
@@ -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
index 5ad0329..f471f35 100644 (file)
@@ -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
index fac74ac..ff5ffd3 100644 (file)
@@ -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
index 6a6cd2c..120e4a4 100644 (file)
@@ -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
index 8175110..d6c6185 100644 (file)
@@ -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 {
 
index 1289aec..3d6bd16 100644 (file)
@@ -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
index 808e2a7..d607a27 100644 (file)
@@ -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
index 485e441..d11c117 100644 (file)
@@ -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
index 03f4972..6c38cea 100644 (file)
@@ -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
index 5a82ca0..bbbc52b 100644 (file)
@@ -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 {
 
index 7b3097b..9ad1540 100644 (file)
@@ -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 {
 
index 0a189cb..6654f9a 100644 (file)
@@ -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
index 2eb1070..8320c97 100644 (file)
@@ -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 {
 
index a5cfa22..94af993 100644 (file)
@@ -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
index 40e2fbd..d8fec93 100644 (file)
@@ -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
index 23c6e4c..3570368 100644 (file)
@@ -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
index 41b9fde..2dd0caf 100644 (file)
@@ -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
index 0f839c1..fdc841b 100644 (file)
@@ -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 {
 
index e044f2a..43798c0 100644 (file)
@@ -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
index e8f9980..5da1abc 100644 (file)
@@ -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
index 4b7e82b..644e7c9 100644 (file)
@@ -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
index e396ebe..4585b6d 100644 (file)
@@ -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
index e1d96d1..1d7f3f7 100644 (file)
@@ -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
index 59f6e35..26331b1 100644 (file)
@@ -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
index ebda837..57b6e1d 100644 (file)
@@ -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
index c049bc1..9ca9b55 100644 (file)
@@ -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
index 60e5e49..a7a6608 100644 (file)
@@ -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
index f8a9b87..09a5e9c 100644 (file)
@@ -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;
index 0fbff3b..c7e2258 100644 (file)
@@ -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
index 0839a02..1fd07c3 100644 (file)
@@ -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;
index 1cdff20..e4c479e 100644 (file)
@@ -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