Prevent test failing by avoid using ShadowFragment in the test. This will cause `androidx.fragment.app.SuperNotCalledException` when creating HearingAidPairingDialogFragment. Bug: 299597695 Test: atest AvailableMediaDeviceGroupControllerTest Change-Id: I99b5213cb78aad97fcb7e44e1babcf6c7f11636e
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.