exempt_slice_controller_not_in_xml Add OneHandedMainSwitchPreferenceController in the xml file to avoid Settings RunSettingsRoboTests fail. Bug: 289967656 Test: atest CodeInspectionTest (depends on ag/23891767) Change-Id: I916c0eab544ccef59d65a4d4131edda5f87e1980
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.