Fix test failures due to we set the Settings.Secure.NAS_SETTINGS_UPDATED in NMS instead of in NotificationAssistantPreferenceController. Move some tests to NotificationManagerServiceTest (in another CL) Bug: 187999823 Test: make RunSettingsRoboTests Change-Id: Ibfbaa2c8c15e49a14a7faeda50ec044f62b2fe72
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.