All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.robolectric.internal.ShadowProvider Maven / Gradle / Ivy

There is a newer version: 3.4-rc2
Show newest version
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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy