Since detail page support to display for saved network which connection state may be disconnected or not in range, add more test cases for this new change. Bug: 124707751 Test: atest WifiDetailPreferenceControllerTest passed Change-Id: Ia6426ed6336c09f387317c5597f8deb14c1a9502
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.