Use CardPreference directly here instead of preference category Also clean up code and test a little bit. Bug: 119618813 Test: RunSettingsRoboTests Change-Id: I3ee2313c10e6e2e34609137f3dcb0391104377d5
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.