Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit adc9d7fb authored by jeffreyhuang's avatar jeffreyhuang
Browse files

Move display test package to sdk 26

Test: make RunSettingsRoboTests -j40
Change-Id: I88978ab800e845eda6c937bf890016d53928d4fd
parent 4a19283b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -46,7 +46,7 @@ import org.mockito.MockitoAnnotations;
import org.robolectric.annotation.Config;
import org.robolectric.annotation.Config;


@RunWith(SettingsRobolectricTestRunner.class)
@RunWith(SettingsRobolectricTestRunner.class)
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION,
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O,
        shadows = {ShadowSecureSettings.class})
        shadows = {ShadowSecureSettings.class})
public class AmbientDisplayNotificationsPreferenceControllerTest {
public class AmbientDisplayNotificationsPreferenceControllerTest {


+1 −1
Original line number Original line Diff line number Diff line
@@ -39,7 +39,7 @@ import org.mockito.MockitoAnnotations;
import org.robolectric.annotation.Config;
import org.robolectric.annotation.Config;


@RunWith(SettingsRobolectricTestRunner.class)
@RunWith(SettingsRobolectricTestRunner.class)
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION,
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O,
        shadows = {ShadowSecureSettings.class})
        shadows = {ShadowSecureSettings.class})
public class AmbientDisplayPreferenceControllerTest {
public class AmbientDisplayPreferenceControllerTest {


+1 −1
Original line number Original line Diff line number Diff line
@@ -41,7 +41,7 @@ import org.robolectric.annotation.Config;
import org.robolectric.shadows.ShadowApplication;
import org.robolectric.shadows.ShadowApplication;


@RunWith(SettingsRobolectricTestRunner.class)
@RunWith(SettingsRobolectricTestRunner.class)
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
public class AutoBrightnessPreferenceControllerTest {
public class AutoBrightnessPreferenceControllerTest {
    @Mock(answer = Answers.RETURNS_DEEP_STUBS)
    @Mock(answer = Answers.RETURNS_DEEP_STUBS)
    private Context mContext;
    private Context mContext;
+1 −1
Original line number Original line Diff line number Diff line
@@ -48,7 +48,7 @@ import org.robolectric.annotation.Config;
@RunWith(SettingsRobolectricTestRunner.class)
@RunWith(SettingsRobolectricTestRunner.class)
@Config(
@Config(
    manifest = TestConfig.MANIFEST_PATH,
    manifest = TestConfig.MANIFEST_PATH,
    sdk = TestConfig.SDK_VERSION,
    sdk = TestConfig.SDK_VERSION_O,
    shadows = ShadowSystemSettings.class
    shadows = ShadowSystemSettings.class
)
)
public class AutoRotatePreferenceControllerTest {
public class AutoRotatePreferenceControllerTest {
+1 −1
Original line number Original line Diff line number Diff line
@@ -31,7 +31,7 @@ import org.mockito.MockitoAnnotations;
import org.robolectric.annotation.Config;
import org.robolectric.annotation.Config;


@RunWith(SettingsRobolectricTestRunner.class)
@RunWith(SettingsRobolectricTestRunner.class)
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION)
@Config(manifest = TestConfig.MANIFEST_PATH, sdk = TestConfig.SDK_VERSION_O)
public class BatteryPercentagePreferenceControllerTest {
public class BatteryPercentagePreferenceControllerTest {
    @Mock private Context mContext;
    @Mock private Context mContext;
    private BatteryPercentagePreferenceController mController;
    private BatteryPercentagePreferenceController mController;
Loading