- instead of removing it from the preference screen, set its visibility to false, so that if it becomes available later, it will still be found on the screen. Bug: 119838520 Test: make RunSettingsRoboTests Change-Id: Idc7079bb5846aef247dd87c0b0dba2546f2d8f8f
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.