public class PackagePropertiesLoader extends Object
Provides cached access to robolectric-properties
files, for all your configuration needs!
Used by ConfigConfigurer
to support package configuration (see Configuring Robolectric but it may be useful for other Configurer
s as well.
Constructor and Description |
---|
PackagePropertiesLoader() |
Modifier and Type | Method and Description |
---|---|
Properties |
getConfigProperties(String packageName)
Return a
Properties file for the given package name, or null if none is available. |
public Properties getConfigProperties(@Nonnull String packageName)
Return a Properties
file for the given package name, or null
if none is available.