Fixes: 134965754 Test: Verified slice appears when not enrolled. Test: Verified slice does not appear when enrolled. Test: Verified slice disappears after clicking on icon and going back to settings page. Change-Id: Id1c4458742ab622df8d5881e926fe54684b36843
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.