Bug: 123595964 Test: Open Privacy page with one and two accessibility services enabled and click the preference. Test: Open Privacy page with zero accessibility services enabled and do not see the preference. Test: atest AccessibilityUsagePreferenceControllerTest Change-Id: Ib1dab374cb53dfbc473b2d5ac49115e608a13ab8
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.