Continue work from ag/5991582: 1. Add search support for CDMA/GSM related preference 2. Update func getAvailabilityStatus, inside it should get all related manager from subId, rather than default one in controller. Bug: 117843601 Bug: 77276236 Test: RunSettingsRoboTests Change-Id: Id72505a512269bdc5adb02e806d38ac367ce9f07
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.