The BluetoothDeviceUdater added the checking whether the item is in the list. It caused this testcase failed. Add more mocks for this testcase. Bug: 237223797 Test: make RunSettingsRoboTests ROBOTEST_FILTER=BluetoothDevicesSliceTest Change-Id: Idb746e42480f99846efb5d1e4d4a411a5a9ca296 Merged-In: Idb746e42480f99846efb5d1e4d4a411a5a9ca296
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.