We previously changed ManageExternalStorageDetails to use AppOpsManager#setUidMode instead of AppOpsManager#setMode, but forgot to update the relevant unittest. This CL changes that unittest. Test: make RunSettingsRoboTests ROBOTEST_FILTER=ManageExternalStorageDetailsTest Fix: 150914062 Change-Id: I2cfe7e7a19f2422474d11fb946089a6847b36b12
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.