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
Constructors Constructor Description ShadowWebViewDatabase()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static WebViewDatabase
getInstance(Context ignored)
void
resetClearFormData()
ResetswasClearFormDataCalled()
, setting it back to false.void
resetDatabase()
Resets theWebViewDatabase
instance to clear any state between tests.boolean
wasClearFormDataCalled()
Returnstrue
ifWebViewDatabase.clearFormData()
was called.
-
-
-
Method Detail
-
getInstance
@Implementation protected static WebViewDatabase getInstance(Context ignored)
-
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.
-
-