For device with 5g support, settings will display auto, 2g, and 5g options. For decice without 5g support, auto and 2g option are shown. Bug: 68763822 Test: compile Test: m RunSettingsRoboTests -j40 Test: manually test by checking UI and start hotspot with no issue Test: manually test that wifi settings logs expected values Change-Id: Iee9f8cff6aa48df80f5c228596cd9a14f884c274
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.