@Implements(value=android.webkit.WebViewDatabase.class, callThroughByDefault=false) public class ShadowWebViewDatabase extends Object
Constructor | Description |
---|---|
ShadowWebViewDatabase() |
Modifier and Type | Method | Description |
---|---|---|
protected static WebViewDatabase |
getInstance(Context ignored) |
|
void |
resetClearFormData() |
Resets
wasClearFormDataCalled() , setting it back to false. |
void |
resetDatabase() |
Resets the
WebViewDatabase instance to clear any state between tests. |
boolean |
wasClearFormDataCalled() |
Returns
true if WebViewDatabase.clearFormData() was called. |
@Implementation protected static WebViewDatabase getInstance(Context ignored)
public void resetDatabase()
WebViewDatabase
instance to clear any state between tests.public boolean wasClearFormDataCalled()
true
if WebViewDatabase.clearFormData()
was called.public void resetClearFormData()
wasClearFormDataCalled()
, setting it back to false.