Home
last modified time | relevance | path

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

/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewClientTest.java87 final WebViewClient webViewClient = new WebViewClient(); in testShouldOverrideUrlLoadingDefault() local
88 assertFalse(webViewClient.shouldOverrideUrlLoading(mOnUiThread.getWebView(), null)); in testShouldOverrideUrlLoadingDefault()
96 final MockWebViewClient webViewClient = new MockWebViewClient(); in testShouldOverrideUrlLoading() local
97 mOnUiThread.setWebViewClient(webViewClient); in testShouldOverrideUrlLoading()
104 assertEquals(TEST_URL, webViewClient.getLastShouldOverrideUrl()); in testShouldOverrideUrlLoading()
181 final MockWebViewClient webViewClient = new MockWebViewClient(); in testLoadPage() local
182 mOnUiThread.setWebViewClient(webViewClient); in testLoadPage()
186 assertFalse(webViewClient.hasOnPageStartedCalled()); in testLoadPage()
187 assertFalse(webViewClient.hasOnLoadResourceCalled()); in testLoadPage()
188 assertFalse(webViewClient.hasOnPageFinishedCalled()); in testLoadPage()
[all …]
DWebViewSslTest.java554 final SslErrorWebViewClient webViewClient = new SslErrorWebViewClient(mOnUiThread); in testClearSslPreferences() local
557 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() local
606 mOnUiThread.setWebViewClient(webViewClient); in testOnReceivedSslError()
610 assertEquals(mWebView, webViewClient.webView()); in testOnReceivedSslError()
[all …]
DWebViewTest.java273 final ScaleChangedWebViewClient webViewClient = new ScaleChangedWebViewClient(); in testZoom() local
274 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 …]
/cts/libs/deviceutillegacy/src/android/webkit/cts/
DWebViewOnUiThread.java109 final WebViewClient webViewClient = new WaitForLoadedClient(this); in WebViewOnUiThread() local
114 mWebView.setWebViewClient(webViewClient); in WebViewOnUiThread()
169 public void setWebViewClient(final WebViewClient webViewClient) { in setWebViewClient() argument
173 mWebView.setWebViewClient(webViewClient); in setWebViewClient()