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

Commit d47b9a05 authored by Michael Wachenschwanz's avatar Michael Wachenschwanz
Browse files

Ignore testSetPolicyLevel_Adaptive

Fixes: 317737530
Test: atest BatterySaverPolicyTest
Change-Id: I59b96daf6617433d8b2f13f2542d5b5baf23a4f4
parent 0479229a
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -116,7 +116,7 @@ public class BatterySaverPolicyTest extends AndroidTestCase {
        testServiceDefaultValue_On(ServiceType.NULL);
    }

    @Suppress
    @Suppress // TODO: b/317823111 - Remove once test fixed.
    @SmallTest
    public void testGetBatterySaverPolicy_PolicyVibration_DefaultValueCorrect() {
        testServiceDefaultValue_On(ServiceType.VIBRATION);
@@ -202,7 +202,7 @@ public class BatterySaverPolicyTest extends AndroidTestCase {
        testServiceDefaultValue_On(ServiceType.QUICK_DOZE);
    }

    @Suppress
    @Suppress // TODO: b/317823111 - Remove once test fixed.
    @SmallTest
    public void testUpdateConstants_getCorrectData() {
        mBatterySaverPolicy.updateConstantsLocked(BATTERY_SAVER_CONSTANTS, "");
@@ -302,6 +302,7 @@ public class BatterySaverPolicyTest extends AndroidTestCase {
        }
    }

    @Suppress // TODO: b/317823111 - Remove once test fixed.
    public void testSetPolicyLevel_Adaptive() {
        mBatterySaverPolicy.setPolicyLevel(POLICY_LEVEL_ADAPTIVE);