- This CL use new CachedBluetoothDevice callback instance in construct to avoid unregister wrong callback. - This CL use flag to make sure preference will register callback on onAttached() when preference remove callback on onPrepareForRemoval() or onDetached(). - Update test case Bug: 168682778 Bug: 157653997 Test: make -j42 RunSettingsRoboTests Change-Id: I7a0d9f5332153ee80634e191847b84cd7c380b7d
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.