- If usage data start from the time-change event rather than full-charged event [Before] https://screenshot.googleplex.com/BokAvKHXmt2Mmwn [After] https://screenshot.googleplex.com/8thpgVrVt8kqo37 Bug: 336423923 Test: atest SettingsRoboTests:com.android.settings.fuelgauge.batteryusage Change-Id: I66f8b384938f55852e28bd9f50d1a99c7fc9e41b
Running Settings Robolectric tests
The full suite
$ croot
$ make RunSettingsRoboTests
Running a single test class
$ croot
$ make RunSettingsRoboTests ROBOTEST_FILTER=<ClassName>
For example:
make RunSettingsRoboTests ROBOTEST_FILTER=CodeInspectionTest
You can also use partial class name in ROBOTEST_FILTER. If the partial class name matches multiple file names, all of them will be executed.