org.robolectric.internal.ShadowProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shadow-api Show documentation
Show all versions of shadow-api Show documentation
An alternative Android testing framework.
package org.robolectric.internal;
import java.util.Map;
/**
* Interface implemented by packages that provide shadows to Robolectric.
*/
public interface ShadowProvider {
/**
* Reset the static state of all shadows provided by this package.
*/
void reset();
/**
* Array of Java package names that are shadowed by this package.
*
* @return Array of Java package names.
*/
String[] getProvidedPackageNames();
/**
* Return the mapping of class name to shadow name.
*
* @return Shadow mapping.
*/
Map getShadowMap();
}