Package org.robolectric.pluginapi.config
Interface ConfigurationStrategy
- All Known Implementing Classes:
HierarchicalConfigurationStrategy
public interface ConfigurationStrategy
Strategy for configuring individual tests.
- Since:
- 4.2
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Heterogeneous typesafe collection of configuration objects managed by theirConfigurer
. -
Method Summary
Modifier and TypeMethodDescriptionDetermine the configuration for the given test class and method.
-
Method Details
-
getConfig
Determine the configuration for the given test class and method.Since a method may be run on multiple test subclasses,
testClass
indicates which test case is currently being evaluated.- Parameters:
testClass
- the test class being evaluated; this might be a subclass of the method's declaring class.method
- the test method to be evaluated- Returns:
- the set of configs
-