Revert^2 "Ignore failing test cases in BatterTipsCardPreferenceTest"
This reverts commit a8cc8c10de
.
Reason for revert:
These tests are still failing: https://android-build.corp.google.com/test_investigate/?invocationId=I09000010224426738&testResultId=TR72029080085366662
Change-Id: I1ffac500a4dc411aa8ab03ab76b02e217b7d43de
This commit is contained in:
committed by
Android (Google) Code Review
parent
a8cc8c10de
commit
22a1d4757a
@@ -40,6 +40,7 @@ import com.android.settings.testutils.FakeFeatureFactory;
|
|||||||
import com.android.settingslib.core.instrumentation.MetricsFeatureProvider;
|
import com.android.settingslib.core.instrumentation.MetricsFeatureProvider;
|
||||||
|
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
|
import org.junit.Ignore;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
import org.mockito.ArgumentCaptor;
|
import org.mockito.ArgumentCaptor;
|
||||||
@@ -155,6 +156,7 @@ public final class BatteryTipsCardPreferenceTest {
|
|||||||
"ScreenTimeoutAnomaly");
|
"ScreenTimeoutAnomaly");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Ignore("b/313582999")
|
||||||
@Test
|
@Test
|
||||||
public void onClick_mainBtnOfAppsAnomaly_selectHighlightSlot() {
|
public void onClick_mainBtnOfAppsAnomaly_selectHighlightSlot() {
|
||||||
final PowerAnomalyEvent appsAnomaly = BatteryTestUtils.createAppAnomalyEvent();
|
final PowerAnomalyEvent appsAnomaly = BatteryTestUtils.createAppAnomalyEvent();
|
||||||
@@ -176,6 +178,7 @@ public final class BatteryTipsCardPreferenceTest {
|
|||||||
.action(mContext, SettingsEnums.ACTION_BATTERY_TIPS_CARD_ACCEPT, "AppAnomaly");
|
.action(mContext, SettingsEnums.ACTION_BATTERY_TIPS_CARD_ACCEPT, "AppAnomaly");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Ignore("b/313582999")
|
||||||
@Test
|
@Test
|
||||||
public void onClick_dismissBtnOfAppsAnomaly_keepHighlightSlotIndex() {
|
public void onClick_dismissBtnOfAppsAnomaly_keepHighlightSlotIndex() {
|
||||||
final PowerAnomalyEvent appsAnomaly = BatteryTestUtils.createAppAnomalyEvent();
|
final PowerAnomalyEvent appsAnomaly = BatteryTestUtils.createAppAnomalyEvent();
|
||||||
|
Reference in New Issue
Block a user