This is a prerequisite for using upcoming Catalyst integration test Bug: 372774754 Test: atest Flag: EXEMPT minor update Change-Id: I4809df8d06f0c3d2de1c10d17e997ff80a8d4086
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