if it is restricted. - Use the RestrictedPreferenceHelper to check the restricted state. Fix: 179245126 Test: rebotest and see the UI Change-Id: I3c0e3bd0f3596d6fa548b6f8f10e4d12e7e50c9a
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.