javax.inject.Provider
instead. See Migration Notes for details. This class will be removed in Robolectric 4.3.@Deprecated public class ConfigMerger extends Object
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.
Constructor and Description |
---|
ConfigMerger()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Config |
getConfig(Class<?> testClass,
Method method,
Config globalConfig)
Deprecated.
Calculate the
Config for the given test. |
protected Properties |
getConfigProperties(String packageName)
Deprecated.
Return a
Properties file for the given package name, or null if none is available. |
public Config getConfig(Class<?> testClass, Method method, Config globalConfig)
Calculate the Config
for the given test.
testClass
- the class containing the testmethod
- the test methodglobalConfig
- global configuration valuesprotected Properties getConfigProperties(String packageName)
Return a Properties
file for the given package name, or null
if none is available.