Home
last modified time | relevance | path

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

/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowWebViewTest.java512 WebView newWebView = new WebView(ApplicationProvider.getApplicationContext()); in shouldSaveAndRestoreHistoryList() local
513 WebBackForwardList historyList = newWebView.restoreState(outState); in shouldSaveAndRestoreHistoryList()
515 assertThat(newWebView.canGoBack()).isTrue(); in shouldSaveAndRestoreHistoryList()
516 assertThat(newWebView.getUrl()).isEqualTo("foo2.bar"); in shouldSaveAndRestoreHistoryList()
531 WebView newWebView = new WebView(ApplicationProvider.getApplicationContext()); in shouldSaveAndRestoreHistoryList_goBack() local
532 WebBackForwardList historyList = newWebView.restoreState(outState); in shouldSaveAndRestoreHistoryList_goBack()
534 assertThat(newWebView.canGoBack()).isFalse(); in shouldSaveAndRestoreHistoryList_goBack()
535 assertThat(newWebView.canGoForward()).isTrue(); in shouldSaveAndRestoreHistoryList_goBack()
536 assertThat(newWebView.getUrl()).isEqualTo("foo1.bar"); in shouldSaveAndRestoreHistoryList_goBack()
549 WebView newWebView = new WebView(ApplicationProvider.getApplicationContext()); in shouldSaveAndRestoreHistoryList_noPushedEntries() local
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowWebViewTest.java256 WebView newWebView = new WebView(ApplicationProvider.getApplicationContext()); in shouldSaveAndRestoreHistoryList() local
257 WebBackForwardList historyList = newWebView.restoreState(outState); in shouldSaveAndRestoreHistoryList()
259 assertThat(newWebView.canGoBack()).isTrue(); in shouldSaveAndRestoreHistoryList()
260 assertThat(newWebView.getUrl()).isEqualTo("foo2.bar"); in shouldSaveAndRestoreHistoryList()