Bug: 181764224 Test: New tests added to SettingsUnitTests. Test: Tested manually with and without feature-provided fragment. Test: No new failures in SettingsUnitTests, or robolectric. No failures in security directory of robolectric tests. Change-Id: I21038baf3098c18e1713a332085a5efc376f73da
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.