Home
last modified time | relevance | path

Searched refs:mockDnsPref (Results 1 – 1 of 1) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details/
DWifiDetailPreferenceControllerTest.java122 @Mock private WifiDetailPreference mockDnsPref; field in WifiDetailPreferenceControllerTest
261 .thenReturn(mockDnsPref); in setupMockedPreferenceScreen()
408 verify(mockDnsPref).setDetailText("8.8.4.4,8.8.8.8"); in dnsServersPref_shouldHaveDetailTextSet()
426 mockDnsPref); in noLinkProperties_allIpDetailsHidden()
434 verify(mockDnsPref).setVisible(false); in noLinkProperties_allIpDetailsHidden()
439 verify(mockDnsPref, never()).setVisible(true); in noLinkProperties_allIpDetailsHidden()
476 mockDnsPref, mockIpv6Category, mockIpv6AddressesPref); in onLinkPropertiesChanged_updatesFields()
514 inOrder.verify(mockDnsPref, never()).setVisible(true); in onLinkPropertiesChanged_updatesFields()
519 inOrder.verify(mockDnsPref).setDetailText( in onLinkPropertiesChanged_updatesFields()
522 inOrder.verify(mockDnsPref).setVisible(true); in onLinkPropertiesChanged_updatesFields()