Due to the refactor of audio device type, DEVICE_OUT_ALL_SCO has been removed. Use DEVICE_OUT_BLUETOOTH_SCO_HEADSET for the test instead. Bug: 135621476 Test: make RunSettingsRoboTests ROBOTEST_FILTER="AudioOutputSwitchPreferenceControllerTest" Change-Id: Ib32f4c313c5d318b6f99e1f0591c98c4c7c82ade Merged-In: Ib32f4c313c5d318b6f99e1f0591c98c4c7c82ade
Running Settings Robolectric tests
The full suite
$ croot
$ make RunSettingsRoboTests
Running a single test class
$ croot
$ make RunSettingsRoboTests ROBOTEST_FILTER=<ClassName>
For example:
make RunSettingsRoboTests ROBOTEST_FILTER=CodeInspectionTest
You can also use partial class name in ROBOTEST_FILTER. If the partial class name matches multiple file names, all of them will be executed.