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

Commit 2eff056d authored by Pechetty Sravani's avatar Pechetty Sravani Committed by Android (Google) Code Review
Browse files

Revert "Ignore testSetPolicyLevel_Adaptive"

This reverts commit d47b9a05.

Reason for revert: <Tes revert b/318032060>

Change-Id: If53c8d120f5a71cc8eb87bb820dbb68bc0bcceca
parent d47b9a05
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -116,7 +116,7 @@ public class BatterySaverPolicyTest extends AndroidTestCase {
        testServiceDefaultValue_On(ServiceType.NULL);
    }

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

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