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

Commit a8cc8c10 authored by Xinyi Mao's avatar Xinyi Mao Committed by Android (Google) Code Review
Browse files

Revert "Ignore failing test cases in BatterTipsCardPreferenceTest"

This reverts commit 66469618.

Reason for revert: test passed in local atest

Change-Id: Ib3ae6f6b31fdbec30a9f95e0b0c6b4b64ced4940
parent 66469618
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -40,7 +40,6 @@ import com.android.settings.testutils.FakeFeatureFactory;
import com.android.settingslib.core.instrumentation.MetricsFeatureProvider;

import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.ArgumentCaptor;
@@ -156,7 +155,6 @@ public final class BatteryTipsCardPreferenceTest {
                        "ScreenTimeoutAnomaly");
    }

    @Ignore("b/313582999")
    @Test
    public void onClick_mainBtnOfAppsAnomaly_selectHighlightSlot() {
        final PowerAnomalyEvent appsAnomaly = BatteryTestUtils.createAppAnomalyEvent();
@@ -178,7 +176,6 @@ public final class BatteryTipsCardPreferenceTest {
                .action(mContext, SettingsEnums.ACTION_BATTERY_TIPS_CARD_ACCEPT, "AppAnomaly");
    }

    @Ignore("b/313582999")
    @Test
    public void onClick_dismissBtnOfAppsAnomaly_keepHighlightSlotIndex() {
        final PowerAnomalyEvent appsAnomaly = BatteryTestUtils.createAppAnomalyEvent();