Package org.robolectric
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 Summary
Constructors Constructor Description ConfigMerger()Deprecated. -
Method Summary
Modifier and Type Method Description ConfiggetConfig(Class<?> testClass, Method method, Config globalConfig)Deprecated.Calculate theConfigfor the given test.protected PropertiesgetConfigProperties(String packageName)Deprecated.Return aPropertiesfile for the given package name, ornullif none is available.
-
Constructor Details
-
ConfigMerger
public ConfigMerger()Deprecated.
-
-
Method Details
-
getConfig
Deprecated.Calculate theConfigfor the given test.- Parameters:
testClass- the class containing the testmethod- the test methodglobalConfig- global configuration values- Returns:
- the effective configuration
- Since:
- 3.2
-
getConfigProperties
Deprecated.Return aPropertiesfile for the given package name, ornullif none is available.- Since:
- 3.2
-