org.robolectric.shadows.ShadowStrictMode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shadows-core-v18 Show documentation
Show all versions of shadows-core-v18 Show documentation
An alternative Android testing framework.
The newest version!
package org.robolectric.shadows;
import android.os.StrictMode;
import org.robolectric.annotation.Implementation;
import org.robolectric.annotation.Implements;
/**
* Shadow for {@link android.os.StrictMode}.
*/
@Implements(StrictMode.class)
public class ShadowStrictMode {
@Implementation
public static void setVmPolicy(StrictMode.VmPolicy p) {
// Prevent Robolectric from calling through
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy