Package org.robolectric.shadows
Class ShadowWebViewDatabase
java.lang.Object
org.robolectric.shadows.ShadowWebViewDatabase
@Implements(value=android.webkit.WebViewDatabase.class,
callThroughByDefault=false)
public class ShadowWebViewDatabase
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static WebViewDatabase
getInstance
(Context ignored) void
ResetswasClearFormDataCalled()
, setting it back to false.void
Resets theWebViewDatabase
instance to clear any state between tests.boolean
Returnstrue
ifWebViewDatabase.clearFormData()
was called.
-
Constructor Details
-
ShadowWebViewDatabase
public ShadowWebViewDatabase()
-
-
Method Details
-
getInstance
-
resetDatabase
public void resetDatabase()Resets theWebViewDatabase
instance to clear any state between tests. -
wasClearFormDataCalled
public boolean wasClearFormDataCalled()Returnstrue
ifWebViewDatabase.clearFormData()
was called. -
resetClearFormData
public void resetClearFormData()ResetswasClearFormDataCalled()
, setting it back to false.
-