When the presenter app doesn't have certain permissions, it's safer to go with a generic fallback slice which just redirects user to the actual settings page. Test: test on the presenter app. robo test Fix: 178014725 Change-Id: I6f5358af2e00cb2fedba0b3f1474a026135986c6
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.