Index
All Classes and Interfaces|All Packages
A
- afterEach(ExtensionContext) - Method in class org.apache.sling.testing.mock.osgi.junit5.OsgiContextExtension
- afterSetUp(ContextCallback<? extends OsgiContextImpl>...) - Method in class org.apache.sling.testing.mock.osgi.junit5.OsgiContextBuilder
- afterTearDown(ContextCallback<? extends OsgiContextImpl>...) - Method in class org.apache.sling.testing.mock.osgi.junit5.OsgiContextBuilder
- afterTestExecution(ExtensionContext) - Method in class org.apache.sling.testing.mock.osgi.junit5.OsgiContextExtension
B
- beforeEach(ExtensionContext) - Method in class org.apache.sling.testing.mock.osgi.junit5.OsgiConfigParametersExtension
- beforeEach(ExtensionContext) - Method in class org.apache.sling.testing.mock.osgi.junit5.OsgiContextExtension
- beforeSetUp(ContextCallback<? extends OsgiContextImpl>...) - Method in class org.apache.sling.testing.mock.osgi.junit5.OsgiContextBuilder
- beforeTearDown(ContextCallback<? extends OsgiContextImpl>...) - Method in class org.apache.sling.testing.mock.osgi.junit5.OsgiContextBuilder
- build() - Method in class org.apache.sling.testing.mock.osgi.junit5.OsgiContextBuilder
C
- CollectConfigTypes - Annotation Type in org.apache.sling.testing.mock.osgi.junit5
-
Annotate a
ConfigCollectiontest parameter to only includeConfigType-constructed configs and optionally override the configuration pid applied to them. - component() - Element in annotation type org.apache.sling.testing.mock.osgi.junit5.CollectConfigTypes
-
When
CollectConfigTypes.pid()is set toComponent.NAME, set this attribute to a class whose name should be used instead. - ConfigMap - Annotation Type in org.apache.sling.testing.mock.osgi.junit5
-
Annotate a test parameter of type
Mapto inject a matching component property type orConfigTypeafter converting it to a map of config properties.
O
- org.apache.sling.testing.mock.osgi.junit5 - package org.apache.sling.testing.mock.osgi.junit5
-
JUnit 5 extensions for OSGi context.
- OsgiConfigParametersExtension - Class in org.apache.sling.testing.mock.osgi.junit5
-
An
Extensionwhich uses JUnit5 context reflection to discover OSGi Config Type Annotations present on test methods and classes, and then injects them as test parameters. - OsgiConfigParametersExtension() - Constructor for class org.apache.sling.testing.mock.osgi.junit5.OsgiConfigParametersExtension
- OsgiContext - Class in org.apache.sling.testing.mock.osgi.junit5
-
OSGi Mock parameter object.
- OsgiContext() - Constructor for class org.apache.sling.testing.mock.osgi.junit5.OsgiContext
-
Initialize OSGi context.
- OsgiContextBuilder - Class in org.apache.sling.testing.mock.osgi.junit5
-
Builder class for creating
OsgiContextinstances with different sets of parameters. - OsgiContextBuilder() - Constructor for class org.apache.sling.testing.mock.osgi.junit5.OsgiContextBuilder
-
Create builder.
- OsgiContextCallback - Interface in org.apache.sling.testing.mock.osgi.junit5
-
Callback interface for application-specific setup and teardown operations to customize the
OsgiContextJUnit parameter context. - OsgiContextExtension - Class in org.apache.sling.testing.mock.osgi.junit5
-
JUnit 5 extension that allows to inject
OsgiContext(or subclasses of it) parameters in test methods, and ensures that the context is set up and teared down properly for each test method. - OsgiContextExtension() - Constructor for class org.apache.sling.testing.mock.osgi.junit5.OsgiContextExtension
P
- pid() - Element in annotation type org.apache.sling.testing.mock.osgi.junit5.CollectConfigTypes
-
Optionally specify a configuration pid to apply to any collected
ConfigTypeannotations. - plugin(ContextPlugin<? extends OsgiContextImpl>...) - Method in class org.apache.sling.testing.mock.osgi.junit5.OsgiContextBuilder
- postProcessTestInstance(Object, ExtensionContext) - Method in class org.apache.sling.testing.mock.osgi.junit5.OsgiContextExtension
-
Checks if test class has a
OsgiContextor derived field.
R
- resolveParameter(ParameterContext, ExtensionContext) - Method in class org.apache.sling.testing.mock.osgi.junit5.OsgiConfigParametersExtension
- resolveParameter(ParameterContext, ExtensionContext) - Method in class org.apache.sling.testing.mock.osgi.junit5.OsgiContextExtension
-
Resolve (or create)
OsgiContextinstance for test method parameter.
S
- setUpContext() - Method in class org.apache.sling.testing.mock.osgi.junit5.OsgiContext
-
This is called by
OsgiContextExtensionto set up context. - supportsParameter(ParameterContext, ExtensionContext) - Method in class org.apache.sling.testing.mock.osgi.junit5.OsgiConfigParametersExtension
- supportsParameter(ParameterContext, ExtensionContext) - Method in class org.apache.sling.testing.mock.osgi.junit5.OsgiContextExtension
-
Support parameter injection for test methods of parameter type is derived from
OsgiContext.
T
- tearDownContext() - Method in class org.apache.sling.testing.mock.osgi.junit5.OsgiContext
-
This is called by
OsgiContextExtensionto tear down context.
V
- value() - Element in annotation type org.apache.sling.testing.mock.osgi.junit5.ConfigMap
-
Specify a matching config annotation type or
ConfigType.type().
All Classes and Interfaces|All Packages