@Version("1.0.0")
Package org.apache.sling.testing.mock.osgi.config.annotations
Annotations and interfaces intended to be referenced in end-user test classes for parameter and config resolution.
-
Interface Summary Interface Description ConfigCollection A heterogeneously typed collection of OSGi Config objects for injection as a test parameter.TypedConfig<T> Represents a single config entry within aConfigCollection
. -
Annotation Types Summary Annotation Type Description AutoConfig Declares a component configuration pid for which all non-configured component property type annotations in scope are converted to maps and merged to ConfigurationAdmin just prior to test execution.ConfigType Defines an instance of an OSGi R7 Component Property Type as a combination of aClass
and an array of strings defining property values in the form expected byComponent.property()
.ConfigTypes Repeatable
container annotation forConfigType
.SetConfig Define this annotation on a test class or method to use theConfigurationAdmin
service to update the persisted properties for the configuration whose pid matches theSetConfig.pid()
attribute.SetConfigs Repeatable
container annotation forSetConfig
.