OSDN Git Service

Settings: Disable failing tests.
authorAndreas Gampe <agampe@google.com>
Mon, 26 Feb 2018 20:22:29 +0000 (12:22 -0800)
committerAndreas Gampe <agampe@google.com>
Wed, 28 Feb 2018 02:19:10 +0000 (18:19 -0800)
Temporarily disable.

(cherry picked from commit b506fb9b1918fe4b2144339567862ff03b3942cc)

Bug: 73892008
Test: m RunSettingsRoboTests
Exempt-From-Owner-Approval: Cherrypick
Merged-In: I06df032d4a4de84c2f9f46e5086d97f688b0c989
Change-Id: I06df032d4a4de84c2f9f46e5086d97f688b0c989

tests/robotests/src/com/android/settings/fuelgauge/PowerUsageSummaryTest.java

index 4cda7fe..8b1da1b 100644 (file)
@@ -67,6 +67,7 @@ import com.android.settings.testutils.shadow.SettingsShadowResources;
 import com.android.settingslib.core.AbstractPreferenceController;
 
 import org.junit.Before;
+import org.junit.Ignore;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 import org.mockito.Answers;
@@ -487,6 +488,7 @@ public class PowerUsageSummaryTest {
                 any());
     }
 
+    @Ignore("b/73892008")
     @Test
     public void testShowBothEstimates_summariesAreBothModified() {
         doReturn(new TextView(mRealContext)).when(mBatteryLayoutPref).findViewById(R.id.summary2);