commit | cb40bd29477d7e7c8df4836f05e6bafc7674fb83 | [log] [tgz] |
---|---|---|
author | Wesley.CW Wang <wesleycwwang@google.com> | Mon Jun 07 14:59:13 2021 +0800 |
committer | Wesley.CW Wang <wesleycwwang@google.com> | Mon Jun 07 14:59:13 2021 +0800 |
tree | 623f5253ba74a2dae819f8aaf95089cfc270139c | |
parent | a9db8202d9df5524415c269c83c7dfab20711414 [diff] |
Fix AppBatteryPreferenceControllerTest test fail Bug: 190187197 Bug: 190239610 Test: make RunSettingsRoboTests Change-Id: I113eb738003531c67acd72aa8f597e9c34ca2cc9
diff --git a/tests/robotests/src/com/android/settings/applications/appinfo/AppBatteryPreferenceControllerTest.java b/tests/robotests/src/com/android/settings/applications/appinfo/AppBatteryPreferenceControllerTest.java index 73e9bed..2115947 100644 --- a/tests/robotests/src/com/android/settings/applications/appinfo/AppBatteryPreferenceControllerTest.java +++ b/tests/robotests/src/com/android/settings/applications/appinfo/AppBatteryPreferenceControllerTest.java
@@ -134,7 +134,7 @@ mController.updateBattery(); assertThat(mBatteryPreference.getSummary()) - .isEqualTo("No battery use since last full charge"); + .isEqualTo("No battery use for past 24 hours"); } @Test @@ -147,7 +147,7 @@ mController.updateBattery(); - assertThat(mBatteryPreference.getSummary()).isEqualTo("60% use since last full charge"); + assertThat(mBatteryPreference.getSummary()).isEqualTo("60% use for past 24 hours"); } @Test