* Simplify StringJoiner to '+' since it only have one case * Simplify Collections usage to use removeIf() and findFirst() directly * Change class name SharedPreferenceUtils to PreferredShortcuts Bug: 158540780 Test: atest ToggleFeaturePreferenceFragmentTest Test: atest PreferredShortcutsTest Change-Id: I02f03ccba09b6d7edaa5c0c8223ab3561a5e976b
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.