All Classes and Interfaces
Class
Description
Default implementation of
ContextPlugin
.Default implementation of
TypedConfig
.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.
Builds a mocked
ComponentContext
.A few items borrowed from biz.aQute.bndlib DSAnnotationReader and PropertyDef to construct a Map for
felix scr Annotations.toObject() from a combination of an annotation type and an array of property key=value strings
provided via a
ConfigType
annotation.Common functions for resolving OSGi config test parameters.
Predicate for custom filtering of fully identified candidate annotations, accepting an
Optional
of
ConfigType
representing the parent annotation when present, and the Class
of the effective config
type.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 by Component.property()
.Performs configuration management and component property type construction for
ConfigType
and
SetConfig
annotations.Repeatable
container annotation for ConfigType
.Specific exception type thrown when a
ConfigType
annotation is resolved which has ConfigType.lenient()
set to true
, which fails to meet the documented assertion rules.Callback interface for application-specific setup and teardown operations to
customize the mock context.
Callback plugin for application-specific setup and teardown operations to
customize the mock context.
Collects list of context plugins.
Scan METAINF/MANIFEST.MF files.
Map util methods.
Mock
Bundle
implementation.Mock implementation of
EventAdmin
.Factory for mock OSGi objects.
Is thrown when a OSGi mock method required SCR metadata and this is not found in the classpath.
Defines OSGi context objects and helper methods.
Is thrown when a OSGi reference injection fails due to violated constraints.
Define this annotation on a test class or method to use the
ConfigurationAdmin
service
to update the persisted properties for the configuration whose pid matches the SetConfig.pid()
attribute.Repeatable
container annotation for SetConfig
.Represents a single config entry within a
ConfigCollection
.