Searched refs:mFallbackConnection (Results 1 – 1 of 1) sorted by relevance
224 private @Mock HttpURLConnection mFallbackConnection; field in NetworkMonitorTest501 return mFallbackConnection; in setUp()1108 setPortal302(mFallbackConnection); in testIsCaptivePortal_FallbackProbeIsPortal()1116 setStatus(mFallbackConnection, 500); in testIsCaptivePortal_FallbackProbeIsNotPortal()1130 setStatus(mFallbackConnection, 500); in testIsCaptivePortal_OtherFallbackProbeIsPortal()1138 verify(mFallbackConnection, times(1)).getResponseCode(); in testIsCaptivePortal_OtherFallbackProbeIsPortal()1155 setStatus(mFallbackConnection, 404);1158 verify(mFallbackConnection, times(1)).getResponseCode();1172 verify(mFallbackConnection, never()).getResponseCode();1446 verify(mFallbackConnection, never()).getResponseCode();[all …]