The API of the builder was changed a bit to clean up some things and make others more explicit. Update tests in settingslib accordingly. Bug: 382497909 Flag: TEST_ONLY Test: this Change-Id: Ib31991d61e7b232c8a2befda92537d7b388beb5b
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