This CL aims at fixing the tests in Settings due to the fact that earlier PIN length was being returned as a long whereas now it's being returned as an integer now. Bug: b/267222046 Test: atest AutoPinConfirmPreferenceControllerTest Change-Id: Iee28557e25a411c2ce6a6245afaafb890b753261
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.