When updating errorprone from 2.23.0 -> 2.32.0, more issues are found. Bug: 253827323 Flag: EXEMPT refactor Test: m RUN_ERROR_PRONE=true javac-check Change-Id: Iebb442f5e616861d1f2a2e2dc56a8ac72b18cb95
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