Home
last modified time | relevance | path

Searched refs:lastLoadData (Results 1 – 2 of 2) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowWebViewTest.java57 ShadowWebView.LoadData lastLoadData = shadowOf(webView).getLastLoadData(); in shouldRecordLastLoadedData() local
58 assertThat(lastLoadData.data).isEqualTo("<html><body><h1>Hi</h1></body></html>"); in shouldRecordLastLoadedData()
59 assertThat(lastLoadData.mimeType).isEqualTo("text/html"); in shouldRecordLastLoadedData()
60 assertThat(lastLoadData.encoding).isEqualTo("utf-8"); in shouldRecordLastLoadedData()
66 ShadowWebView.LoadDataWithBaseURL lastLoadData = shadowOf(webView).getLastLoadDataWithBaseURL(); in shouldRecordLastLoadDataWithBaseURL() local
67 assertThat(lastLoadData.baseUrl).isEqualTo("base/url"); in shouldRecordLastLoadDataWithBaseURL()
68 assertThat(lastLoadData.data).isEqualTo("<html><body><h1>Hi</h1></body></html>"); in shouldRecordLastLoadDataWithBaseURL()
69 assertThat(lastLoadData.mimeType).isEqualTo("text/html"); in shouldRecordLastLoadDataWithBaseURL()
70 assertThat(lastLoadData.encoding).isEqualTo("utf-8"); in shouldRecordLastLoadDataWithBaseURL()
71 assertThat(lastLoadData.historyUrl).isEqualTo("history/url"); in shouldRecordLastLoadDataWithBaseURL()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowWebView.java56 private LoadData lastLoadData; field in ShadowWebView
167 lastLoadData = new LoadData(data, mimeType, encoding); in loadData()
373 return lastLoadData; in getLastLoadData()