Package org.robolectric.config
Class ConfigurationRegistry
java.lang.Object
org.robolectric.config.ConfigurationRegistry
Holds configuration objects for the current test, computed using
Configurer.
Configuration is computed before tests run, outside of their sandboxes. If the configuration
is needed from within a sandbox (when a test is executing), we need to transfer it to a class
that the SandboxClassLoader recognizes. We do this by serializing and deserializing in maybeReloadInSandboxClassLoader(Object).
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
instance
-
-
Constructor Details
-
ConfigurationRegistry
-
-
Method Details
-
get
Returns the configuration object of the specified class, computed usingConfigurer.
-