metric category **Root Cause** The test was written when the metric category is set to 0. After we update the metric category to FLASH_NOTIFICATION_SETTINGS in the FlashNotificationsPrefereenceFragment, we forgot to update the test. Bug: 279082331 Test: atest FlashNotificationsPreferenceFragmentTest Change-Id: Icd709bd9e571ca264226d0ca860e5c482eae3927
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.