This is private implement details, will be removed in future. Should call MainSwitchBar's isChecked() and setChecked() to ensure main switch bar's style is set correctly. Bug: 306658427 Test: manual - on wifi tether Test: manual - on developer options Test: m RunSettingsRoboTests Change-Id: I292ffbcf73da0721fc206e3dac7610a0aeb20047
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.