Bug: 374034911 Test: atest, plus following manual test \ - Test tabbed UI with/without work profile \ - Test that disabled by work profile launches alert dialog \ - Test whether toggling an app only toggle the app for the user. Flag: Build.RELEASE_AVF_SUPPORT_CUSTOM_VM_WITH_PARAVIRTUALIZED_DEVICES Change-Id: I4bf0a2d521cf3e632f6c0320e0b5cc0154d5b68f
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