This is already covered by getAvailabilityStatus_somePackagesAllowed_shouldBeAvailable and getAvailabilityStatus_allPackagesAllowed_shouldBeAvailable. Test: make RunSettingsRoboTests -j40 ROBOTEST_FILTER=CrossProfileCalendarPreferenceControllerTest Fixes: 130896049 Change-Id: I3dbbbde693750c69e042f7c19143730cc8e313ff
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.