- Call Fragment.startActivityForResult instead of Activity's one Test: make RunSettingsRoboTests Test: App info page is closed instantly after uninstalling the package Change-Id: If29c097c988101f89dcd9d0a5c1c68deed04eaa9
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.