Home
last modified time | relevance | path

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

/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewSslTest.java558 final SslErrorWebViewClient webViewClient = new SslErrorWebViewClient(mOnUiThread); in testClearSslPreferences() local
561 mOnUiThread.setWebViewClient(webViewClient); in testClearSslPreferences()
564 assertTrue(webViewClient.wasOnReceivedSslErrorCalled()); in testClearSslPreferences()
569 webViewClient.resetCallCounts(); in testClearSslPreferences()
571 assertTrue(webViewClient.wasOnReceivedSslErrorCalled()); in testClearSslPreferences()
576 webViewClient.resetCallCounts(); in testClearSslPreferences()
578 assertFalse(webViewClient.wasOnReceivedSslErrorCalled()); in testClearSslPreferences()
609 final MockWebViewClient webViewClient = new MockWebViewClient(); in testOnReceivedSslError() local
610 mOnUiThread.setWebViewClient(webViewClient); in testOnReceivedSslError()
614 assertEquals(mWebView, webViewClient.webView()); in testOnReceivedSslError()
[all …]
DWebViewClientTest.java114 final WebViewClient webViewClient = new WebViewClient(); in testShouldOverrideUrlLoadingDefault() local
115 assertFalse(webViewClient.shouldOverrideUrlLoading(mOnUiThread.getWebView(), new String())); in testShouldOverrideUrlLoadingDefault()
128 final MockWebViewClient webViewClient = new MockWebViewClient(); in testShouldOverrideUrlLoading() local
129 mOnUiThread.setWebViewClient(webViewClient); in testShouldOverrideUrlLoading()
136 assertEquals(TEST_URL, webViewClient.getLastShouldOverrideUrl()); in testShouldOverrideUrlLoading()
137 assertNotNull(webViewClient.getLastShouldOverrideResourceRequest()); in testShouldOverrideUrlLoading()
138 assertTrue(webViewClient.getLastShouldOverrideResourceRequest().isForMainFrame()); in testShouldOverrideUrlLoading()
139 assertFalse(webViewClient.getLastShouldOverrideResourceRequest().isRedirect()); in testShouldOverrideUrlLoading()
140 assertFalse(webViewClient.getLastShouldOverrideResourceRequest().hasGesture()); in testShouldOverrideUrlLoading()
223 final MockWebViewClient webViewClient = new MockWebViewClient(); in testLoadPage() local
[all …]
/cts/libs/deviceutillegacy/src/android/webkit/cts/
DWebViewOnUiThread.java85 public void setWebViewClient(final WebViewClient webViewClient) { in setWebViewClient() argument
87 mWebView.setWebViewClient(webViewClient); in setWebViewClient()