Root Cause: Preferences in this page need to pass CachedBluetoothDevice or will finish the page imediately Solution: theses preferences are in device detail page which will only show when device get connected. Show them in search result is not reasonable. Remove them. Bug: 270508779 Test: verfiy it did not show in search result Change-Id: I866d7be158ff87343d76fa0b3173382880c4aa6e
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.