When checking language/build fingerprint to skip reindex, language check was comparing Locale object and String object, so they would never be equal, so we accidentally reindex every time. - Switched Objects.equal to TextUtils.equal, this catches the error at compiler level. Bug: 80065409 Test: compile/robotest Change-Id: I2b3c68bb1c2fd876338f42321605567d7e64d64b
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.