Searched refs:webView (Results 1 – 4 of 4) sorted by relevance
26 private WebView webView; field in ShadowWebViewTest30 webView = new WebView(ApplicationProvider.getApplicationContext()); in setUp()35 webView.loadUrl("http://example.com"); in shouldRecordLastLoadedUrl()36 assertThat(shadowOf(webView).getLastLoadedUrl()).isEqualTo("http://example.com"); in shouldRecordLastLoadedUrl()41 webView.loadUrl("http://example.com", null); in shouldRecordLastLoadedUrlForRequestWithAdditionalHeaders()42 assertThat(shadowOf(webView).getLastLoadedUrl()).isEqualTo("http://example.com"); in shouldRecordLastLoadedUrlForRequestWithAdditionalHeaders()43 assertThat(shadowOf(webView).getLastAdditionalHttpHeaders()).isNull(); in shouldRecordLastLoadedUrlForRequestWithAdditionalHeaders()47 webView.loadUrl("http://example.com", additionalHttpHeaders); in shouldRecordLastLoadedUrlForRequestWithAdditionalHeaders()48 assertThat(shadowOf(webView).getLastLoadedUrl()).isEqualTo("http://example.com"); in shouldRecordLastLoadedUrlForRequestWithAdditionalHeaders()49 assertThat(shadowOf(webView).getLastAdditionalHttpHeaders()).isNotNull(); in shouldRecordLastLoadedUrlForRequestWithAdditionalHeaders()[all …]
89 WebView webView = view.findViewById(R.id.web_view); in testWebView() local91 webView.loadUrl("www.example.com"); in testWebView()93 assertThat(shadowOf(webView).getLastLoadedUrl()).isEqualTo("www.example.com"); in testWebView()
31 - (WebView *)webView; method42 [[browserView webView] mainFrame];
40 public void setAcceptThirdPartyCookies(WebView webView, boolean b) { in setAcceptThirdPartyCookies() argument45 public boolean acceptThirdPartyCookies(WebView webView) { in acceptThirdPartyCookies() argument