Call NetworkRequestUserSelectionCallback#reject() to notify framework that user quit this request without selecting any network. Bug: 138855477 Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=com.android.settings.wifi.NetworkRequestErrorDialogFragmentTest Change-Id: I4b06c9772598ab3f9416f32456cd0a65e2d70d68 Merged-In: I4b06c9772598ab3f9416f32456cd0a65e2d70d68
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.