commit | ca048b51c5a02e14d216db613006a6b011500891 | [log] [tgz] |
---|---|---|
author | Wesley.CW Wang <wesleycwwang@google.com> | Mon Mar 29 17:47:16 2021 +0800 |
committer | Wesley Wang <wesleycwwang@google.com> | Mon Mar 29 14:33:09 2021 +0000 |
tree | 620b5fa76da4581abcb72ce5958fa16d9b6483f4 | |
parent | 0a0721fb8ac56369b8d7b183d16c5d851b2e35ce [diff] |
Fix summary detector test fail Bug: 183919477 Test: make RunSettingsRoboTests -j40 Change-Id: I879c07e1c44a6e17ea9ceaca85ec4778e0131c5d
diff --git a/tests/robotests/src/com/android/settings/fuelgauge/batterytip/detectors/SummaryDetectorTest.java b/tests/robotests/src/com/android/settings/fuelgauge/batterytip/detectors/SummaryDetectorTest.java index 0fd3ccf..5794b6c 100644 --- a/tests/robotests/src/com/android/settings/fuelgauge/batterytip/detectors/SummaryDetectorTest.java +++ b/tests/robotests/src/com/android/settings/fuelgauge/batterytip/detectors/SummaryDetectorTest.java
@@ -54,9 +54,9 @@ } @Test - public void testDetect_notDisabled_tipVisible() { + public void testDetect_notDisabled_tipInvisible() { SummaryDetector detector = new SummaryDetector(mPolicy, AVERAGE_TIME_MS); - assertThat(detector.detect().isVisible()).isTrue(); + assertThat(detector.detect().isVisible()).isFalse(); } }