Fix failing Settings Robolectric tests for notifications. Test: atest SettingsRoboTests:com.android.settings.notification Test: atest SettingsRoboTests:com.android.settings.notification.app Bug: 300157932 Change-Id: I068017b5c9bf6beb83ae7c580ae3206807b358e7
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.