Before this cl, we use getPackagesForOps() to populate restrict app list. However in that API not all the apps are currently restricted, so in this cl we filter out all the allowed apps. Bug: 73085780 Test: RunSettingsRoboTest Change-Id: Ia7c1eb95b07a1a0d203b394eb64dcd98d25bd561
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.