Searched refs:lastLoadData (Results 1 – 2 of 2) sorted by relevance
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | WebViewTest.java | 42 ShadowWebView.LoadData lastLoadData = shadowOf(webView).getLastLoadData(); in shouldRecordLastLoadedData() local 43 assertThat(lastLoadData.data, equalTo("<html><body><h1>Hi</h1></body></html>")); in shouldRecordLastLoadedData() 44 assertThat(lastLoadData.mimeType, equalTo("text/html")); in shouldRecordLastLoadedData() 45 assertThat(lastLoadData.encoding, equalTo("utf-8")); in shouldRecordLastLoadedData() 51 … ShadowWebView.LoadDataWithBaseURL lastLoadData = shadowOf(webView).getLastLoadDataWithBaseURL(); in shouldRecordLastLoadDataWithBaseURL() local 52 assertThat(lastLoadData.baseUrl, equalTo("base/url")); in shouldRecordLastLoadDataWithBaseURL() 53 assertThat(lastLoadData.data, equalTo("<html><body><h1>Hi</h1></body></html>")); in shouldRecordLastLoadDataWithBaseURL() 54 assertThat(lastLoadData.mimeType, equalTo("text/html")); in shouldRecordLastLoadDataWithBaseURL() 55 assertThat(lastLoadData.encoding, equalTo("utf-8")); in shouldRecordLastLoadDataWithBaseURL() 56 assertThat(lastLoadData.historyUrl, equalTo("history/url")); in shouldRecordLastLoadDataWithBaseURL()
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowWebView.java | 34 private ShadowWebView.LoadData lastLoadData; field in ShadowWebView 55 lastLoadData = new LoadData(data, mimeType, encoding); in loadData() 211 return lastLoadData; in getLastLoadData()
|