Merge "Add Wi-Fi hotspot > Security Settings page" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
be76ebdc5b
@@ -155,6 +155,16 @@ public class WifiTetherSettingsTest {
|
||||
verify(mEmptyTextView).setText(anyInt());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void onSecuritySummaryChanged_canNotShowWifiHotspot_returnFalse() {
|
||||
int stringResId = R.string.wifi_security_sae;
|
||||
mWifiTetherSettings.mWifiHotspotSecurity = mock(Preference.class);
|
||||
|
||||
mWifiTetherSettings.onSecuritySummaryChanged(stringResId);
|
||||
|
||||
verify(mWifiTetherSettings.mWifiHotspotSecurity).setSummary(stringResId);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void onSpeedSummaryChanged_canNotShowWifiHotspot_returnFalse() {
|
||||
int stringResId = R.string.wifi_hotspot_speed_summary_6g;
|
||||
|
Reference in New Issue
Block a user