A B O P R S
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- afterSetUp(ContextCallback<T>...) - Method in class org.apache.sling.testing.mock.sling.junit.SlingContextBuilder
- afterTearDown(ContextCallback<T>...) - Method in class org.apache.sling.testing.mock.sling.junit.SlingContextBuilder
- apply(Statement, Description) - Method in class org.apache.sling.testing.mock.sling.junit.SlingContext
B
- beforeSetUp(ContextCallback<T>...) - Method in class org.apache.sling.testing.mock.sling.junit.SlingContextBuilder
- beforeTearDown(ContextCallback<T>...) - Method in class org.apache.sling.testing.mock.sling.junit.SlingContextBuilder
- build() - Method in class org.apache.sling.testing.mock.sling.junit.SlingContextBuilder
O
- org.apache.sling.testing.mock.sling.junit - package org.apache.sling.testing.mock.sling.junit
-
Rule for providing easy access to Sling context in JUnit tests.
P
- plugin(ContextPlugin<T>...) - Method in class org.apache.sling.testing.mock.sling.junit.SlingContextBuilder
R
- registerSlingModelsFromClassPath(boolean) - Method in class org.apache.sling.testing.mock.sling.junit.SlingContextBuilder
-
Automatic registering of all Sling Models found in the classpath on startup (active by default).
- resourceResolverFactoryActivatorProps(Map<String, Object>) - Method in class org.apache.sling.testing.mock.sling.junit.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.junit.SlingContextBuilder
S
- SlingContext - Class in org.apache.sling.testing.mock.sling.junit
-
JUnit rule for setting up and tearing down Sling context objects for unit tests.
- SlingContext() - Constructor for class org.apache.sling.testing.mock.sling.junit.SlingContext
-
Initialize Sling context with default resource resolver type:
MockSling.DEFAULT_RESOURCERESOLVER_TYPE
. - SlingContext(ContextCallback<T>) - Constructor for class org.apache.sling.testing.mock.sling.junit.SlingContext
-
Initialize Sling context with default resource resolver type:
MockSling.DEFAULT_RESOURCERESOLVER_TYPE
. - SlingContext(ContextCallback<T>, ResourceResolverType) - Constructor for class org.apache.sling.testing.mock.sling.junit.SlingContext
-
Initialize Sling context with resource resolver type.
- SlingContext(ContextCallback<U>, ContextCallback<V>) - Constructor for class org.apache.sling.testing.mock.sling.junit.SlingContext
-
Initialize Sling context with default resource resolver type:
MockSling.DEFAULT_RESOURCERESOLVER_TYPE
. - SlingContext(ContextCallback<U>, ContextCallback<V>, ResourceResolverType) - Constructor for class org.apache.sling.testing.mock.sling.junit.SlingContext
-
Initialize Sling context with resource resolver type.
- SlingContext(ResourceResolverType) - Constructor for class org.apache.sling.testing.mock.sling.junit.SlingContext
-
Initialize Sling context with resource resolver type.
- SlingContextBuilder - Class in org.apache.sling.testing.mock.sling.junit
-
Builder class for creating
SlingContext
instances with different sets of parameters. - SlingContextBuilder() - Constructor for class org.apache.sling.testing.mock.sling.junit.SlingContextBuilder
-
Create builder with default resource resolver type.
- SlingContextBuilder(ResourceResolverType) - Constructor for class org.apache.sling.testing.mock.sling.junit.SlingContextBuilder
-
Create builder with given resource resolver type.
- SlingContextCallback - Interface in org.apache.sling.testing.mock.sling.junit
-
Callback interface for application-specific setup and teardown operations to customize the
SlingContext
JUnit rule.
All Classes All Packages