/* @SmallTest @Feature({"AndroidWebView", "Navigation"}) */ @DisabledTest public void testResend() throws Throwable { mContentsClient.setResubmit(true); doReload(); assertEquals(1, mContentsClient.getResubmissions()); assertEquals("Reload", getTitleOnUiThread(mAwContents)); }
@SmallTest @Feature({"AndroidWebView", "Navigation"}) public void testDontResend() throws Throwable { mContentsClient.setResubmit(false); doReload(); assertEquals(1, mContentsClient.getResubmissions()); assertEquals("Load", getTitleOnUiThread(mAwContents)); }