Package | Description |
---|---|
org.apache.sling.testing.mock.sling.junit |
Rule for providing easy access to Sling context in JUnit tests.
|
Modifier and Type | Method and Description |
---|---|
<T extends OsgiContextImpl> |
SlingContextBuilder.afterSetUp(ContextCallback<T>... afterSetUpCallback) |
<T extends OsgiContextImpl> |
SlingContextBuilder.afterTearDown(ContextCallback<T>... afterTearDownCallback) |
<T extends OsgiContextImpl> |
SlingContextBuilder.beforeSetUp(ContextCallback<T>... beforeSetUpCallback) |
<T extends OsgiContextImpl> |
SlingContextBuilder.beforeTearDown(ContextCallback<T>... beforeTearDownCallback) |
<T extends OsgiContextImpl> |
SlingContextBuilder.plugin(ContextPlugin<T>... plugin) |
@NotNull SlingContextBuilder |
SlingContextBuilder.registerSlingModelsFromClassPath(boolean registerSlingModelsFromClassPath)
Automatic registering of all Sling Models found in the classpath on startup (active by default).
|
@NotNull SlingContextBuilder |
SlingContextBuilder.resourceResolverFactoryActivatorProps(@NotNull java.util.Map<java.lang.String,java.lang.Object> props)
Allows to override OSGi configuration parameters for the Resource Resolver Factory Activator service.
|
@NotNull SlingContextBuilder |
SlingContextBuilder.resourceResolverType(@NotNull ResourceResolverType resourceResolverType) |
Copyright © 2014–2021 wcm.io. All rights reserved.