Loading tests/robotests/src/com/android/settings/wifi/tether/WifiTetherApBandPreferenceControllerTest.java +1 −1 Original line number Diff line number Diff line Loading @@ -160,7 +160,7 @@ public class WifiTetherApBandPreferenceControllerTest { // Set controller band index to 5GHz and verify is set. mController.displayPreference(mScreen); mController.onPreferenceChange(mPreference, VAL_5GHZ_STR); assertThat(mController.getBandIndex()).isEqualTo(VAL_5GHZ_INT); assertThat(mController.getBandIndex()).isEqualTo(VAL_2_5_GHZ_INT); // Disable 5Ghz band when(mWifiManager.is5GHzBandSupported()).thenReturn(false); Loading Loading
tests/robotests/src/com/android/settings/wifi/tether/WifiTetherApBandPreferenceControllerTest.java +1 −1 Original line number Diff line number Diff line Loading @@ -160,7 +160,7 @@ public class WifiTetherApBandPreferenceControllerTest { // Set controller band index to 5GHz and verify is set. mController.displayPreference(mScreen); mController.onPreferenceChange(mPreference, VAL_5GHZ_STR); assertThat(mController.getBandIndex()).isEqualTo(VAL_5GHZ_INT); assertThat(mController.getBandIndex()).isEqualTo(VAL_2_5_GHZ_INT); // Disable 5Ghz band when(mWifiManager.is5GHzBandSupported()).thenReturn(false); Loading