- Create the font size LabeledSeekBarPreference and add the entry 1) It's integrated with the system font scale configurations. 2) Create the new PreviewSizeSeekBarController component for controlling the LabeledSeekBarPreference of the display/font size. 3) Create the new PreviewSizeData component to store the configurations related to the display/font size features. Bug: 211503117 Test: make RunSettingsRoboTests ROBOTEST_FILTER=FontSizeDataTest Test: make RunSettingsRoboTests ROBOTEST_FILTER=PreviewSizeSeekBarControllerTest Change-Id: I0c1cf6d0425c5c8b61cc8ed0c9fedadf7a65bd27
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.