Apparently the wifi config can sometimes come back as null initially when the device auto-connects to a network. This CL simply makes the controller resilient to that so that it doesn't crash the app. Test: robotests Bug: 73076869 Change-Id: I99098f35df9cd902f5f244a872cce9b71c17c224
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.