- Convert inheritance from AbstractPreferenceController to TogglePreferenceController. - Register BadgingNotificationPreferenceController in XML. - Add RoboTests test cases for BadgingNotificationPreferenceController. Fixes: 67997784 Test: RunSettingsRoboTests Change-Id: If10744c067f065e7c2465ca1fff66895d7dc1c56 Merged-In: If10744c067f065e7c2465ca1fff66895d7dc1c56
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.