Class ConfigMerger

java.lang.Object
org.robolectric.ConfigMerger

@Deprecated
public class ConfigMerger
extends Object
Deprecated.
Provide an implementation of Provider. This class will be removed in Robolectric 4.3.
Computes the effective Robolectric configuration for a given test method.

This class is no longer used directly by Robolectric, but is left for convenience during migration.

See Also:
Migration Notes for more details.
  • Constructor Details

  • Method Details

    • getConfig

      public Config getConfig​(Class<?> testClass, Method method, Config globalConfig)
      Deprecated.
      Calculate the Config for the given test.
      Parameters:
      testClass - the class containing the test
      method - the test method
      globalConfig - global configuration values
      Returns:
      the effective configuration
      Since:
      3.2
    • getConfigProperties

      protected Properties getConfigProperties​(String packageName)
      Deprecated.
      Return a Properties file for the given package name, or null if none is available.
      Since:
      3.2