Package org.apache.sling.testing.mock.osgi.config.annotations
@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.
-
ClassDescriptionDeclares 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.A heterogeneously typed collection of OSGi Config objects for injection as a test parameter.Defines an instance of an OSGi R7 Component Property Type as a combination of a
Class
and an array of strings defining property values in the form expected byComponent.property()
.Repeatable
container annotation forConfigType
.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.Repeatable
container annotation forSetConfig
.TypedConfig<T>Represents a single config entry within aConfigCollection
.