Bug: 333901673 Test: atest IconOptionsProviderImplTest Flag: android.app.modes_ui Change-Id: I6fa15fa12238eb9c0d1b93803010349b9092812b
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