Add the skeleton of the Battery Saver Test: atest BatterySaverScreenTest Bug: 368359126 Flag: com.android.settings.flags.catalyst_battery_saver_screen Change-Id: I05a694c34468c01e4e032275567acbf37615c6f0
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