**Root cause** The test was failing because it was not grabbing the boolean resource from the values-mc999 folder. I'm not sure what changed in Robolectric that causes it not able to find the resources based on the qualifiers. Bug: 279082331 Test: atest TopLevelAccessibilityPreferenceControllerTest Change-Id: Ie738d1ada1a87b48f34efb7e0477c691c4d44d1e
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.