The mainly changed: 1. Will not insert invalid apn data to database. 2. Clicking back button will save the APN data to database if the data is valid. Test: make ROBOTEST_FILTER=ApnEditorTest -j40 RunSettingsRoboTests Bug: 73745458 Bug: 67327863 Change-Id: Ie2c147cae03ad78d43c351e05add761b2dffac0c
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.