This should also address a bug where this method used to only check class name instead of package+class. Bug: 264307062 Test: atest ToggleAccessibilityServicePreferenceFragmentTest Change-Id: Ia5f602c6fbc1d23c88dc3d5076c701445b692887
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.