Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DStandardWifiEntryTest.java1187 StandardWifiEntry spyEntry = spy(new StandardWifiEntry( in testCanConnect_nonEapMethod_returnTrueIfReachable() local
1192 when(spyEntry.getConnectedState()).thenReturn(CONNECTED_STATE_DISCONNECTED); in testCanConnect_nonEapMethod_returnTrueIfReachable()
1194 assertThat(spyEntry.canConnect()).isEqualTo(true); in testCanConnect_nonEapMethod_returnTrueIfReachable()
1197 spyEntry = spy(new StandardWifiEntry( in testCanConnect_nonEapMethod_returnTrueIfReachable()
1202 when(spyEntry.getConnectedState()).thenReturn(CONNECTED_STATE_DISCONNECTED); in testCanConnect_nonEapMethod_returnTrueIfReachable()
1204 assertThat(spyEntry.canConnect()).isEqualTo(true); in testCanConnect_nonEapMethod_returnTrueIfReachable()
1207 spyEntry = spy(new StandardWifiEntry( in testCanConnect_nonEapMethod_returnTrueIfReachable()
1212 when(spyEntry.getConnectedState()).thenReturn(CONNECTED_STATE_DISCONNECTED); in testCanConnect_nonEapMethod_returnTrueIfReachable()
1214 assertThat(spyEntry.canConnect()).isEqualTo(true); in testCanConnect_nonEapMethod_returnTrueIfReachable()
1217 spyEntry = spy(new StandardWifiEntry( in testCanConnect_nonEapMethod_returnTrueIfReachable()
[all …]
DPasspointWifiEntryTest.java112 PasspointWifiEntry spyEntry = spy(passpointWifiEntry); in testGetSummary_expired_showExpired() local
113 when(spyEntry.isExpired()).thenReturn(true); in testGetSummary_expired_showExpired()
115 assertThat(spyEntry.getSummary()).isEqualTo(expired); in testGetSummary_expired_showExpired()