- Battery saver is off by default. Test: manual test with: settings delete global low_power && settings delete global low_power_trigger_level Test: b ROBOTEST_FILTER=BatterySaver RunSettingsRoboTests Bug: 76460719 Change-Id: I749bba9a5e36fe8ccee6e4ed843596bc94d96fcc Fix: 76460719
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.