Searched refs:webViewClient (Results 1 – 3 of 3) sorted by relevance
582 final SslErrorWebViewClient webViewClient = new SslErrorWebViewClient(mOnUiThread); in testClearSslPreferences() local585 mOnUiThread.setWebViewClient(webViewClient); in testClearSslPreferences()589 webViewClient.wasOnReceivedSslErrorCalled()); in testClearSslPreferences()594 webViewClient.resetCallCounts(); in testClearSslPreferences()597 webViewClient.wasOnReceivedSslErrorCalled()); in testClearSslPreferences()602 webViewClient.resetCallCounts(); in testClearSslPreferences()605 webViewClient.wasOnReceivedSslErrorCalled()); in testClearSslPreferences()634 final MockWebViewClient webViewClient = new MockWebViewClient(); in testOnReceivedSslError() local635 mOnUiThread.setWebViewClient(webViewClient); in testOnReceivedSslError()639 assertEquals(mWebView, webViewClient.webView()); in testOnReceivedSslError()[all …]
151 final WebViewClient webViewClient = new WebViewClient(); in testShouldOverrideUrlLoadingDefault() local152 assertFalse(webViewClient.shouldOverrideUrlLoading(mOnUiThread.getWebView(), new String())); in testShouldOverrideUrlLoadingDefault()163 final MockWebViewClient webViewClient = new MockWebViewClient(); in testShouldOverrideUrlLoading() local164 mOnUiThread.setWebViewClient(webViewClient); in testShouldOverrideUrlLoading()171 assertEquals(TEST_URL, webViewClient.getLastShouldOverrideUrl()); in testShouldOverrideUrlLoading()172 assertNotNull(webViewClient.getLastShouldOverrideResourceRequest()); in testShouldOverrideUrlLoading()173 assertTrue(webViewClient.getLastShouldOverrideResourceRequest().isForMainFrame()); in testShouldOverrideUrlLoading()174 assertFalse(webViewClient.getLastShouldOverrideResourceRequest().isRedirect()); in testShouldOverrideUrlLoading()175 assertFalse(webViewClient.getLastShouldOverrideResourceRequest().hasGesture()); in testShouldOverrideUrlLoading()268 final MockWebViewClient webViewClient = new MockWebViewClient(); in testLoadPage() local[all …]
87 public void setWebViewClient(final WebViewClient webViewClient) { in setWebViewClient() argument89 mWebView.setWebViewClient(webViewClient); in setWebViewClient()