Flag: EXEMPT bugfix Bug: 409318132 Test: m -j256 Settings && atest SettingsRoboTests:ContentProtectionTogglePreferenceControllerTest (cherry picked from commit ef801e1a8ec3a18ce9e0221fc7e1dfe495d0be8a) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:094c9df207d9bb430427dadc2e327b4834b57b01) Merged-In: I46609c795923d427a5b7fa10bc2e8b071fad72d6 Change-Id: I46609c795923d427a5b7fa10bc2e8b071fad72d6
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