Calling Slice.bindSlice() directly will cause the exception stating that slices are not pinned, which sometimes leads to crash. Hence, change the way we bind slices which handles pinSlice() for us before onBindSlice(). Bug: 120552892 Test: robotests, unit tests Change-Id: I3e65c6b79876dbee5db6f19387bc6b675f734161
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.