This CL creates the controllers for the screen and makes it so that the appropriate APIs are called when the user makes selections. Test: battery saver comes on when state changed via adb, robotests Bug: 111450127 Change-Id: I1dbcadd4b91276b700947df5a9444aabfec63aa3
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.