Searched refs:lastLoadData (Results 1 – 2 of 2) sorted by relevance
57 ShadowWebView.LoadData lastLoadData = shadowOf(webView).getLastLoadData(); in shouldRecordLastLoadedData() local58 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() local67 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()
56 private LoadData lastLoadData; field in ShadowWebView167 lastLoadData = new LoadData(data, mimeType, encoding); in loadData()373 return lastLoadData; in getLastLoadData()