Package | Description |
---|---|
io.wcm.testing.mock.aem.context |
AEM context implementation for unit tests.
|
io.wcm.testing.mock.aem.junit5 |
JUnit 5 extensions for AEM context.
|
org.apache.sling.testing.mock.osgi.context |
OSGi context implementation for unit tests.
|
org.apache.sling.testing.mock.sling.context |
Sling context implementation for unit tests.
|
Modifier and Type | Class and Description |
---|---|
class |
AemContextImpl
Defines AEM context objects with lazy initialization.
|
Modifier and Type | Class and Description |
---|---|
class |
AemContext
AEM Mock parameter object with resource resolver type
defaulting to
ResourceResolverType.RESOURCERESOLVER_MOCK . |
class |
JcrMockAemContext
AEM Mock parameter object with resource resolver type set to
ResourceResolverType.JCR_MOCK . |
class |
JcrOakAemContext
AEM Mock parameter object with resource resolver type set to
ResourceResolverType.JCR_OAK . |
class |
NoResourceResolverTypeAemContext
AEM Mock parameter object with resource resolver type set to
ResourceResolverType.NONE . |
class |
ResourceResolverMockAemContext
AEM Mock parameter object with resource resolver type set to
ResourceResolverType.RESOURCERESOLVER_MOCK . |
Modifier and Type | Method and Description |
---|---|
<T extends OsgiContextImpl> |
AemContextBuilder.afterSetUp(ContextCallback<T>... afterSetUpCallback) |
<T extends OsgiContextImpl> |
AemContextBuilder.afterTearDown(ContextCallback<T>... afterTearDownCallback) |
<T extends OsgiContextImpl> |
AemContextBuilder.beforeSetUp(ContextCallback<T>... beforeSetUpCallback) |
<T extends OsgiContextImpl> |
AemContextBuilder.beforeTearDown(ContextCallback<T>... beforeTearDownCallback) |
<T extends OsgiContextImpl> |
AemContextBuilder.plugin(ContextPlugin<T>... plugin) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractContextPlugin<T extends OsgiContextImpl>
Default implementation of
ContextPlugin . |
interface |
ContextCallback<T extends OsgiContextImpl>
Callback interface for application-specific setup and teardown operations to
customize the mock context.
|
interface |
ContextPlugin<T extends OsgiContextImpl>
Callback plugin for application-specific setup and teardown operations to
customize the mock context.
|
Modifier and Type | Method and Description |
---|---|
<T extends OsgiContextImpl> |
ContextPlugins.addAfterSetUpCallback(ContextCallback<T>... afterSetUpCallback)
Add callback
|
<T extends OsgiContextImpl> |
ContextPlugins.addAfterTearDownCallback(ContextCallback<T>... afterTearDownCallback)
Add callback
|
<T extends OsgiContextImpl> |
ContextPlugins.addBeforeSetUpCallback(ContextCallback<T>... beforeSetUpCallback)
Add callback
|
<T extends OsgiContextImpl> |
ContextPlugins.addBeforeTearDownCallback(ContextCallback<T>... beforeTearDownCallback)
Add callback
|
<T extends OsgiContextImpl> |
ContextPlugins.addPlugin(ContextPlugin<T>... plugin)
Add plugin
|
<T extends OsgiContextImpl> |
ContextPlugins.executeAfterSetUpCallback(T context)
Execute all after setup callbacks.
|
<T extends OsgiContextImpl> |
ContextPlugins.executeAfterTearDownCallback(T context)
Execute all after teardown callbacks.
|
<T extends OsgiContextImpl> |
ContextPlugins.executeBeforeSetUpCallback(T context)
Execute all before setup callbacks.
|
<T extends OsgiContextImpl> |
ContextPlugins.executeBeforeTearDownCallback(T context)
Execute all before teardown callbacks.
|
Modifier and Type | Class and Description |
---|---|
class |
SlingContextImpl
Defines Sling context objects with lazy initialization.
|
Copyright © 2014–2021 wcm.io. All rights reserved.