- Current EditText value will set to preference text if we click OK in EditTextPreferenceDialogFragment. We will set preference text to default when click cancel in DeviceNameWarningDialog. Change-Id: Iab9561953b58276e98ee68d9196fa18e0dc3d78c Fixes: 115693838 Test: make RunSettingsRoboTests
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.