# Index

A B C O P R S T V
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 `ConfigCollection` test parameter to only include `ConfigType`-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 to `Component.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 `Map` to inject a matching component property type or `ConfigType` after 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 `Extension` which 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 `OsgiContext` instances 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 `OsgiContext` JUnit 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 `ConfigType` annotations.
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 `OsgiContext` or 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) `OsgiContext` instance for test method parameter.

## S

setUpContext() - Method in class org.apache.sling.testing.mock.osgi.junit5.OsgiContext
  This is called by `OsgiContextExtension` to 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 `OsgiContextExtension` to 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()`.

A B C O P R S T V
All Classes and Interfaces|All Packages