The basic AOSP settings infrastrucutre. Will add the Google specific resources and tests to GoogleSettings in the next AR/FR change. Test: make DEBUG_ROBOLECTRIC=1 RunSettingsRoboTests -j40 ROBOTEST_FILTER=com.android.settings.MasterClearTest.java Change-Id: I7278b5c6d2a72e71d81c7fa5f937a2313d6c322c
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.