- Checking battery sharing states at the beging may have some performance issue, post battery status update to background thread to avoid ANR Bug: 193600924 Test: make SettingsRoboTests Change-Id: I3b73e6bd4f952bc832783b9b3b5d45db560d088c
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.