Searched refs:newWebView (Results 1 – 2 of 2) sorted by relevance
512 WebView newWebView = new WebView(ApplicationProvider.getApplicationContext()); in shouldSaveAndRestoreHistoryList() local513 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() local532 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 …]
256 WebView newWebView = new WebView(ApplicationProvider.getApplicationContext()); in shouldSaveAndRestoreHistoryList() local257 WebBackForwardList historyList = newWebView.restoreState(outState); in shouldSaveAndRestoreHistoryList()259 assertThat(newWebView.canGoBack()).isTrue(); in shouldSaveAndRestoreHistoryList()260 assertThat(newWebView.getUrl()).isEqualTo("foo2.bar"); in shouldSaveAndRestoreHistoryList()