admin" from search results. "Backup -> Backup" still appears due to the PrivacySettingsActivity. On clicking that, we get "Backup is disabled by admin" which is OK Bug: 129743816 Test: 1. atest -v UserBackupSettingsActivityTest 2. atest -v BackupInactivePreferenceControllerTest 3. Create and switch to secondary user. Type "backup" in settings search. Note that only "Backup->Backup" is shown and on clicking it, we get "Backup is disabled by admin" Change-Id: Ic13e2d745c9511cbebe27aa4c6f5cd89b277fc37
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.