- Extract the connect listener from WifiSettings - Add a listener to display a toast on failure to connect in ConnectToWifiHandler - Also for the new AccessPoint.startOsuProvisioning() which accepts a connect listener Bug: 123697580 Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.wifi Change-Id: I29b2c1e2c58312d692675ecabf2818b4bbed3b51
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.