
org.robolectric.shadows.ShadowWebViewDatabase Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of framework Show documentation
Show all versions of framework Show documentation
An alternative Android testing framework.
The newest version!
package org.robolectric.shadows;
import android.content.Context;
import android.webkit.WebViewDatabase;
import org.robolectric.annotation.Implementation;
import org.robolectric.annotation.Implements;
import org.robolectric.shadow.api.Shadow;
@Implements(value = WebViewDatabase.class, callThroughByDefault = false)
public class ShadowWebViewDatabase {
@Implementation
public static WebViewDatabase getInstance(Context ignored) {
return Shadow.newInstanceOf(WebViewDatabase.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy