Searched refs:webViewClient (Results 1 – 4 of 4) sorted by relevance
87 final WebViewClient webViewClient = new WebViewClient(); in testShouldOverrideUrlLoadingDefault() local88 assertFalse(webViewClient.shouldOverrideUrlLoading(mOnUiThread.getWebView(), null)); in testShouldOverrideUrlLoadingDefault()96 final MockWebViewClient webViewClient = new MockWebViewClient(); in testShouldOverrideUrlLoading() local97 mOnUiThread.setWebViewClient(webViewClient); in testShouldOverrideUrlLoading()104 assertEquals(TEST_URL, webViewClient.getLastShouldOverrideUrl()); in testShouldOverrideUrlLoading()181 final MockWebViewClient webViewClient = new MockWebViewClient(); in testLoadPage() local182 mOnUiThread.setWebViewClient(webViewClient); in testLoadPage()186 assertFalse(webViewClient.hasOnPageStartedCalled()); in testLoadPage()187 assertFalse(webViewClient.hasOnLoadResourceCalled()); in testLoadPage()188 assertFalse(webViewClient.hasOnPageFinishedCalled()); in testLoadPage()[all …]
554 final SslErrorWebViewClient webViewClient = new SslErrorWebViewClient(mOnUiThread); in testClearSslPreferences() local557 mOnUiThread.setWebViewClient(webViewClient); in testClearSslPreferences()560 assertTrue(webViewClient.wasOnReceivedSslErrorCalled()); in testClearSslPreferences()565 webViewClient.resetWasOnReceivedSslErrorCalled(); in testClearSslPreferences()567 assertTrue(webViewClient.wasOnReceivedSslErrorCalled()); in testClearSslPreferences()572 webViewClient.resetWasOnReceivedSslErrorCalled(); in testClearSslPreferences()574 assertFalse(webViewClient.wasOnReceivedSslErrorCalled()); in testClearSslPreferences()605 final MockWebViewClient webViewClient = new MockWebViewClient(); in testOnReceivedSslError() local606 mOnUiThread.setWebViewClient(webViewClient); in testOnReceivedSslError()610 assertEquals(mWebView, webViewClient.webView()); in testOnReceivedSslError()[all …]
273 final ScaleChangedWebViewClient webViewClient = new ScaleChangedWebViewClient(); in testZoom() local274 mOnUiThread.setWebViewClient(webViewClient); in testZoom()289 webViewClient.waitForScaleChanged(); in testZoom()296 webViewClient.waitForScaleChanged(); in testZoom()303 webViewClient.waitForScaleChanged(); in testZoom()310 webViewClient.waitForScaleChanged(); in testZoom()321 webViewClient.waitForScaleChanged(); in testZoom()329 webViewClient.waitForScaleChanged(); in testZoom()346 webViewClient.waitForScaleChanged(); in testZoom()354 webViewClient.waitForScaleChanged(); in testZoom()[all …]
109 final WebViewClient webViewClient = new WaitForLoadedClient(this); in WebViewOnUiThread() local114 mWebView.setWebViewClient(webViewClient); in WebViewOnUiThread()169 public void setWebViewClient(final WebViewClient webViewClient) { in setWebViewClient() argument173 mWebView.setWebViewClient(webViewClient); in setWebViewClient()