# Index

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

## A

afterEach(ExtensionContext) - Method in class org.apache.sling.testing.mock.sling.junit5.SlingContextExtension
afterSetUp(ContextCallback<? extends OsgiContextImpl>...) - Method in class org.apache.sling.testing.mock.sling.junit5.SlingContextBuilder
afterTearDown(ContextCallback<? extends OsgiContextImpl>...) - Method in class org.apache.sling.testing.mock.sling.junit5.SlingContextBuilder
afterTestExecution(ExtensionContext) - Method in class org.apache.sling.testing.mock.sling.junit5.SlingContextExtension

## B

beforeEach(ExtensionContext) - Method in class org.apache.sling.testing.mock.sling.junit5.SlingContextExtension
beforeSetUp(ContextCallback<? extends OsgiContextImpl>...) - Method in class org.apache.sling.testing.mock.sling.junit5.SlingContextBuilder
beforeTearDown(ContextCallback<? extends OsgiContextImpl>...) - Method in class org.apache.sling.testing.mock.sling.junit5.SlingContextBuilder
build() - Method in class org.apache.sling.testing.mock.sling.junit5.SlingContextBuilder

## O

org.apache.sling.testing.mock.sling.junit5 - package org.apache.sling.testing.mock.sling.junit5
  JUnit 5 extensions for Sling context.

## P

plugin(ContextPlugin<? extends OsgiContextImpl>...) - Method in class org.apache.sling.testing.mock.sling.junit5.SlingContextBuilder
postProcessTestInstance(Object, ExtensionContext) - Method in class org.apache.sling.testing.mock.sling.junit5.SlingContextExtension
  Checks if test class has a `SlingContext` or derived field.

## R

registerSlingModelsFromClassPath(boolean) - Method in class org.apache.sling.testing.mock.sling.junit5.SlingContextBuilder
  Automatic registering of all Sling Models found in the classpath on startup (active by default).
resolveParameter(ParameterContext, ExtensionContext) - Method in class org.apache.sling.testing.mock.sling.junit5.SlingContextExtension
  Resolve (or create) `SlingContext` instance for test method parameter.
resourceResolverFactoryActivatorProps(Map<String, Object>) - Method in class org.apache.sling.testing.mock.sling.junit5.SlingContextBuilder
  Allows to override OSGi configuration parameters for the Resource Resolver Factory Activator service.
resourceResolverType(ResourceResolverType) - Method in class org.apache.sling.testing.mock.sling.junit5.SlingContextBuilder

## S

setUpContext() - Method in class org.apache.sling.testing.mock.sling.junit5.SlingContext
  This is called by `SlingContextExtension` to set up context.
SlingContext - Class in org.apache.sling.testing.mock.sling.junit5
  Sling Mock parameter object with resource resolver type defaulting to `ResourceResolverType.RESOURCERESOLVER_MOCK`.
SlingContext() - Constructor for class org.apache.sling.testing.mock.sling.junit5.SlingContext
  Initialize Sling context.
SlingContext(ResourceResolverType) - Constructor for class org.apache.sling.testing.mock.sling.junit5.SlingContext
  Initialize Sling context.
SlingContextBuilder - Class in org.apache.sling.testing.mock.sling.junit5
  Builder class for creating `SlingContext` instances with different sets of parameters.
SlingContextBuilder() - Constructor for class org.apache.sling.testing.mock.sling.junit5.SlingContextBuilder
  Create builder with default resource resolver type.
SlingContextBuilder(ResourceResolverType) - Constructor for class org.apache.sling.testing.mock.sling.junit5.SlingContextBuilder
  Create builder with given resource resolver type.
SlingContextCallback - Interface in org.apache.sling.testing.mock.sling.junit5
  Callback interface for application-specific setup and teardown operations to customize the `SlingContext` JUnit parameter context.
SlingContextExtension - Class in org.apache.sling.testing.mock.sling.junit5
  JUnit 5 extension that allows to inject `SlingContext` (or subclasses of it) parameters in test methods, and ensures that the context is set up and teared down properly for each test method.
SlingContextExtension() - Constructor for class org.apache.sling.testing.mock.sling.junit5.SlingContextExtension
supportsParameter(ParameterContext, ExtensionContext) - Method in class org.apache.sling.testing.mock.sling.junit5.SlingContextExtension
  Support parameter injection for test methods of parameter type is derived from `SlingContext`.

## T

tearDownContext() - Method in class org.apache.sling.testing.mock.sling.junit5.SlingContext
  This is called by `SlingContextExtension` to tear down context.

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