commit | 59e7d60fb4ff36a60bb5f08f63901c3ea7291a83 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | Thu Feb 22 05:30:25 2024 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Thu Feb 22 05:30:25 2024 +0000 |
tree | 8f5cda4b7e032feff5c350be01cdab53533bef6b | |
parent | a9178952aed27479c3df5f170971216031c5e46b [diff] | |
parent | a20232d7a1fd11ed60b641f7cda01f6294cbf0c7 [diff] |
Merge "[Shadow] Fix failed test case for battery defender" into main
diff --git a/tests/robotests/src/com/android/settings/fuelgauge/BatteryInfoTest.java b/tests/robotests/src/com/android/settings/fuelgauge/BatteryInfoTest.java index 0339f57..e99c4e0 100644 --- a/tests/robotests/src/com/android/settings/fuelgauge/BatteryInfoTest.java +++ b/tests/robotests/src/com/android/settings/fuelgauge/BatteryInfoTest.java
@@ -64,7 +64,7 @@ private static final String STATUS_CHARGING_NO_TIME = "50% - charging"; private static final String STATUS_CHARGING_TIME = "50% - 0 min left until full"; private static final String STATUS_NOT_CHARGING = "Not charging"; - private static final String STATUS_CHARGING_FUTURE_BYPASS = "50% - Charging optimized"; + private static final String STATUS_CHARGING_FUTURE_BYPASS = "50% - Charging"; private static final String STATUS_CHARGING_PAUSED = "50% - Charging optimized"; private static final long REMAINING_TIME_NULL = -1; private static final long REMAINING_TIME = 2;
diff --git a/tests/robotests/src/com/android/settings/fuelgauge/batterytip/tips/BatteryDefenderTipTest.java b/tests/robotests/src/com/android/settings/fuelgauge/batterytip/tips/BatteryDefenderTipTest.java index 4efd850..a605ee3 100644 --- a/tests/robotests/src/com/android/settings/fuelgauge/batterytip/tips/BatteryDefenderTipTest.java +++ b/tests/robotests/src/com/android/settings/fuelgauge/batterytip/tips/BatteryDefenderTipTest.java
@@ -82,7 +82,7 @@ @Test public void getIcon_showIcon() { assertThat(mBatteryDefenderTip.getIconId()) - .isEqualTo(R.drawable.ic_battery_status_good_theme); + .isEqualTo(R.drawable.ic_battery_defender_tip_shield); } @Test