Package | Description |
---|---|
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.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AemContextCallback
Callback interface for application-specific setup and teardown operations to customize the
AemContext JUnit parameter context. |
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) |
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
|
Constructor and Description |
---|
ContextPlugins(@NotNull ContextCallback<T> afterSetUpCallback)
Start with some callbacks.
|
ContextPlugins(@NotNull ContextCallback<U> afterSetUpCallback,
@NotNull ContextCallback<V> beforeTearDownCallback)
Start with some callbacks.
|
ContextPlugins(@NotNull ContextCallback<U> afterSetUpCallback,
@NotNull ContextCallback<V> beforeTearDownCallback)
Start with some callbacks.
|
Copyright © 2014–2021 wcm.io. All rights reserved.