Package | Description |
---|---|
io.wcm.testing.mock.aem.context |
AEM context implementation for unit tests.
|
io.wcm.testing.mock.aem.junit |
Rule for providing easy access to AEM context in JUnit tests.
|
org.apache.sling.testing.mock.osgi.context |
OSGi context implementation for unit tests.
|
org.apache.sling.testing.mock.osgi.junit |
Rule for providing easy access to OSGi context in JUnit tests.
|
org.apache.sling.testing.mock.sling.context |
Sling context implementation for unit tests.
|
org.apache.sling.testing.mock.sling.junit |
Rule for providing easy access to Sling context in JUnit tests.
|
Modifier and Type | Class and Description |
---|---|
class |
AemContextImpl
Defines AEM context objects with lazy initialization.
|
Modifier and Type | Class and Description |
---|---|
class |
AemContext
JUnit rule for setting up and tearing down AEM context objects for unit tests.
|
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 |
OsgiContext
JUnit rule for setting up and tearing down OSGi context for unit tests.
|
Modifier and Type | Method and Description |
---|---|
<T extends OsgiContextImpl> |
OsgiContextBuilder.afterSetUp(ContextCallback<T>... afterSetUpCallback) |
<T extends OsgiContextImpl> |
OsgiContextBuilder.afterTearDown(ContextCallback<T>... afterTearDownCallback) |
<T extends OsgiContextImpl> |
OsgiContextBuilder.beforeSetUp(ContextCallback<T>... beforeSetUpCallback) |
<T extends OsgiContextImpl> |
OsgiContextBuilder.beforeTearDown(ContextCallback<T>... beforeTearDownCallback) |
<T extends OsgiContextImpl> |
OsgiContextBuilder.plugin(ContextPlugin<T>... plugin) |
Modifier and Type | Class and Description |
---|---|
class |
SlingContextImpl
Defines Sling context objects with lazy initialization.
|
Modifier and Type | Class and Description |
---|---|
class |
SlingContext
JUnit rule for setting up and tearing down Sling context objects for unit 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) |
Copyright © 2014–2021 wcm.io. All rights reserved.