Currently we will get an arbitrary value that is greater than the default depending on the order returned by the Display. Bug: 180723012 Test: make RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.display.PeakRefreshRatePreferenceControllerTest" Change-Id: Id2c99f2bea9c6b2814d82a9db3a417e4a93ee06d
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.