History log of /frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/graph/BatteryMeterDrawableBaseTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5c50dc11b857dfdc265a4e0aa80fd7d17a62e7f6 12-Feb-2018 James Lemieux <jplemieux@google.com> Use external/robolectric-shadows/run_robotests.mk

This allows SettingsLib to test against the latest framework changes.

Also replaced TestConfig with traditional robolectric.properties.

Also reworked the test runner to avoid using deprecated API.

Bug: 73173204
Test: make -j56 RunSettingsLibRoboTests
Change-Id: Iebe130d6542ed7096147e3fff61f9cfd76aad948
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/graph/BatteryMeterDrawableBaseTest.java
af68d729738a028da585ddf0f82128fee7587d79 07-Nov-2017 jackqdyulei <jackqdyulei@google.com> Fix test breakage in settingslib

If we bump up the API level to 26 in settingslib robo tests,
BatteryMeterDrawableBaseTest has test failure.

This cl fix it by inject to the critical level and bump up API
level.

Bug: 69001622
Test: RunSettingsLibRoboTests
Change-Id: I1b70d9ac23be000efbaed3edcef912e6787ebc5c
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/graph/BatteryMeterDrawableBaseTest.java
5466c8f22aecb61e7b520997198878830cd103bb 23-Oct-2017 jackqdyulei <jackqdyulei@google.com> Add paddings when drawing in battery icon

When drawing the exclamation and battery level text, we should
also consider the padding and bounds since they may not be 0
in bt battery icon.

Bug: 68079736
Test: Screenshots & SettingsLibRoboTests
Change-Id: I558e3703489338f8e443d8e56da7576ae03c59a9
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/graph/BatteryMeterDrawableBaseTest.java