Add new unit test cases in NetworkRequestDialogActivityTest.java The coverage rate of NetworkRequestDialogActivity will raise from 48% to 91% Bug: 151696220 Test: make RunSettingsRoboTests ROBOTEST_FILTER=NetworkRequestDialogActivityTest Change-Id: I6530815ded8d21d01d5da1d7ee5f38ef190d3863
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.