is set. createAdminIntentSupport always checks user restrictions on user 0( if called from system uid) so can't be used here when account could be work profile account. Bug: 70674230 Test: m -j RunSettingsRobotests Change-Id: Ibd2df8891d9fa7b4c85c42a305c5db2acd4c829b
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.