* When developer options is turned off and on again, 'Default USB configuration' and 'Disable USB audio routing' should not be enabled if USB data signaling is disabled. Manual testing: * Disable USB data signaling * Verify preferences are disabled * Turn developer options off and on * Verify preferences remain disabled Bug: 180711035 Test: manual testing make RunSettingsRoboTests -j ROBOTEST_FILTER=UsbAudioRoutingPreferenceControllerTest make RunSettingsRoboTests -j ROBOTEST_FILTER=DefaultUsbConfigurationPreferenceControllerTest Change-Id: Id08228da812b7534e2217b0c3f30a7ac989f7553
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.