IgnoredPureGetter, LenientFormatStringValidation, ProtocolBufferOrdinal, and ReturnValueIgnored. https://errorprone.info/bugpatterns Bug: 253827323 Test: RUN_ERROR_PRONE=true m javac-check Change-Id: I9975c8689c9d673d0b676c60d68ccec1953470f8 Merged-In: Ia0e16b8be5284d13bed4366cbee0f92748bf2f85
Running Settings Robolectric tests
The full suite
$ croot
$ atest SettingsRoboTests
Running a single test class
With a filter
$ croot
$ atest SettingsRoboTests:com.android.settings.display.AdaptiveSleepPreferenceControllerTest
You can also run any single test class with atest (it will try to find the correct path)
$ atest AdaptiveSleepPreferenceControllerTest