Package org.robolectric
Class ConfigMerger
- java.lang.Object
-
- org.robolectric.ConfigMerger
-
@Deprecated public class ConfigMerger extends Object
Deprecated.Provide an implementation ofProvider
. 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
All Methods Instance Methods Concrete Methods Deprecated Methods 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.
-
-
-
Method Detail
-
getConfig
public Config getConfig(Class<?> testClass, Method method, Config globalConfig)
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
protected Properties getConfigProperties(String packageName)
Deprecated.Return aProperties
file for the given package name, ornull
if none is available.- Since:
- 3.2
-
-