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 Config
getConfig(Class<?> testClass, Method method, Config globalConfig)
Deprecated.Calculate theConfig
for the given test.protected Properties
getConfigProperties(String packageName)
Deprecated.Return aProperties
file for the given package name, ornull
if none is available.
-
Constructor Details
-
ConfigMerger
public ConfigMerger()Deprecated.
-
-
Method Details
-
getConfig
Deprecated.Calculate theConfig
for 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 aProperties
file for the given package name, ornull
if none is available.- Since:
- 3.2
-