Home
last modified time | relevance | path

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

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowWebView.java54 private boolean canGoBack; field in ShadowWebView
293 protected boolean canGoBack() { in canGoBack() method in ShadowWebView
296 return canGoBack; in canGoBack()
303 if (canGoBack()) { in goBack()
359 public void setCanGoBack(boolean canGoBack) { in setCanGoBack() argument
361 this.canGoBack = canGoBack; in setCanGoBack()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowWebViewTest.java110 public void canGoBack() throws Exception { in canGoBack() method in ShadowWebViewTest
112 assertThat(webView.canGoBack()).isFalse(); in canGoBack()
115 assertThat(webView.canGoBack()).isTrue(); in canGoBack()
117 assertThat(webView.canGoBack()).isFalse(); in canGoBack()
259 assertThat(newWebView.canGoBack()).isTrue(); in shouldSaveAndRestoreHistoryList()