Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W 

A

absoluteLink(ResourceResolver, String, String) - Method in class io.wcm.testing.mock.aem.MockExternalizer
 
absoluteLink(SlingHttpServletRequest, String, String) - Method in class io.wcm.testing.mock.aem.MockExternalizer
 
absoluteLink(String, String) - Method in class io.wcm.testing.mock.aem.MockExternalizer
 
AbstractContextPlugin<T extends OsgiContextImpl> - Class in org.apache.sling.testing.mock.osgi.context
Default implementation of ContextPlugin.
AbstractContextPlugin() - Constructor for class org.apache.sling.testing.mock.osgi.context.AbstractContextPlugin
 
accumulator() - Method in class org.apache.sling.testing.mock.osgi.DictionaryCollector
 
activate(ComponentContext) - Method in class org.apache.sling.testing.mock.osgi.MockEventAdmin
 
activate(Object, BundleContext) - Static method in class org.apache.sling.testing.mock.osgi.MockOsgi
Simulates activation of a DS component instance.
activate(Object, BundleContext, Dictionary<String, Object>) - Static method in class org.apache.sling.testing.mock.osgi.MockOsgi
Simulates activation of a DS component instance.
activate(Object, BundleContext, Map<String, Object>) - Static method in class org.apache.sling.testing.mock.osgi.MockOsgi
Simulates activation of a DS component instance.
activate(Object, BundleContext, Object...) - Static method in class org.apache.sling.testing.mock.osgi.MockOsgi
Simulates activation of a DS component instance.
activate(ComponentContext) - Method in class org.apache.sling.testing.mock.sling.MockAdapterManagerImpl
Activate the manager.
activate(ComponentContext) - Method in class org.apache.sling.testing.mock.sling.MockJcrSlingRepository
 
activateInjectServices(Class<T>, BundleContext) - Static method in class org.apache.sling.testing.mock.osgi.MockOsgi
Simulates OSGi DS dependency injection and activation.
activateInjectServices(Class<T>, BundleContext, Map<String, Object>) - Static method in class org.apache.sling.testing.mock.osgi.MockOsgi
Simulates OSGi DS dependency injection and activation.
activateInjectServices(Class<T>, BundleContext, Object...) - Static method in class org.apache.sling.testing.mock.osgi.MockOsgi
Simulates OSGi DS dependency injection and activation.
adapt(Class<A>) - Method in class org.apache.sling.testing.mock.osgi.MockBundle
 
adaptTo(Class<AdapterType>) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
adaptTo(Class<AdapterType>) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
addAfterSetUpCallback(ContextCallback<T>...) - Method in class org.apache.sling.testing.mock.osgi.context.ContextPlugins
Add callback
addAfterTearDownCallback(ContextCallback<T>...) - Method in class org.apache.sling.testing.mock.osgi.context.ContextPlugins
Add callback
addBeforeSetUpCallback(ContextCallback<T>...) - Method in class org.apache.sling.testing.mock.osgi.context.ContextPlugins
Add callback
addBeforeTearDownCallback(ContextCallback<T>...) - Method in class org.apache.sling.testing.mock.osgi.context.ContextPlugins
Add callback
addCookie(Cookie) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
Set cookie
addCookie(Cookie) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
addDateHeader(String, long) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
Add header, keep existing ones with same name.
addDateHeader(String, long) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
addFilter(String, String) - Method in class org.apache.sling.servlethelpers.MockServletContext
 
addFilter(String, Filter) - Method in class org.apache.sling.servlethelpers.MockServletContext
 
addFilter(String, Class<? extends Filter>) - Method in class org.apache.sling.servlethelpers.MockServletContext
 
addHeader(String, String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
Add header, keep existing ones with same name.
addHeader(String, String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
addIntHeader(String, int) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
Add header, keep existing ones with same name.
addIntHeader(String, int) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
addListener(String) - Method in class org.apache.sling.servlethelpers.MockServletContext
 
addListener(T) - Method in class org.apache.sling.servlethelpers.MockServletContext
 
addListener(Class<? extends EventListener>) - Method in class org.apache.sling.servlethelpers.MockServletContext
 
addModelsForClasses(String...) - Method in class org.apache.sling.testing.mock.sling.context.SlingContextImpl
Search classpath for given class names to scan for and register all classes with @Model annotation.
addModelsForClasses(Class...) - Method in class org.apache.sling.testing.mock.sling.context.SlingContextImpl
Search classpath for given class names to scan for and register all classes with @Model annotation.
addModelsForPackage(String) - Method in class org.apache.sling.testing.mock.sling.context.SlingContextImpl
Search classpath for given java package names (and sub packages) to scan for and register all classes with @Model annotation.
addModelsForPackage(String...) - Method in class org.apache.sling.testing.mock.sling.context.SlingContextImpl
Search classpath for given java package names (and sub packages) to scan for and register all classes with @Model annotation.
addPlugin(ContextPlugin<T>...) - Method in class org.apache.sling.testing.mock.osgi.context.ContextPlugins
Add plugin
addQueryResultHandler(Session, MockQueryResultHandler) - Static method in class org.apache.sling.testing.mock.jcr.MockJcr
Adds a query result handler for the given query manager which may return query results for certain queries that are executed.
addQueryResultHandler(QueryManager, MockQueryResultHandler) - Static method in class org.apache.sling.testing.mock.jcr.MockJcr
Adds a query result handler for the given query manager which may return query results for certain queries that are executed.
addRequestParameter(String, String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
Add a request parameter that consists of a simple name/value pair.
addRequestParameter(String, byte[], String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
Add a request parameter that emulates a file upload field.
addRequestParameter(String, byte[], String, String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
Add a request parameter that emulates a file upload field with a filename associated with it.
addServlet(String, String) - Method in class org.apache.sling.servlethelpers.MockServletContext
 
addServlet(String, Servlet) - Method in class org.apache.sling.servlethelpers.MockServletContext
 
addServlet(String, Class<? extends Servlet>) - Method in class org.apache.sling.servlethelpers.MockServletContext
 
AemContext - Class in io.wcm.testing.mock.aem.junit
JUnit rule for setting up and tearing down AEM context objects for unit tests.
AemContext(ResourceResolverType...) - Constructor for class io.wcm.testing.mock.aem.junit.AemContext
Initialize AEM context.
AemContext(ContextCallback<T>, ResourceResolverType...) - Constructor for class io.wcm.testing.mock.aem.junit.AemContext
Initialize AEM context.
AemContext(ContextCallback<U>, ContextCallback<V>, ResourceResolverType...) - Constructor for class io.wcm.testing.mock.aem.junit.AemContext
Initialize AEM context.
AemContextBuilder - Class in io.wcm.testing.mock.aem.junit
Builder class for creating AemContext instances with different sets of parameters.
AemContextBuilder() - Constructor for class io.wcm.testing.mock.aem.junit.AemContextBuilder
Create builder with default resource resolver type.
AemContextBuilder(ResourceResolverType...) - Constructor for class io.wcm.testing.mock.aem.junit.AemContextBuilder
Create builder with given resource resolver type.
AemContextCallback - Interface in io.wcm.testing.mock.aem.junit
Callback interface for application-specific setup and teardown operations to customize the AemContext JUnit rule.
AemContextImpl - Class in io.wcm.testing.mock.aem.context
Defines AEM context objects with lazy initialization.
AemContextImpl() - Constructor for class io.wcm.testing.mock.aem.context.AemContextImpl
 
afterSetUp(ContextCallback<T>...) - Method in class io.wcm.testing.mock.aem.junit.AemContextBuilder
 
afterSetUp(T) - Method in class org.apache.sling.testing.mock.osgi.context.AbstractContextPlugin
 
afterSetUp(T) - Method in interface org.apache.sling.testing.mock.osgi.context.ContextPlugin
Is executed after the built-in setup rules are executed.
afterSetUp(ContextCallback<T>...) - Method in class org.apache.sling.testing.mock.osgi.junit.OsgiContextBuilder
 
afterSetUp(ContextCallback<T>...) - Method in class org.apache.sling.testing.mock.sling.junit.SlingContextBuilder
 
afterTearDown(ContextCallback<T>...) - Method in class io.wcm.testing.mock.aem.junit.AemContextBuilder
 
afterTearDown(T) - Method in class org.apache.sling.testing.mock.osgi.context.AbstractContextPlugin
 
afterTearDown(T) - Method in interface org.apache.sling.testing.mock.osgi.context.ContextPlugin
Is executed after the built-in teardown rules are executed.
afterTearDown(ContextCallback<T>...) - Method in class org.apache.sling.testing.mock.osgi.junit.OsgiContextBuilder
 
afterTearDown(ContextCallback<T>...) - Method in class org.apache.sling.testing.mock.sling.junit.SlingContextBuilder
 
apply(Statement, Description) - Method in class io.wcm.testing.mock.aem.junit.AemContext
 
apply(Statement, Description) - Method in class org.apache.sling.testing.mock.osgi.junit.OsgiContext
 
apply(Statement, Description) - Method in class org.apache.sling.testing.mock.sling.junit.SlingContext
 
apps() - Method in class org.apache.sling.testing.mock.sling.context.UniqueRoot
Gets (and creates if required) a unique path at /apps/xxx.
assertRequestExecuted() - Method in class org.apache.sling.servlethelpers.internalrequests.InternalRequest
 
asset(String, String, String) - Method in class io.wcm.testing.mock.aem.builder.ContentBuilder
Create DAM asset.
asset(String, String, String, Map<String, Object>) - Method in class io.wcm.testing.mock.aem.builder.ContentBuilder
Create DAM asset.
asset(String, String, String, Object...) - Method in class io.wcm.testing.mock.aem.builder.ContentBuilder
Create DAM asset.
asset(String, long, long, String) - Method in class io.wcm.testing.mock.aem.builder.ContentBuilder
Create DAM asset with a generated dummy image.
asset(String, long, long, String, Map<String, Object>) - Method in class io.wcm.testing.mock.aem.builder.ContentBuilder
Create DAM asset with a generated dummy image.
asset(String, long, long, String, Object...) - Method in class io.wcm.testing.mock.aem.builder.ContentBuilder
Create DAM asset with a generated dummy image.
asset(String, InputStream, String) - Method in class io.wcm.testing.mock.aem.builder.ContentBuilder
Create DAM asset.
asset(String, InputStream, String, Map<String, Object>) - Method in class io.wcm.testing.mock.aem.builder.ContentBuilder
Create DAM asset.
asset(String, InputStream, String, Object...) - Method in class io.wcm.testing.mock.aem.builder.ContentBuilder
Create DAM asset.
assetManager() - Method in class io.wcm.testing.mock.aem.context.AemContextImpl
 
assetRendition(Asset, String, String, String) - Method in class io.wcm.testing.mock.aem.builder.ContentBuilder
Adds a rendition to DAM asset.
assetRendition(Asset, String, long, long, String) - Method in class io.wcm.testing.mock.aem.builder.ContentBuilder
Adds a rendition with a generated dummy image to DAM asset.
assetRendition(Asset, String, InputStream, String) - Method in class io.wcm.testing.mock.aem.builder.ContentBuilder
Adds a rendition to DAM asset.
assetRenditionWebEnabled(Asset) - Method in class io.wcm.testing.mock.aem.builder.ContentBuilder
Adds a web-enabled rendition to DAM asset.
assetRenditionWebEnabled(Asset, long, long) - Method in class io.wcm.testing.mock.aem.builder.ContentBuilder
Adds a web-enabled rendition to DAM asset.
atParent() - Method in interface org.apache.sling.resourcebuilder.api.ResourceBuilder
Reset the current parent Resource to the original one.
authenticate(HttpServletResponse) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
authorLink(ResourceResolver, String) - Method in class io.wcm.testing.mock.aem.MockExternalizer
 
authorLink(ResourceResolver, String, String) - Method in class io.wcm.testing.mock.aem.MockExternalizer
 

B

beforeSetUp(ContextCallback<T>...) - Method in class io.wcm.testing.mock.aem.junit.AemContextBuilder
 
beforeSetUp(T) - Method in class org.apache.sling.testing.mock.osgi.context.AbstractContextPlugin
 
beforeSetUp(T) - Method in interface org.apache.sling.testing.mock.osgi.context.ContextPlugin
Is executed before the built-in setup rules are executed.
beforeSetUp(ContextCallback<T>...) - Method in class org.apache.sling.testing.mock.osgi.junit.OsgiContextBuilder
 
beforeSetUp(ContextCallback<T>...) - Method in class org.apache.sling.testing.mock.sling.junit.SlingContextBuilder
 
beforeTearDown(ContextCallback<T>...) - Method in class io.wcm.testing.mock.aem.junit.AemContextBuilder
 
beforeTearDown(T) - Method in class org.apache.sling.testing.mock.osgi.context.AbstractContextPlugin
 
beforeTearDown(T) - Method in interface org.apache.sling.testing.mock.osgi.context.ContextPlugin
Is executed before the built-in teardown rules are executed.
beforeTearDown(ContextCallback<T>...) - Method in class org.apache.sling.testing.mock.osgi.junit.OsgiContextBuilder
 
beforeTearDown(ContextCallback<T>...) - Method in class org.apache.sling.testing.mock.sling.junit.SlingContextBuilder
 
binaryFile(String, String) - Method in class org.apache.sling.testing.mock.sling.loader.ContentLoader
Import binary file as nt:file binary node into repository.
binaryFile(String, String, String) - Method in class org.apache.sling.testing.mock.sling.loader.ContentLoader
Import binary file as nt:file binary node into repository.
binaryFile(InputStream, String) - Method in class org.apache.sling.testing.mock.sling.loader.ContentLoader
Import binary file as nt:file binary node into repository.
binaryFile(InputStream, String, String) - Method in class org.apache.sling.testing.mock.sling.loader.ContentLoader
Import binary file as nt:file binary node into repository.
binaryFile(InputStream, Resource, String) - Method in class org.apache.sling.testing.mock.sling.loader.ContentLoader
Import binary file as nt:file binary node into repository.
binaryFile(InputStream, Resource, String, String) - Method in class org.apache.sling.testing.mock.sling.loader.ContentLoader
Import binary file as nt:file binary node into repository.
binaryResource(String, String) - Method in class org.apache.sling.testing.mock.sling.loader.ContentLoader
Import binary file as nt:resource binary node into repository.
binaryResource(String, String, String) - Method in class org.apache.sling.testing.mock.sling.loader.ContentLoader
Import binary file as nt:resource binary node into repository.
binaryResource(InputStream, String) - Method in class org.apache.sling.testing.mock.sling.loader.ContentLoader
Import binary file as nt:resource binary node into repository.
binaryResource(InputStream, String, String) - Method in class org.apache.sling.testing.mock.sling.loader.ContentLoader
Import binary file as nt:resource binary node into repository.
binaryResource(InputStream, Resource, String) - Method in class org.apache.sling.testing.mock.sling.loader.ContentLoader
Import binary file as nt:resource binary node into repository.
binaryResource(InputStream, Resource, String, String) - Method in class org.apache.sling.testing.mock.sling.loader.ContentLoader
Import binary file as nt:resource binary node into repository.
bindAdapterFactory(ServiceReference<AdapterFactory>) - Method in class org.apache.sling.testing.mock.sling.MockAdapterManagerImpl
Bind a new adapter factory.
bindEventHandler(EventHandler, Map<String, Object>) - Method in class org.apache.sling.testing.mock.osgi.MockEventAdmin
 
bindValue(String, Value) - Method in class org.apache.sling.testing.mock.jcr.MockQuery
 
build() - Method in class io.wcm.testing.mock.aem.junit.AemContextBuilder
 
build() - Method in class org.apache.sling.testing.mock.osgi.ComponentContextBuilder
 
build() - Method in class org.apache.sling.testing.mock.osgi.junit.OsgiContextBuilder
 
build() - Method in class org.apache.sling.testing.mock.sling.builder.ImmutableValueMap.Builder
Returns a newly-created immutable map.
build() - Method in class org.apache.sling.testing.mock.sling.context.SlingContextImpl
Creates a ResourceBuilder object for easily creating test content.
build() - Method in class org.apache.sling.testing.mock.sling.junit.SlingContextBuilder
 
builder() - Static method in class org.apache.sling.testing.mock.sling.builder.ImmutableValueMap
Returns a new builder.
Builder() - Constructor for class org.apache.sling.testing.mock.sling.builder.ImmutableValueMap.Builder
 
bundleContext(BundleContext) - Method in class org.apache.sling.testing.mock.osgi.ComponentContextBuilder
 
bundleContext() - Method in class org.apache.sling.testing.mock.osgi.context.OsgiContextImpl
 

C

canCreateTag(String) - Method in class io.wcm.testing.mock.aem.MockTagManager
 
canCreateTagByTitle(String) - Method in class io.wcm.testing.mock.aem.MockTagManager
 
canCreateTagByTitle(String, Locale) - Method in class io.wcm.testing.mock.aem.MockTagManager
 
canHandleSubAssets() - Method in class io.wcm.testing.mock.aem.dam.MockAssetHandler
 
changeSessionId() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
characteristics() - Method in class org.apache.sling.testing.mock.osgi.DictionaryCollector
 
checkNotNull(String, Object) - Method in class org.apache.sling.servlethelpers.internalrequests.InternalRequest
 
checkNotNull(Class<?>, Object) - Method in class org.apache.sling.servlethelpers.internalrequests.InternalRequest
 
checkResponseContentType(String) - Method in class org.apache.sling.servlethelpers.internalrequests.InternalRequest
After executing the request, checks that the response content-type is as expected.
checkStatus(int...) - Method in class org.apache.sling.servlethelpers.internalrequests.InternalRequest
After executing the request, checks that the request status is one of the supplied values.
cleanUp() - Method in class io.wcm.testing.mock.aem.context.UniqueRoot
 
cleanUp() - Method in class org.apache.sling.testing.mock.sling.context.UniqueRoot
Cleanup is called when the unit test rule completes a unit test run.
clear() - Method in class org.apache.sling.testing.mock.sling.builder.ImmutableValueMap
Deprecated.
Unsupported operation
clearAdapterManagerBundleContext() - Static method in class org.apache.sling.testing.mock.sling.MockSling
Clear adapter registrations..
combiner() - Method in class org.apache.sling.testing.mock.osgi.DictionaryCollector
 
commit() - Method in interface org.apache.sling.resourcebuilder.api.ResourceBuilder
Commit created resources
compareLanguageTrees(ResourceResolver, String) - Method in class io.wcm.testing.mock.aem.MockLanguageManager
 
compareTo(Bundle) - Method in class org.apache.sling.testing.mock.osgi.MockBundle
 
componentContext - Variable in class org.apache.sling.testing.mock.osgi.context.OsgiContextImpl
 
componentContext() - Method in class org.apache.sling.testing.mock.osgi.context.OsgiContextImpl
 
componentContext() - Static method in class org.apache.sling.testing.mock.osgi.MockOsgi
 
ComponentContextBuilder - Class in org.apache.sling.testing.mock.osgi
Builds a mocked ComponentContext.
containsHeader(String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
containsKey(Object) - Method in class org.apache.sling.testing.mock.sling.builder.ImmutableValueMap
 
containsValue(Object) - Method in class org.apache.sling.testing.mock.sling.builder.ImmutableValueMap
 
content() - Method in class org.apache.sling.testing.mock.sling.context.UniqueRoot
Gets (and creates if required) a unique path at /content/xxx.
ContentBuilder - Class in io.wcm.testing.mock.aem.builder
Helper class for building test content in the resource hierarchy with as less boilerplate code as possible.
ContentBuilder(ResourceResolver) - Constructor for class io.wcm.testing.mock.aem.builder.ContentBuilder
 
ContentBuilder(AemContextImpl) - Constructor for class io.wcm.testing.mock.aem.builder.ContentBuilder
 
ContentBuilder - Class in org.apache.sling.testing.mock.sling.builder
Helper class for building test content in the resource hierarchy with as less boilerplate code as possible.
ContentBuilder(ResourceResolver) - Constructor for class org.apache.sling.testing.mock.sling.builder.ContentBuilder
 
contentBuilder - Variable in class org.apache.sling.testing.mock.sling.context.SlingContextImpl
 
contentFragmentStructured(String, Map<String, Object>) - Method in class io.wcm.testing.mock.aem.builder.ContentBuilder
Create DAM content fragment.
contentFragmentStructured(String, Object...) - Method in class io.wcm.testing.mock.aem.builder.ContentBuilder
Create DAM content fragment.
contentFragmentText(String, String, String) - Method in class io.wcm.testing.mock.aem.builder.ContentBuilder
Create DAM content fragment.
contentLoader - Variable in class org.apache.sling.testing.mock.sling.context.SlingContextImpl
 
ContentLoader - Class in org.apache.sling.testing.mock.sling.loader
Imports JSON data and binary data into Sling resource hierarchy.
ContentLoader(ResourceResolver) - Constructor for class org.apache.sling.testing.mock.sling.loader.ContentLoader
 
ContentLoader(ResourceResolver, BundleContext) - Constructor for class org.apache.sling.testing.mock.sling.loader.ContentLoader
 
ContentLoader(ResourceResolver, BundleContext, boolean) - Constructor for class org.apache.sling.testing.mock.sling.loader.ContentLoader
 
ContentLoader(ResourceResolver, BundleContext, boolean, ResourceResolverType) - Constructor for class org.apache.sling.testing.mock.sling.loader.ContentLoader
 
contentLoaderAutoCommit - Variable in class org.apache.sling.testing.mock.sling.context.SlingContextImpl
 
contentPolicyMapping(String, Map<String, Object>) - Method in class io.wcm.testing.mock.aem.context.AemContextImpl
Creates a mocked content policy with the given properties and maps it to all content resources with the given resource type.
contentPolicyMapping(String, Object...) - Method in class io.wcm.testing.mock.aem.context.AemContextImpl
Creates a mocked content policy with the given properties and maps it to all content resources with the given resource type.
contentType - Variable in class org.apache.sling.servlethelpers.internalrequests.InternalRequest
 
ContextCallback<T extends OsgiContextImpl> - Interface in org.apache.sling.testing.mock.osgi.context
Callback interface for application-specific setup and teardown operations to customize the mock context.
ContextPlugin<T extends OsgiContextImpl> - Interface in org.apache.sling.testing.mock.osgi.context
Callback plugin for application-specific setup and teardown operations to customize the mock context.
ContextPlugins - Class in org.apache.sling.testing.mock.osgi.context
Collects list of context plugins.
ContextPlugins() - Constructor for class org.apache.sling.testing.mock.osgi.context.ContextPlugins
Start with empty list.
ContextPlugins(ContextCallback<T>) - Constructor for class org.apache.sling.testing.mock.osgi.context.ContextPlugins
Start with some callbacks.
ContextPlugins(ContextCallback<U>, ContextCallback<V>) - Constructor for class org.apache.sling.testing.mock.osgi.context.ContextPlugins
Start with some callbacks.
copyOf(Map<String, Object>) - Static method in class org.apache.sling.testing.mock.sling.builder.ImmutableValueMap
Returns an immutable map containing the same entries as map.
create() - Method in class io.wcm.testing.mock.aem.context.AemContextImpl
 
create() - Method in class org.apache.sling.testing.mock.sling.context.SlingContextImpl
Creates a ContentBuilder object for easily creating test content.
createCollection(Node) - Method in class io.wcm.testing.mock.aem.granite.MockResourceCollectionManager
 
createDummyImage(long, long, String) - Static method in class io.wcm.testing.mock.aem.builder.ContentBuilder
Create dummy image
createFilter(Class<T>) - Method in class org.apache.sling.servlethelpers.MockServletContext
 
createListener(Class<T>) - Method in class org.apache.sling.servlethelpers.MockServletContext
 
createServlet(Class<T>) - Method in class org.apache.sling.servlethelpers.MockServletContext
 
createTag(String, String, String) - Method in class io.wcm.testing.mock.aem.MockTagManager
 
createTag(String, String, String, boolean) - Method in class io.wcm.testing.mock.aem.MockTagManager
 
createTagByTitle(String) - Method in class io.wcm.testing.mock.aem.MockTagManager
 
createTagByTitle(String, boolean) - Method in class io.wcm.testing.mock.aem.MockTagManager
 
createTagByTitle(String, Locale) - Method in class io.wcm.testing.mock.aem.MockTagManager
 
createThumbnails(Asset) - Method in class io.wcm.testing.mock.aem.dam.MockAssetHandler
 
createThumbnails(Asset, Collection<ThumbnailConfig>) - Method in class io.wcm.testing.mock.aem.dam.MockAssetHandler
 
createThumbnails(Asset, Rendition, Collection<ThumbnailConfig>) - Method in class io.wcm.testing.mock.aem.dam.MockAssetHandler
 
currentPage() - Method in class io.wcm.testing.mock.aem.context.AemContextImpl
 
currentPage(String) - Method in class io.wcm.testing.mock.aem.context.AemContextImpl
Set current Page in request (via ComponentContext).
currentPage(Page) - Method in class io.wcm.testing.mock.aem.context.AemContextImpl
Set current Page in request (via ComponentContext).
currentResource(Resource) - Method in class io.wcm.testing.mock.aem.context.AemContextImpl
 
currentResource() - Method in class org.apache.sling.testing.mock.sling.context.SlingContextImpl
 
currentResource(String) - Method in class org.apache.sling.testing.mock.sling.context.SlingContextImpl
Set current resource in request.
currentResource(Resource) - Method in class org.apache.sling.testing.mock.sling.context.SlingContextImpl
Set current resource in request.

D

dam() - Method in class io.wcm.testing.mock.aem.context.UniqueRoot
Gets (and creates if required) a unique path at /content/dam/xxx.
deactivate(ComponentContext) - Method in class org.apache.sling.testing.mock.osgi.MockEventAdmin
 
deactivate(Object, BundleContext) - Static method in class org.apache.sling.testing.mock.osgi.MockOsgi
Simulates deactivation of a DS component instance.
deactivate(Object, BundleContext, Dictionary<String, Object>) - Static method in class org.apache.sling.testing.mock.osgi.MockOsgi
Simulates deactivation of a DS component instance.
deactivate(Object, BundleContext, Map<String, Object>) - Static method in class org.apache.sling.testing.mock.osgi.MockOsgi
Simulates deactivation of a DS component instance.
deactivate(Object, BundleContext, Object...) - Static method in class org.apache.sling.testing.mock.osgi.MockOsgi
Simulates deactivation of a DS component instance.
deactivate(ComponentContext) - Method in class org.apache.sling.testing.mock.sling.MockAdapterManagerImpl
Deactivate
declareRoles(String...) - Method in class org.apache.sling.servlethelpers.MockServletContext
 
DEFAULT_METHOD - Static variable in class org.apache.sling.servlethelpers.internalrequests.InternalRequest
 
DEFAULT_PRIMARY_TYPE - Static variable in interface org.apache.sling.resourcebuilder.api.ResourceBuilder
Default primary type for resources created by this builder
DEFAULT_RESOURCERESOLVER_TYPE - Static variable in class org.apache.sling.testing.mock.sling.MockSling
Default resource resolver type is ResourceResolverType.RESOURCERESOLVER_MOCK.
DEFAULT_USER_ID - Static variable in class org.apache.sling.testing.mock.jcr.MockJcr
Default user id
DEFAULT_WORKSPACE - Static variable in class org.apache.sling.testing.mock.jcr.MockJcr
Default workspace name
delegateExecute(SlingHttpServletRequest, SlingHttpServletResponse, ResourceResolver) - Method in class org.apache.sling.servlethelpers.internalrequests.InternalRequest
Execute the supplied Request
delegateExecute(SlingHttpServletRequest, SlingHttpServletResponse, ResourceResolver) - Method in class org.apache.sling.servlethelpers.internalrequests.ServletInternalRequest
 
delegateExecute(SlingHttpServletRequest, SlingHttpServletResponse, ResourceResolver) - Method in class org.apache.sling.servlethelpers.internalrequests.SlingInternalRequest
 
deleteResources(Resource...) - Method in class org.apache.sling.testing.mock.sling.context.UniqueRoot
Deletes the given set of resources and commits afterwards.
deleteTag(Tag) - Method in class io.wcm.testing.mock.aem.MockTagManager
 
deleteTag(Tag, boolean) - Method in class io.wcm.testing.mock.aem.MockTagManager
 
DictionaryCollector<K,V> - Class in org.apache.sling.testing.mock.osgi
 
DictionaryCollector(Function<? super Map.Entry<K, V>, ? extends K>, Function<? super Map.Entry<K, V>, ? extends V>) - Constructor for class org.apache.sling.testing.mock.osgi.DictionaryCollector
 
dispose() - Method in class org.apache.sling.testing.mock.sling.MockSlingScriptHelper
 
done() - Method in class org.apache.sling.servlethelpers.MockRequestProgressTracker
 
DUMMY_HOST - Static variable in class io.wcm.testing.mock.aem.dam.MockPublishUtils
Hostname that is returned as scene7 image server URL.
dump(PrintWriter) - Method in class org.apache.sling.servlethelpers.MockRequestProgressTracker
 

E

EMPTY_RESOURCE_BUNDLE - Static variable in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
encodeForCSSString(String) - Method in class org.apache.sling.testing.mock.sling.MockXSSAPIImpl
 
encodeForHTML(String) - Method in class org.apache.sling.testing.mock.sling.MockXSSAPIImpl
 
encodeForHTMLAttr(String) - Method in class org.apache.sling.testing.mock.sling.MockXSSAPIImpl
 
encodeForJSString(String) - Method in class org.apache.sling.testing.mock.sling.MockXSSAPIImpl
 
encodeForXML(String) - Method in class org.apache.sling.testing.mock.sling.MockXSSAPIImpl
 
encodeForXMLAttr(String) - Method in class org.apache.sling.testing.mock.sling.MockXSSAPIImpl
 
encodeRedirectUrl(String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
encodeRedirectURL(String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
encodeUrl(String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
encodeURL(String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
ensureResourceExists(String) - Method in class org.apache.sling.testing.mock.sling.builder.ContentBuilder
Ensure that a resource exists at the given path.
entrySet() - Method in class org.apache.sling.testing.mock.sling.builder.ImmutableValueMap
 
equals(Object) - Method in class org.apache.sling.testing.mock.sling.builder.ImmutableValueMap
 
execute() - Method in class org.apache.sling.servlethelpers.internalrequests.InternalRequest
Execute the internal request.
execute() - Method in class org.apache.sling.testing.mock.jcr.MockQuery
 
execute(T) - Method in interface org.apache.sling.testing.mock.osgi.context.ContextCallback
Execute callback action
executeAfterSetUpCallback(T) - Method in class org.apache.sling.testing.mock.osgi.context.ContextPlugins
Execute all after setup callbacks.
executeAfterTearDownCallback(T) - Method in class org.apache.sling.testing.mock.osgi.context.ContextPlugins
Execute all after teardown callbacks.
executeBeforeSetUpCallback(T) - Method in class org.apache.sling.testing.mock.osgi.context.ContextPlugins
Execute all before setup callbacks.
executeBeforeTearDownCallback(T) - Method in class org.apache.sling.testing.mock.osgi.context.ContextPlugins
Execute all before teardown callbacks.
executeQuery(MockQuery) - Method in interface org.apache.sling.testing.mock.jcr.MockQueryResultHandler
Checks if this handler accepts the given query, and returns the result if this is the case.
exportAsset(Asset, OutputStream) - Method in class io.wcm.testing.mock.aem.dam.MockAssetHandler
 
extension - Variable in class org.apache.sling.servlethelpers.internalrequests.InternalRequest
 
externalizeImageDeliveryAsset(Resource) - Method in class io.wcm.testing.mock.aem.dam.MockPublishUtils
 
externalizeImageDeliveryAsset(Resource, String) - Method in class io.wcm.testing.mock.aem.dam.MockPublishUtils
 
externalizeImageDeliveryUrl(Resource, String) - Method in class io.wcm.testing.mock.aem.dam.MockPublishUtils
 
externalLink(ResourceResolver, String, String) - Method in class io.wcm.testing.mock.aem.MockExternalizer
 
externalLink(ResourceResolver, String, String, String) - Method in class io.wcm.testing.mock.aem.MockExternalizer
 
extractMetadata(Asset) - Method in class io.wcm.testing.mock.aem.dam.MockAssetHandler
 

F

file(String, InputStream, String, long) - Method in interface org.apache.sling.resourcebuilder.api.ResourceBuilder
Create a file under the current parent resource
file(String, InputStream) - Method in interface org.apache.sling.resourcebuilder.api.ResourceBuilder
Create a file under the current parent resource.
fileVaultXml(String, Resource, String) - Method in class org.apache.sling.testing.mock.sling.loader.ContentLoader
Import content of FileVault XML file into repository.
fileVaultXml(String, String) - Method in class org.apache.sling.testing.mock.sling.loader.ContentLoader
Import content of FileVault XML file into repository.
fileVaultXml(InputStream, Resource, String) - Method in class org.apache.sling.testing.mock.sling.loader.ContentLoader
Import content of FileVault XML file into repository.
fileVaultXml(InputStream, String) - Method in class org.apache.sling.testing.mock.sling.loader.ContentLoader
Import content of FileVault XML file into repository.
filterChildResources(Iterable<Resource>) - Method in class io.wcm.testing.mock.aem.MockSlingModelFilter
 
filterHTML(String) - Method in class org.apache.sling.testing.mock.sling.MockXSSAPIImpl
 
filterProperties(Map<String, Object>) - Method in class io.wcm.testing.mock.aem.MockSlingModelFilter
 
find(String) - Method in class io.wcm.testing.mock.aem.MockTagManager
 
find(String, String[]) - Method in class io.wcm.testing.mock.aem.MockTagManager
 
find(String, String[], boolean) - Method in class io.wcm.testing.mock.aem.MockTagManager
 
find(String, List<String[]>) - Method in class io.wcm.testing.mock.aem.MockTagManager
 
findByTitle(String) - Method in class io.wcm.testing.mock.aem.MockTagManager
 
findEntries(String, String, boolean) - Method in class org.apache.sling.testing.mock.osgi.MockBundle
 
findTagsByKeyword(String, Locale, String) - Method in class io.wcm.testing.mock.aem.MockTagManager
 
findTagsByTitle(String, Locale) - Method in class io.wcm.testing.mock.aem.MockTagManager
 
finisher() - Method in class org.apache.sling.testing.mock.osgi.DictionaryCollector
 
flushBuffer() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
folderFileVaultXml(String, Resource, String) - Method in class org.apache.sling.testing.mock.sling.loader.ContentLoader
Mount a folder (file system) containing content in FileVault XML format in repository.
folderFileVaultXml(String, String) - Method in class org.apache.sling.testing.mock.sling.loader.ContentLoader
Mount a folder (file system) containing content in FileVault XML format in repository.
folderFileVaultXml(File, Resource, String) - Method in class org.apache.sling.testing.mock.sling.loader.ContentLoader
Mount a folder containing content in FileVault XML format in repository.
folderFileVaultXml(File, String) - Method in class org.apache.sling.testing.mock.sling.loader.ContentLoader
Mount a folder containing content in FileVault XML format in repository.
folderJson(String, Resource, String) - Method in class org.apache.sling.testing.mock.sling.loader.ContentLoader
Mount a folder (file system) containing content in JSON (Sling-Inital-Content) format in repository.
folderJson(String, String) - Method in class org.apache.sling.testing.mock.sling.loader.ContentLoader
Mount a folder (file system) containing content in JSON (Sling-Inital-Content) format in repository.
folderJson(File, Resource, String) - Method in class org.apache.sling.testing.mock.sling.loader.ContentLoader
Mount a folder containing content in JSON (Sling-Inital-Content) format in repository.
folderJson(File, String) - Method in class org.apache.sling.testing.mock.sling.loader.ContentLoader
Mount a folder containing content in JSON (Sling-Inital-Content) format in repository.
forParent(Resource) - Method in interface org.apache.sling.resourcebuilder.api.ResourceBuilderFactory
Start a ResourceBuilder using the supplied parent resource
forResolver(ResourceResolver) - Method in interface org.apache.sling.resourcebuilder.api.ResourceBuilderFactory
Start a ResourceBuilder using the supplied ResourceResolver, starting with the root resource as the builder's parent resource.
forward(String, RequestDispatcherOptions) - Method in class org.apache.sling.testing.mock.sling.MockSlingScriptHelper
 
forward(String, String) - Method in class org.apache.sling.testing.mock.sling.MockSlingScriptHelper
 
forward(String) - Method in class org.apache.sling.testing.mock.sling.MockSlingScriptHelper
 
forward(Resource) - Method in class org.apache.sling.testing.mock.sling.MockSlingScriptHelper
 
forward(Resource, String) - Method in class org.apache.sling.testing.mock.sling.MockSlingScriptHelper
 
forward(Resource, RequestDispatcherOptions) - Method in class org.apache.sling.testing.mock.sling.MockSlingScriptHelper
 

G

geStatusMessage() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
Deprecated.
As of package version 1.6, use MockSlingHttpServletResponse.getStatusMessage() instead.
get(String, Class<T>) - Method in class org.apache.sling.testing.mock.sling.builder.ImmutableValueMap
 
get(String, T) - Method in class org.apache.sling.testing.mock.sling.builder.ImmutableValueMap
 
get(Object) - Method in class org.apache.sling.testing.mock.sling.builder.ImmutableValueMap
 
get() - Static method in class org.apache.sling.testing.mock.sling.NodeTypeDefinitionScanner
 
getAbsolutePathWithinSlingHome(String) - Method in class org.apache.sling.testing.mock.sling.services.MockSlingSettingService
 
getAdapter(Object, Class<AdapterType>) - Method in class io.wcm.testing.mock.aem.dam.MockAemDamAdapterFactory
 
getAdapter(Object, Class<AdapterType>) - Method in class io.wcm.testing.mock.aem.MockAemAdapterFactory
 
getAdapter(Object, Class<AdapterType>) - Method in class io.wcm.testing.mock.aem.MockLayerAdapterFactory
 
getAdapter(Object, Class<AdapterType>) - Method in class org.apache.sling.testing.mock.sling.MockAdapterManagerImpl
Returns the adapted adaptable or null if the object cannot be adapted.
getAdjacentInfo(ResourceResolver, String) - Method in class io.wcm.testing.mock.aem.MockLanguageManager
Deprecated.
getAdjacentLanguageInfo(ResourceResolver, String) - Method in class io.wcm.testing.mock.aem.MockLanguageManager
 
getAllAssetHandler() - Method in class io.wcm.testing.mock.aem.dam.MockAssetStore
 
getAnalyzeContext() - Method in class io.wcm.testing.mock.aem.MockComponentContext
 
getAssetHandler(String) - Method in class io.wcm.testing.mock.aem.dam.MockAssetStore
 
getAssetHandlerInfos() - Method in class io.wcm.testing.mock.aem.dam.MockAssetStore
 
getAsyncContext() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getAttribute(String) - Method in class io.wcm.testing.mock.aem.MockComponentContext
 
getAttribute(String) - Method in class org.apache.sling.servlethelpers.MockHttpSession
 
getAttribute(String) - Method in class org.apache.sling.servlethelpers.MockServletContext
 
getAttribute(String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getAttributeNames() - Method in class org.apache.sling.servlethelpers.MockHttpSession
 
getAttributeNames() - Method in class org.apache.sling.servlethelpers.MockServletContext
 
getAttributeNames() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getAuthType() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getBaseName() - Method in class org.apache.sling.testing.mock.sling.MockResourceBundle
 
getBestRunModeMatchCountFromSpec(String) - Method in class org.apache.sling.testing.mock.sling.services.MockSlingSettingService
 
getBindVariableNames() - Method in class org.apache.sling.testing.mock.jcr.MockQuery
 
getBindVariables() - Method in class org.apache.sling.testing.mock.jcr.MockQuery
 
getBufferSize() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
getBundleContext() - Method in class org.apache.sling.testing.mock.osgi.MockBundle
 
getBundleId() - Method in class org.apache.sling.testing.mock.osgi.MockBundle
 
getCell() - Method in class io.wcm.testing.mock.aem.MockComponentContext
 
getCharacterEncoding() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getCharacterEncoding() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
getClassLoader() - Method in class org.apache.sling.servlethelpers.MockServletContext
 
getCollections(Session) - Method in class io.wcm.testing.mock.aem.granite.MockResourceCollectionManager
 
getCollectionsForNode(Node) - Method in class io.wcm.testing.mock.aem.granite.MockResourceCollectionManager
 
getColumnNames() - Method in class org.apache.sling.testing.mock.jcr.MockQueryResult
 
getComponent() - Method in class io.wcm.testing.mock.aem.MockComponentContext
 
getContentLength() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getContentLength() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
getContentLengthLong() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getContentPolicyMapping(String, ResourceResolver) - Static method in class io.wcm.testing.mock.aem.MockContentPolicyStorage
Get content policy mapping that was stored for the given resource type.
getContentType() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getContentType() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
getContext(String) - Method in class org.apache.sling.servlethelpers.MockServletContext
 
getContextPath() - Method in class org.apache.sling.servlethelpers.MockServletContext
 
getContextPath() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getCookie(String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getCookie(String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
Get cookie
getCookies() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getCookies() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
Get cookies
getCqLanguage(Resource) - Method in class io.wcm.testing.mock.aem.MockLanguageManager
 
getCqLanguage(Resource, boolean) - Method in class io.wcm.testing.mock.aem.MockLanguageManager
 
getCqLanguages(ResourceResolver, String) - Method in class io.wcm.testing.mock.aem.MockLanguageManager
 
getCreationTime() - Method in class org.apache.sling.servlethelpers.MockHttpSession
 
getCssClassNames() - Method in class io.wcm.testing.mock.aem.MockComponentContext
 
getCurrentParent() - Method in interface org.apache.sling.resourcebuilder.api.ResourceBuilder
Return the current parent resource
getDataFile(String) - Method in class org.apache.sling.testing.mock.osgi.MockBundle
 
getDateHeader(String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getDecorationTagName() - Method in class io.wcm.testing.mock.aem.MockComponentContext
 
getDefaultDecorationTagName() - Method in class io.wcm.testing.mock.aem.MockComponentContext
 
getDefaultLocale() - Method in class org.apache.sling.testing.mock.sling.MockResourceBundleProvider
 
getDefaultSessionTrackingModes() - Method in class org.apache.sling.servlethelpers.MockServletContext
 
getDefaultWorkspace() - Method in class org.apache.sling.testing.mock.sling.MockJcrSlingRepository
 
getDescriptor(String) - Method in class org.apache.sling.testing.mock.sling.MockJcrSlingRepository
 
getDescriptorKeys() - Method in class org.apache.sling.testing.mock.sling.MockJcrSlingRepository
 
getDescriptorValue(String) - Method in class org.apache.sling.testing.mock.sling.MockJcrSlingRepository
 
getDescriptorValues(String) - Method in class org.apache.sling.testing.mock.sling.MockJcrSlingRepository
 
getDispatcherType() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getEditContext() - Method in class io.wcm.testing.mock.aem.MockComponentContext
 
getEffectiveMajorVersion() - Method in class org.apache.sling.servlethelpers.MockServletContext
 
getEffectiveMinorVersion() - Method in class org.apache.sling.servlethelpers.MockServletContext
 
getEffectiveSessionTrackingModes() - Method in class org.apache.sling.servlethelpers.MockServletContext
 
getEntry(String) - Method in class org.apache.sling.testing.mock.osgi.MockBundle
 
getEntryPaths(String) - Method in class org.apache.sling.testing.mock.osgi.MockBundle
 
getExecutionResource() - Method in class org.apache.sling.servlethelpers.internalrequests.InternalRequest
Provide the Resource to use to execute the request
getExecutionResource() - Method in class org.apache.sling.servlethelpers.internalrequests.ServletInternalRequest
 
getExecutionResource() - Method in class org.apache.sling.servlethelpers.internalrequests.SlingInternalRequest
 
getExtension() - Method in class org.apache.sling.servlethelpers.MockRequestPathInfo
 
getExtension(String) - Method in class org.apache.sling.testing.mock.sling.services.MockMimeTypeService
 
getFileNameSuffix(String) - Method in class io.wcm.testing.mock.aem.dam.MockAssetStore
 
getFilterRegistration(String) - Method in class org.apache.sling.servlethelpers.MockServletContext
 
getFilterRegistrations() - Method in class org.apache.sling.servlethelpers.MockServletContext
 
getHeader(String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getHeader(String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
getHeaderNames() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getHeaderNames() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
getHeaders(String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getHeaders(String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
getHeaders() - Method in class org.apache.sling.testing.mock.osgi.MockBundle
 
getHeaders(String) - Method in class org.apache.sling.testing.mock.osgi.MockBundle
 
getIconPath(String, int) - Method in class io.wcm.testing.mock.aem.dam.MockAssetStore
 
getId() - Method in class org.apache.sling.servlethelpers.MockHttpSession
 
getImage(Rendition) - Method in class io.wcm.testing.mock.aem.dam.MockAssetHandler
 
getImage(Rendition, Dimension) - Method in class io.wcm.testing.mock.aem.dam.MockAssetHandler
 
getInitParameter(String) - Method in class org.apache.sling.servlethelpers.MockServletContext
 
getInitParameterNames() - Method in class org.apache.sling.servlethelpers.MockServletContext
 
getInputStream() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getIntHeader(String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getIsoCountry(Locale) - Method in class io.wcm.testing.mock.aem.MockLanguageManager
 
getISProperty(String, String) - Method in class io.wcm.testing.mock.aem.dam.MockPublishUtils
 
getJspConfigDescriptor() - Method in class org.apache.sling.servlethelpers.MockServletContext
 
getKeys() - Method in class org.apache.sling.testing.mock.sling.MockResourceBundle
 
getLanguage(Resource) - Method in class io.wcm.testing.mock.aem.MockLanguageManager
 
getLanguage(Resource, boolean) - Method in class io.wcm.testing.mock.aem.MockLanguageManager
 
getLanguage() - Method in class org.apache.sling.testing.mock.jcr.MockQuery
 
getLanguageRoot(Resource) - Method in class io.wcm.testing.mock.aem.MockLanguageManager
 
getLanguageRoot(Resource, boolean) - Method in class io.wcm.testing.mock.aem.MockLanguageManager
 
getLanguageRootResource(Resource) - Method in class io.wcm.testing.mock.aem.MockLanguageManager
 
getLanguageRootResource(Resource, boolean) - Method in class io.wcm.testing.mock.aem.MockLanguageManager
 
getLanguageRootResources(ResourceResolver, String) - Method in class io.wcm.testing.mock.aem.MockLanguageManager
 
getLanguageRootResources(ResourceResolver, String, boolean) - Method in class io.wcm.testing.mock.aem.MockLanguageManager
 
getLanguageRoots(ResourceResolver, String) - Method in class io.wcm.testing.mock.aem.MockLanguageManager
 
getLanguages(ResourceResolver, String) - Method in class io.wcm.testing.mock.aem.MockLanguageManager
 
getLastAccessedTime() - Method in class org.apache.sling.servlethelpers.MockHttpSession
 
getLastModified() - Method in class org.apache.sling.testing.mock.osgi.MockBundle
 
getLimit() - Method in class org.apache.sling.testing.mock.jcr.MockQuery
 
getLocalAddr() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getLocale() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getLocale() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
getLocale() - Method in class org.apache.sling.testing.mock.sling.MockResourceBundle
 
getLocales() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getLocalName() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getLocalPort() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getLocation() - Method in class org.apache.sling.testing.mock.osgi.MockBundle
 
getMajorVersion() - Method in class org.apache.sling.servlethelpers.MockServletContext
 
getMaxInactiveInterval() - Method in class org.apache.sling.servlethelpers.MockHttpSession
 
getMessages() - Method in class org.apache.sling.servlethelpers.MockRequestProgressTracker
 
getMethod() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getMimeType(String) - Method in class io.wcm.testing.mock.aem.dam.MockAssetStore
 
getMimeType(String) - Method in class org.apache.sling.servlethelpers.MockServletContext
 
getMimeType(String) - Method in class org.apache.sling.testing.mock.sling.services.MockMimeTypeService
 
getMimeTypes() - Method in class io.wcm.testing.mock.aem.dam.MockAssetHandler
 
getMinorVersion() - Method in class org.apache.sling.servlethelpers.MockServletContext
 
getNamedDispatcher(String) - Method in class org.apache.sling.servlethelpers.MockServletContext
 
getNamespaces() - Method in class io.wcm.testing.mock.aem.MockTagManager
 
getNamespacesIter() - Method in class io.wcm.testing.mock.aem.MockTagManager
 
getNodes() - Method in class org.apache.sling.testing.mock.jcr.MockQueryResult
 
getNodeTypeDefinitions() - Method in class org.apache.sling.testing.mock.sling.NodeTypeDefinitionScanner
 
getNodeTypeMode() - Method in enum org.apache.sling.testing.mock.sling.ResourceResolverType
 
getOffset() - Method in class org.apache.sling.testing.mock.jcr.MockQuery
 
getOrCreateResource(String, String) - Method in class org.apache.sling.testing.mock.sling.context.UniqueRoot
Get or create resource with given JCR primary type
getOutput() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
getOutputAsString() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
getOutputStream() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
getPage() - Method in class io.wcm.testing.mock.aem.MockComponentContext
 
getPageManager(ResourceResolver) - Method in class io.wcm.testing.mock.aem.MockPageManagerFactory
 
getParameter(String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getParameterMap() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getParameterNames() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getParameterValues(String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getParent() - Method in class io.wcm.testing.mock.aem.MockComponentContext
 
getPart(String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getParts() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getPathInfo() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getPathTranslated() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getPlugins() - Method in class org.apache.sling.testing.mock.osgi.context.ContextPlugins
 
getProtocol() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getPublishNodeURL(Resource) - Method in class io.wcm.testing.mock.aem.dam.MockPublishUtils
 
getQueryString() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getReader() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getRealPath(String) - Method in class org.apache.sling.servlethelpers.MockServletContext
 
getRealPath(String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getRegisteredServices() - Method in class org.apache.sling.testing.mock.osgi.MockBundle
 
getRemoteAddr() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getRemoteHost() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getRemotePort() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getRemoteUser() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getRequest() - Method in class org.apache.sling.testing.mock.sling.MockSlingScriptHelper
 
getRequestDispatcher(String, RequestDispatcherOptions) - Method in interface org.apache.sling.servlethelpers.MockRequestDispatcherFactory
Get request dispatcher for given path.
getRequestDispatcher(Resource, RequestDispatcherOptions) - Method in interface org.apache.sling.servlethelpers.MockRequestDispatcherFactory
Get request dispatcher for given resource.
getRequestDispatcher(String) - Method in class org.apache.sling.servlethelpers.MockServletContext
 
getRequestDispatcher(String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getRequestDispatcher(String, RequestDispatcherOptions) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getRequestDispatcher(Resource) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getRequestDispatcher(Resource, RequestDispatcherOptions) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getRequestedSessionId() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getRequestParameter(String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getRequestParameterList() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getRequestParameterMap() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getRequestParameters(String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getRequestPathInfo() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getRequestProgressTracker() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getRequestURI() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getRequestURL() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getResource() - Method in class io.wcm.testing.mock.aem.MockComponentContext
 
getResource(String) - Method in class org.apache.sling.servlethelpers.MockServletContext
 
getResource() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getResource(String) - Method in class org.apache.sling.testing.mock.osgi.MockBundle
 
getResourceAsStream(String) - Method in class org.apache.sling.servlethelpers.MockServletContext
 
getResourceBundle(Locale) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getResourceBundle(String, Locale) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getResourceBundle(Locale) - Method in class org.apache.sling.testing.mock.sling.MockResourceBundleProvider
 
getResourceBundle(String, Locale) - Method in class org.apache.sling.testing.mock.sling.MockResourceBundleProvider
 
getResourceBundle(String, Locale) - Method in class org.apache.sling.testing.mock.sling.servlet.MockSlingHttpServletRequest
 
getResourcePath() - Method in class org.apache.sling.servlethelpers.MockRequestPathInfo
 
getResourcePaths(String) - Method in class org.apache.sling.servlethelpers.MockServletContext
 
getResourceResolver() - Method in class io.wcm.testing.mock.aem.MockTagManager
 
getResourceResolver() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getResources(String) - Method in class org.apache.sling.testing.mock.osgi.MockBundle
 
getResponse() - Method in class org.apache.sling.servlethelpers.internalrequests.InternalRequest
Return the response object.
getResponse() - Method in class org.apache.sling.testing.mock.sling.MockSlingScriptHelper
 
getResponseAsString() - Method in class org.apache.sling.servlethelpers.internalrequests.InternalRequest
Return the response as a String.
getResponseContentType() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getResponseContentTypes() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getRoot() - Method in class io.wcm.testing.mock.aem.MockComponentContext
 
getRows() - Method in class org.apache.sling.testing.mock.jcr.MockQueryResult
 
getRunModes() - Method in class org.apache.sling.testing.mock.sling.services.MockSlingSettingService
 
getScheme() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getScript() - Method in class org.apache.sling.testing.mock.sling.MockSlingScriptHelper
 
getSelectorNames() - Method in class org.apache.sling.testing.mock.jcr.MockQueryResult
 
getSelectors() - Method in class org.apache.sling.servlethelpers.MockRequestPathInfo
 
getSelectorString() - Method in class org.apache.sling.servlethelpers.MockRequestPathInfo
 
getServerInfo() - Method in class org.apache.sling.servlethelpers.MockServletContext
 
getServerName() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getServerPort() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getService(Class<ServiceType>) - Method in class org.apache.sling.testing.mock.osgi.context.OsgiContextImpl
Lookup a single service
getService(Class<ServiceType>) - Method in class org.apache.sling.testing.mock.sling.MockSlingScriptHelper
 
getServices(Class<ServiceType>, String) - Method in class org.apache.sling.testing.mock.osgi.context.OsgiContextImpl
Lookup one or several services
getServices(Class<ServiceType>, String) - Method in class org.apache.sling.testing.mock.sling.MockSlingScriptHelper
 
getServicesInUse() - Method in class org.apache.sling.testing.mock.osgi.MockBundle
 
getServlet(String) - Method in class org.apache.sling.servlethelpers.MockServletContext
 
getServletContext() - Method in class org.apache.sling.servlethelpers.MockHttpSession
 
getServletContext() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getServletContextName() - Method in class org.apache.sling.servlethelpers.MockServletContext
 
getServletNames() - Method in class org.apache.sling.servlethelpers.MockServletContext
 
getServletPath() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getServletRegistration(String) - Method in class org.apache.sling.servlethelpers.MockServletContext
 
getServletRegistrations() - Method in class org.apache.sling.servlethelpers.MockServletContext
 
getServlets() - Method in class org.apache.sling.servlethelpers.MockServletContext
 
getSession() - Method in class io.wcm.testing.mock.aem.MockTagManager
 
getSession() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getSession(boolean) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getSessionContext() - Method in class org.apache.sling.servlethelpers.MockHttpSession
 
getSessionCookieConfig() - Method in class org.apache.sling.servlethelpers.MockServletContext
 
getSignerCertificates(int) - Method in class org.apache.sling.testing.mock.osgi.MockBundle
 
getSlingDescription() - Method in class org.apache.sling.testing.mock.sling.services.MockSlingSettingService
 
getSlingHome() - Method in class org.apache.sling.testing.mock.sling.services.MockSlingSettingService
 
getSlingHomePath() - Method in class org.apache.sling.testing.mock.sling.services.MockSlingSettingService
 
getSlingId() - Method in class org.apache.sling.testing.mock.sling.services.MockSlingSettingService
 
getSlingName() - Method in class org.apache.sling.testing.mock.sling.services.MockSlingSettingService
 
getState() - Method in class org.apache.sling.testing.mock.osgi.MockBundle
 
getStatement() - Method in class org.apache.sling.testing.mock.jcr.MockQuery
 
getStatus() - Method in class org.apache.sling.servlethelpers.internalrequests.InternalRequest
Return the response status.
getStatus() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
getStatusMessage() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
getStoredQueryPath() - Method in class org.apache.sling.testing.mock.jcr.MockQuery
 
getSuffix() - Method in class org.apache.sling.servlethelpers.MockRequestPathInfo
 
getSuffixResource() - Method in class org.apache.sling.servlethelpers.MockRequestPathInfo
 
getSupportedLanguageCodes() - Method in class io.wcm.testing.mock.aem.MockTagManager
 
getSymbolicName() - Method in class org.apache.sling.testing.mock.osgi.MockBundle
 
getTagRootPath() - Static method in class io.wcm.testing.mock.aem.MockTagManager
 
getTags(Resource) - Method in class io.wcm.testing.mock.aem.MockTagManager
 
getTagsForSubtree(Resource, boolean) - Method in class io.wcm.testing.mock.aem.MockTagManager
 
getUserPrincipal() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
getValidCSSColor(String, String) - Method in class org.apache.sling.testing.mock.sling.MockXSSAPIImpl
 
getValidDimension(String, String) - Method in class org.apache.sling.testing.mock.sling.MockXSSAPIImpl
 
getValidDouble(String, double) - Method in class org.apache.sling.testing.mock.sling.MockXSSAPIImpl
 
getValidHref(String) - Method in class org.apache.sling.testing.mock.sling.MockXSSAPIImpl
 
getValidInteger(String, int) - Method in class org.apache.sling.testing.mock.sling.MockXSSAPIImpl
 
getValidJSON(String, String) - Method in class org.apache.sling.testing.mock.sling.MockXSSAPIImpl
 
getValidJSToken(String, String) - Method in class org.apache.sling.testing.mock.sling.MockXSSAPIImpl
 
getValidLong(String, long) - Method in class org.apache.sling.testing.mock.sling.MockXSSAPIImpl
 
getValidMultiLineComment(String, String) - Method in class org.apache.sling.testing.mock.sling.MockXSSAPIImpl
 
getValidStyleToken(String, String) - Method in class org.apache.sling.testing.mock.sling.MockXSSAPIImpl
 
getValidXML(String, String) - Method in class org.apache.sling.testing.mock.sling.MockXSSAPIImpl
 
getValue(String) - Method in class org.apache.sling.servlethelpers.MockHttpSession
 
getValueNames() - Method in class org.apache.sling.servlethelpers.MockHttpSession
 
getValues(String) - Static method in class org.apache.sling.testing.mock.osgi.ManifestScanner
Get all bundle header values stored in MANIFEST.MF files as attributes.
getVersion() - Method in class org.apache.sling.testing.mock.osgi.MockBundle
 
getVirtualServerName() - Method in class org.apache.sling.servlethelpers.MockServletContext
 
getWriter() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 

H

handleGetObject(String) - Method in class org.apache.sling.testing.mock.sling.MockResourceBundle
 
hasDecoration() - Method in class io.wcm.testing.mock.aem.MockComponentContext
 
hashCode() - Method in class org.apache.sling.testing.mock.sling.builder.ImmutableValueMap
 
hasPermission(Object) - Method in class org.apache.sling.testing.mock.osgi.MockBundle
 
hierarchyMode() - Method in interface org.apache.sling.resourcebuilder.api.ResourceBuilder
Set hierarchy mode (as opposed to siblings mode) where creating a resource sets it as the current parent.

I

ImmutableValueMap - Class in org.apache.sling.testing.mock.sling.builder
ValueMap that does not support changing its content.
ImmutableValueMap.Builder - Class in org.apache.sling.testing.mock.sling.builder
Builder interface for ImmutableValueMap.
impersonateFromService(String, Credentials, String) - Method in class org.apache.sling.testing.mock.sling.MockJcrSlingRepository
 
include(String, RequestDispatcherOptions) - Method in class org.apache.sling.testing.mock.sling.MockSlingScriptHelper
 
include(String, String) - Method in class org.apache.sling.testing.mock.sling.MockSlingScriptHelper
 
include(String) - Method in class org.apache.sling.testing.mock.sling.MockSlingScriptHelper
 
include(Resource) - Method in class org.apache.sling.testing.mock.sling.MockSlingScriptHelper
 
include(Resource, String) - Method in class org.apache.sling.testing.mock.sling.MockSlingScriptHelper
 
include(Resource, RequestDispatcherOptions) - Method in class org.apache.sling.testing.mock.sling.MockSlingScriptHelper
 
injectServices(Object, BundleContext) - Static method in class org.apache.sling.testing.mock.osgi.MockOsgi
Simulates OSGi DS dependency injection.
injectServices(Object, BundleContext, Map<String, Object>) - Static method in class org.apache.sling.testing.mock.osgi.MockOsgi
Simulates OSGi DS dependency injection.
InternalRequest - Class in org.apache.sling.servlethelpers.internalrequests
Fluent helper for Sling internal requests.
InternalRequest(ResourceResolver, String) - Constructor for class org.apache.sling.servlethelpers.internalrequests.InternalRequest
Clients use subclasses of this one
invalidate() - Method in class org.apache.sling.servlethelpers.MockHttpSession
 
io.wcm.testing.mock.aem - package io.wcm.testing.mock.aem
Mock implementation of selected AEM APIs.
io.wcm.testing.mock.aem.builder - package io.wcm.testing.mock.aem.builder
Content builder for creating test content.
io.wcm.testing.mock.aem.context - package io.wcm.testing.mock.aem.context
AEM context implementation for unit tests.
io.wcm.testing.mock.aem.dam - package io.wcm.testing.mock.aem.dam
Mock implementation of selected AEM DAM APIs.
io.wcm.testing.mock.aem.granite - package io.wcm.testing.mock.aem.granite
Mock implementation of selected Granite APIs.
io.wcm.testing.mock.aem.junit - package io.wcm.testing.mock.aem.junit
Rule for providing easy access to AEM context in JUnit tests.
isAsyncStarted() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
isAsyncSupported() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
isCommitted() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
isEmpty() - Method in class org.apache.sling.testing.mock.sling.builder.ImmutableValueMap
 
isInvalidated() - Method in class org.apache.sling.servlethelpers.MockHttpSession
 
isNew() - Method in class org.apache.sling.servlethelpers.MockHttpSession
 
isRequestedSessionIdFromCookie() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
isRequestedSessionIdFromURL() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
isRequestedSessionIdFromUrl() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
isRequestedSessionIdValid() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
isRoot() - Method in class io.wcm.testing.mock.aem.MockComponentContext
 
isSecure() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
isSingleValueDescriptor(String) - Method in class org.apache.sling.testing.mock.sling.MockJcrSlingRepository
 
isStandardDescriptor(String) - Method in class org.apache.sling.testing.mock.sling.MockJcrSlingRepository
 
isUserInRole(String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 

J

json(String, Resource, String) - Method in class org.apache.sling.testing.mock.sling.loader.ContentLoader
Import content of JSON file into repository.
json(String, String) - Method in class org.apache.sling.testing.mock.sling.loader.ContentLoader
Import content of JSON file into repository.
json(InputStream, Resource, String) - Method in class org.apache.sling.testing.mock.sling.loader.ContentLoader
Import content of JSON file into repository.
json(InputStream, String) - Method in class org.apache.sling.testing.mock.sling.loader.ContentLoader
Import content of JSON file into repository.

K

keySet() - Method in class org.apache.sling.testing.mock.sling.builder.ImmutableValueMap
 
keySet() - Method in class org.apache.sling.testing.mock.sling.MockResourceBundle
 

L

libs() - Method in class org.apache.sling.testing.mock.sling.context.UniqueRoot
Gets (and creates if required) a unique path at /libs/xxx.
load() - Method in class org.apache.sling.testing.mock.sling.context.SlingContextImpl
 
load(boolean) - Method in class org.apache.sling.testing.mock.sling.context.SlingContextImpl
 
loadClass(String) - Method in class org.apache.sling.testing.mock.osgi.MockBundle
 
log - Variable in class org.apache.sling.servlethelpers.internalrequests.InternalRequest
 
log(String) - Method in class org.apache.sling.servlethelpers.MockRequestProgressTracker
 
log(String, Object...) - Method in class org.apache.sling.servlethelpers.MockRequestProgressTracker
 
log(String) - Method in class org.apache.sling.servlethelpers.MockServletContext
 
log(Exception, String) - Method in class org.apache.sling.servlethelpers.MockServletContext
 
log(String, Throwable) - Method in class org.apache.sling.servlethelpers.MockServletContext
 
login(String, String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
login(Credentials, String) - Method in class org.apache.sling.testing.mock.sling.MockJcrSlingRepository
 
login(Credentials) - Method in class org.apache.sling.testing.mock.sling.MockJcrSlingRepository
 
login(String) - Method in class org.apache.sling.testing.mock.sling.MockJcrSlingRepository
 
login() - Method in class org.apache.sling.testing.mock.sling.MockJcrSlingRepository
 
loginAdministrative(String) - Method in class org.apache.sling.testing.mock.sling.MockJcrSlingRepository
 
loginService(String, String) - Method in class org.apache.sling.testing.mock.sling.MockJcrSlingRepository
 
logout() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
logTimer(String) - Method in class org.apache.sling.servlethelpers.MockRequestProgressTracker
 
logTimer(String, String, Object...) - Method in class org.apache.sling.servlethelpers.MockRequestProgressTracker
 

M

ManifestScanner - Class in org.apache.sling.testing.mock.osgi
Scan METAINF/MANIFEST.MF files.
MapUtil - Class in org.apache.sling.testing.mock.osgi
Map util methods.
MDC_KEY - Static variable in class org.apache.sling.servlethelpers.internalrequests.InternalRequest
An slf4j MDC value is set at this key with request information.
mergeTag(Tag, Tag) - Method in class io.wcm.testing.mock.aem.MockTagManager
 
MockAdapterManagerImpl - Class in org.apache.sling.testing.mock.sling
This is a copy of org.apache.sling.adapter.internal.AdpaterManagerImpl from Sling Adapter 2.1.6, with all calls to SyntheticResource.setAdapterManager/unsetAdapterManager disabled, because this would break the ThreadsafeMockAdapterManagerWrapper concept.
MockAdapterManagerImpl() - Constructor for class org.apache.sling.testing.mock.sling.MockAdapterManagerImpl
 
MockAemAdapterFactory - Class in io.wcm.testing.mock.aem
Mock adapter factory for AEM-related adaptions.
MockAemAdapterFactory() - Constructor for class io.wcm.testing.mock.aem.MockAemAdapterFactory
 
MockAemDamAdapterFactory - Class in io.wcm.testing.mock.aem.dam
Mock adapter factory for AEM Asset-related adaptions.
MockAemDamAdapterFactory() - Constructor for class io.wcm.testing.mock.aem.dam.MockAemDamAdapterFactory
 
MockAssetHandler - Class in io.wcm.testing.mock.aem.dam
Mock implementation of AssetHandler.
MockAssetHandler() - Constructor for class io.wcm.testing.mock.aem.dam.MockAssetHandler
 
MockAssetStore - Class in io.wcm.testing.mock.aem.dam
Mock implementation of AssetStore
MockAssetStore() - Constructor for class io.wcm.testing.mock.aem.dam.MockAssetStore
 
MockBundle - Class in org.apache.sling.testing.mock.osgi
Mock Bundle implementation.
MockBundle(BundleContext) - Constructor for class org.apache.sling.testing.mock.osgi.MockBundle
Constructor
MockComponentContext - Class in io.wcm.testing.mock.aem
Mock implementation of ComponentContext.
MockComponentContext(Page, SlingHttpServletRequest) - Constructor for class io.wcm.testing.mock.aem.MockComponentContext
 
MockContentPolicyStorage - Class in io.wcm.testing.mock.aem
Implements a very simplified storage concept for storing and resolving content policies and their mappings.
MockEventAdmin - Class in org.apache.sling.testing.mock.osgi
Mock implementation of EventAdmin.
MockEventAdmin() - Constructor for class org.apache.sling.testing.mock.osgi.MockEventAdmin
 
MockExternalizer - Class in io.wcm.testing.mock.aem
Mock implementation of Externalizer.
MockExternalizer() - Constructor for class io.wcm.testing.mock.aem.MockExternalizer
Constructor
MockHttpSession - Class in org.apache.sling.servlethelpers
Mock HttpSession implementation.
MockHttpSession() - Constructor for class org.apache.sling.servlethelpers.MockHttpSession
 
MockHttpSession - Class in org.apache.sling.testing.mock.sling.servlet
Mock HttpSession implementation.
MockHttpSession() - Constructor for class org.apache.sling.testing.mock.sling.servlet.MockHttpSession
 
MockJcr - Class in org.apache.sling.testing.mock.jcr
Factory for mock JCR objects.
MockJcrSlingRepository - Class in org.apache.sling.testing.mock.sling
Mock SlingRepository implementation.
MockJcrSlingRepository() - Constructor for class org.apache.sling.testing.mock.sling.MockJcrSlingRepository
 
MockLanguageManager - Class in io.wcm.testing.mock.aem
Mock implementation of LanguageManager.
MockLanguageManager() - Constructor for class io.wcm.testing.mock.aem.MockLanguageManager
 
MockLayerAdapterFactory - Class in io.wcm.testing.mock.aem
Tries to adapt to an InputStream to get a Layer instance for an image binary.
MockLayerAdapterFactory() - Constructor for class io.wcm.testing.mock.aem.MockLayerAdapterFactory
 
MockMimeTypeService - Class in org.apache.sling.testing.mock.sling.services
Mock MimeTypeService implementation.
MockMimeTypeService() - Constructor for class org.apache.sling.testing.mock.sling.services.MockMimeTypeService
 
MockNodeTypes - Class in org.apache.sling.testing.mock.jcr
Collection of mocked node type instances.
MockOsgi - Class in org.apache.sling.testing.mock.osgi
Factory for mock OSGi objects.
MockPageManagerFactory - Class in io.wcm.testing.mock.aem
Mock implementation of PageManagerFactory.
MockPageManagerFactory() - Constructor for class io.wcm.testing.mock.aem.MockPageManagerFactory
 
MockPublishUtils - Class in io.wcm.testing.mock.aem.dam
Mock implementation of PublishUtils.
MockPublishUtils() - Constructor for class io.wcm.testing.mock.aem.dam.MockPublishUtils
 
MockQuery - Class in org.apache.sling.testing.mock.jcr
Mock implementation of Query.
MockQueryResult - Class in org.apache.sling.testing.mock.jcr
Mock implementation of QueryResult.
MockQueryResult(List<Node>) - Constructor for class org.apache.sling.testing.mock.jcr.MockQueryResult
 
MockQueryResult(List<Node>, List<String>) - Constructor for class org.apache.sling.testing.mock.jcr.MockQueryResult
 
MockQueryResultHandler - Interface in org.apache.sling.testing.mock.jcr
Allows to set mocked query results for a mocked QueryManager.
MockRequestDispatcherFactory - Interface in org.apache.sling.servlethelpers
Interface to create a mock RequestDispatcher when calling the getRequestDispatcher methods on MockSlingHttpServletRequest instances.
MockRequestDispatcherFactory - Interface in org.apache.sling.testing.mock.sling.servlet
Interface to create a mock RequestDispatcher when calling the getRequestDispatcher methods on MockSlingHttpServletRequest instances.
MockRequestPathInfo - Class in org.apache.sling.servlethelpers
Mock RequestPathInfo implementation.
MockRequestPathInfo() - Constructor for class org.apache.sling.servlethelpers.MockRequestPathInfo
Deprecated.
MockRequestPathInfo(ResourceResolver) - Constructor for class org.apache.sling.servlethelpers.MockRequestPathInfo
 
MockRequestPathInfo - Class in org.apache.sling.testing.mock.sling.servlet
Mock RequestPathInfo implementation.
MockRequestPathInfo() - Constructor for class org.apache.sling.testing.mock.sling.servlet.MockRequestPathInfo
Deprecated.
MockRequestPathInfo(ResourceResolver) - Constructor for class org.apache.sling.testing.mock.sling.servlet.MockRequestPathInfo
 
MockRequestProgressTracker - Class in org.apache.sling.servlethelpers
Mock RequestProgressTracker implementation.
MockRequestProgressTracker() - Constructor for class org.apache.sling.servlethelpers.MockRequestProgressTracker
 
MockResourceBundle - Class in org.apache.sling.testing.mock.sling
Mock implementation of an i18n ResourceBundle.
MockResourceBundle(String, Locale) - Constructor for class org.apache.sling.testing.mock.sling.MockResourceBundle
 
MockResourceBundleProvider - Class in org.apache.sling.testing.mock.sling
Mock implementation of @link ResourceBundleProvider then ensures resolving i18n keys does not lead to exceptions.
MockResourceBundleProvider() - Constructor for class org.apache.sling.testing.mock.sling.MockResourceBundleProvider
 
MockResourceCollectionManager - Class in io.wcm.testing.mock.aem.granite
Mock implementation of ResourceCollectionManager.
MockResourceCollectionManager() - Constructor for class io.wcm.testing.mock.aem.granite.MockResourceCollectionManager
 
MockServletContext - Class in org.apache.sling.servlethelpers
Mock ServletContext implementation.
MockServletContext() - Constructor for class org.apache.sling.servlethelpers.MockServletContext
 
MockServletContext - Class in org.apache.sling.testing.mock.sling.servlet
Mock ServletContext implementation.
MockServletContext() - Constructor for class org.apache.sling.testing.mock.sling.servlet.MockServletContext
 
MockSling - Class in org.apache.sling.testing.mock.sling
Factory for mock Sling objects.
MockSlingHttpServletRequest - Class in org.apache.sling.servlethelpers
Mock SlingHttpServletRequest implementation.
MockSlingHttpServletRequest(ResourceResolver) - Constructor for class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
MockSlingHttpServletRequest - Class in org.apache.sling.testing.mock.sling.servlet
Mock SlingHttpServletRequest implementation.
MockSlingHttpServletRequest(BundleContext) - Constructor for class org.apache.sling.testing.mock.sling.servlet.MockSlingHttpServletRequest
Instantiate with default resource resolver
MockSlingHttpServletRequest(ResourceResolver, BundleContext) - Constructor for class org.apache.sling.testing.mock.sling.servlet.MockSlingHttpServletRequest
 
MockSlingHttpServletResponse - Class in org.apache.sling.servlethelpers
Mock SlingHttpServletResponse implementation.
MockSlingHttpServletResponse() - Constructor for class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
MockSlingHttpServletResponse - Class in org.apache.sling.testing.mock.sling.servlet
Mock SlingHttpServletResponse implementation.
MockSlingHttpServletResponse() - Constructor for class org.apache.sling.testing.mock.sling.servlet.MockSlingHttpServletResponse
 
MockSlingModelFilter - Class in io.wcm.testing.mock.aem
Mock implementation of SlingModelFilter which does no filtering at all.
MockSlingModelFilter() - Constructor for class io.wcm.testing.mock.aem.MockSlingModelFilter
 
MockSlingScriptHelper - Class in org.apache.sling.testing.mock.sling
Mock SlingScriptHelper implementation.
MockSlingScriptHelper(SlingHttpServletRequest, SlingHttpServletResponse, BundleContext) - Constructor for class org.apache.sling.testing.mock.sling.MockSlingScriptHelper
 
MockSlingSettingService - Class in org.apache.sling.testing.mock.sling.services
Mock implementation of SlingSettingsService.
MockSlingSettingService() - Constructor for class org.apache.sling.testing.mock.sling.services.MockSlingSettingService
Instantiate with no default run modes.
MockSlingSettingService(Set<String>) - Constructor for class org.apache.sling.testing.mock.sling.services.MockSlingSettingService
Instantiate with given run modes
MockTagManager - Class in io.wcm.testing.mock.aem
Mock implementation of TagManager.
MockXSSAPIImpl - Class in org.apache.sling.testing.mock.sling
This is a very simplified mock implementation of XSSAPI which in most cases just returns the value that was passed in, or does only very basic validation.
MockXSSAPIImpl() - Constructor for class org.apache.sling.testing.mock.sling.MockXSSAPIImpl
 
modified(Object, BundleContext, Dictionary<String, Object>) - Static method in class org.apache.sling.testing.mock.osgi.MockOsgi
Simulates configuration modification of a DS component instance.
modified(Object, BundleContext, Map<String, Object>) - Static method in class org.apache.sling.testing.mock.osgi.MockOsgi
Simulates configuration modification of a DS component instance.
modified(Object, BundleContext, Object...) - Static method in class org.apache.sling.testing.mock.osgi.MockOsgi
Simulates configuration modification of a DS component instance.
moveTag(Tag, String) - Method in class io.wcm.testing.mock.aem.MockTagManager
 

N

newBundleContext() - Static method in class org.apache.sling.testing.mock.osgi.MockOsgi
 
newComponentContext() - Static method in class org.apache.sling.testing.mock.osgi.MockOsgi
 
newComponentContext(Dictionary<String, Object>) - Static method in class org.apache.sling.testing.mock.osgi.MockOsgi
 
newComponentContext(Map<String, Object>) - Static method in class org.apache.sling.testing.mock.osgi.MockOsgi
 
newComponentContext(Object...) - Static method in class org.apache.sling.testing.mock.osgi.MockOsgi
 
newComponentContext(BundleContext, Dictionary<String, Object>) - Static method in class org.apache.sling.testing.mock.osgi.MockOsgi
 
newComponentContext(BundleContext, Map<String, Object>) - Static method in class org.apache.sling.testing.mock.osgi.MockOsgi
 
newComponentContext(BundleContext, Object...) - Static method in class org.apache.sling.testing.mock.osgi.MockOsgi
 
newLogService(Class<?>) - Static method in class org.apache.sling.testing.mock.osgi.MockOsgi
 
newMockHttpSession() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
newMockHttpSession() - Method in class org.apache.sling.testing.mock.sling.servlet.MockSlingHttpServletRequest
 
newMockRequestPathInfo() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
newMockRequestPathInfo() - Method in class org.apache.sling.testing.mock.sling.servlet.MockSlingHttpServletRequest
 
newMockServletContext() - Method in class org.apache.sling.servlethelpers.MockHttpSession
 
newMockServletContext() - Method in class org.apache.sling.testing.mock.sling.servlet.MockHttpSession
 
newRepository() - Static method in class org.apache.sling.testing.mock.jcr.MockJcr
Create a new mocked in-memory JCR repository.
newResourceResolver(ResourceResolverType, BundleContext) - Static method in class org.apache.sling.testing.mock.sling.MockSling
Creates new sling resource resolver instance.
newResourceResolver(BundleContext) - Static method in class org.apache.sling.testing.mock.sling.MockSling
Creates new sling resource resolver instance using MockSling.DEFAULT_RESOURCERESOLVER_TYPE.
newResourceResolverFactory() - Method in class io.wcm.testing.mock.aem.context.AemContextImpl
 
newResourceResolverFactory() - Method in class org.apache.sling.testing.mock.sling.context.SlingContextImpl
Initialize mocked resource resolver factory.
newResourceResolverFactory(BundleContext) - Static method in class org.apache.sling.testing.mock.sling.MockSling
Creates new sling resource resolver factory instance.
newResourceResolverFactory(ResourceResolverType, BundleContext) - Static method in class org.apache.sling.testing.mock.sling.MockSling
Creates new sling resource resolver factory instance.
newResourceResolverFactory() - Method in interface org.apache.sling.testing.mock.sling.spi.ResourceResolverTypeAdapter
Gets resource resolver factory instance.
newSession() - Static method in class org.apache.sling.testing.mock.jcr.MockJcr
Create a new mocked in-memory JCR session.
newSession(String, String) - Static method in class org.apache.sling.testing.mock.jcr.MockJcr
Create a new mocked in-memory JCR session.
newSlingRepository() - Method in interface org.apache.sling.testing.mock.sling.spi.ResourceResolverTypeAdapter
Get SlingRepository instance.
newSlingScriptHelper(SlingHttpServletRequest, SlingHttpServletResponse, BundleContext) - Static method in class org.apache.sling.testing.mock.sling.MockSling
Creates a new sling script helper instance.
newSlingScriptHelper(BundleContext) - Static method in class org.apache.sling.testing.mock.sling.MockSling
Creates a new sling script helper instance using MockSling.DEFAULT_RESOURCERESOLVER_TYPE for the resource resolver.
NodeTypeDefinitionScanner - Class in org.apache.sling.testing.mock.sling
Singleton class that fetches all node type definitions from OSGi bundle MANIFEST.MF files with "Sling-Nodetypes" definitions in the classpath.
NodeTypeMode - Enum in org.apache.sling.testing.mock.sling
How to handle node types for different ResourceResolverType types.
NoScrMetadataException - Exception in org.apache.sling.testing.mock.osgi
Is thrown when a OSGi mock method required SCR metadata and this is not found in the classpath.
NoScrMetadataException(Class<?>) - Constructor for exception org.apache.sling.testing.mock.osgi.NoScrMetadataException
 
NT_FILE - Static variable in class org.apache.sling.testing.mock.jcr.MockNodeTypes
Node type NT_FILE
NT_FOLDER - Static variable in class org.apache.sling.testing.mock.jcr.MockNodeTypes
Node type NT_FOLDER
NT_UNSTRUCTURED - Static variable in class org.apache.sling.testing.mock.jcr.MockNodeTypes
Node type NT_UNSTRUCTURED

O

of() - Static method in class org.apache.sling.testing.mock.sling.builder.ImmutableValueMap
Returns the empty map.
of(String, Object) - Static method in class org.apache.sling.testing.mock.sling.builder.ImmutableValueMap
Returns an immutable map containing a single entry.
of(String, Object, String, Object) - Static method in class org.apache.sling.testing.mock.sling.builder.ImmutableValueMap
Returns an immutable map containing the given entries, in order.
of(String, Object, String, Object, String, Object) - Static method in class org.apache.sling.testing.mock.sling.builder.ImmutableValueMap
Returns an immutable map containing the given entries, in order.
of(String, Object, String, Object, String, Object, String, Object) - Static method in class org.apache.sling.testing.mock.sling.builder.ImmutableValueMap
Returns an immutable map containing the given entries, in order.
of(String, Object, String, Object, String, Object, String, Object, String, Object) - Static method in class org.apache.sling.testing.mock.sling.builder.ImmutableValueMap
Returns an immutable map containing the given entries, in order.
org.apache.sling.resourcebuilder.api - package org.apache.sling.resourcebuilder.api
ResourceBuilder API.
org.apache.sling.servlethelpers - package org.apache.sling.servlethelpers
Mock implementation of selected Servlet-related Sling APIs.
org.apache.sling.servlethelpers.internalrequests - package org.apache.sling.servlethelpers.internalrequests
Helpers for internal Sling requests
org.apache.sling.testing.mock.jcr - package org.apache.sling.testing.mock.jcr
Mock implementation of selected JCR APIs.
org.apache.sling.testing.mock.osgi - package org.apache.sling.testing.mock.osgi
Mock implementation of selected OSGi APIs.
org.apache.sling.testing.mock.osgi.context - package org.apache.sling.testing.mock.osgi.context
OSGi context implementation for unit tests.
org.apache.sling.testing.mock.osgi.junit - package org.apache.sling.testing.mock.osgi.junit
Rule for providing easy access to OSGi context in JUnit tests.
org.apache.sling.testing.mock.sling - package org.apache.sling.testing.mock.sling
Mock implementation of selected Sling APIs.
org.apache.sling.testing.mock.sling.builder - package org.apache.sling.testing.mock.sling.builder
Content builder for creating test content.
org.apache.sling.testing.mock.sling.context - package org.apache.sling.testing.mock.sling.context
Sling context implementation for unit tests.
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.
org.apache.sling.testing.mock.sling.loader - package org.apache.sling.testing.mock.sling.loader
Helpers for importing test content into the mocked repositories / resource hierarchies.
org.apache.sling.testing.mock.sling.services - package org.apache.sling.testing.mock.sling.services
Mocks for selected Sling services.
org.apache.sling.testing.mock.sling.servlet - package org.apache.sling.testing.mock.sling.servlet
Mock implementation of selected Servlet-related Sling APIs.
org.apache.sling.testing.mock.sling.spi - package org.apache.sling.testing.mock.sling.spi
SPI for hooking in alternative resource type adapter implementations.
OsgiContext - Class in org.apache.sling.testing.mock.osgi.junit
JUnit rule for setting up and tearing down OSGi context for unit tests.
OsgiContext() - Constructor for class org.apache.sling.testing.mock.osgi.junit.OsgiContext
Initialize OSGi context.
OsgiContext(ContextCallback<T>) - Constructor for class org.apache.sling.testing.mock.osgi.junit.OsgiContext
Initialize OSGi context.
OsgiContext(ContextCallback<U>, ContextCallback<V>) - Constructor for class org.apache.sling.testing.mock.osgi.junit.OsgiContext
Initialize OSGi context.
OsgiContextBuilder - Class in org.apache.sling.testing.mock.osgi.junit
Builder class for creating OsgiContext instances with different sets of parameters.
OsgiContextBuilder() - Constructor for class org.apache.sling.testing.mock.osgi.junit.OsgiContextBuilder
Create builder.
OsgiContextCallback - Interface in org.apache.sling.testing.mock.osgi.junit
Callback interface for application-specific setup and teardown operations to customize the OsgiContext JUnit rule.
OsgiContextImpl - Class in org.apache.sling.testing.mock.osgi.context
Defines OSGi context objects and helper methods.
OsgiContextImpl() - Constructor for class org.apache.sling.testing.mock.osgi.context.OsgiContextImpl
 

P

page(String) - Method in class io.wcm.testing.mock.aem.builder.ContentBuilder
Create content page.
page(String, String) - Method in class io.wcm.testing.mock.aem.builder.ContentBuilder
Create content page.
page(String, String, String) - Method in class io.wcm.testing.mock.aem.builder.ContentBuilder
Create content page.
page(String, String, Map<String, Object>) - Method in class io.wcm.testing.mock.aem.builder.ContentBuilder
Create content page.
page(String, String, Object...) - Method in class io.wcm.testing.mock.aem.builder.ContentBuilder
Create content page.
page(Page, String) - Method in class io.wcm.testing.mock.aem.builder.ContentBuilder
Create content page.
page(Page, String, String) - Method in class io.wcm.testing.mock.aem.builder.ContentBuilder
Create content page.
page(Page, String, String, String) - Method in class io.wcm.testing.mock.aem.builder.ContentBuilder
Create content page.
page(Page, String, String, Map<String, Object>) - Method in class io.wcm.testing.mock.aem.builder.ContentBuilder
Create content page.
page(Page, String, String, Object...) - Method in class io.wcm.testing.mock.aem.builder.ContentBuilder
Create content page.
pageManager() - Method in class io.wcm.testing.mock.aem.context.AemContextImpl
 
path - Variable in class org.apache.sling.servlethelpers.internalrequests.InternalRequest
 
plugin(ContextPlugin<T>...) - Method in class io.wcm.testing.mock.aem.junit.AemContextBuilder
 
plugin(ContextPlugin<T>...) - Method in class org.apache.sling.testing.mock.osgi.junit.OsgiContextBuilder
 
plugin(ContextPlugin<T>...) - Method in class org.apache.sling.testing.mock.sling.junit.SlingContextBuilder
 
postEvent(Event) - Method in class org.apache.sling.testing.mock.osgi.MockEventAdmin
 
processRelated(Asset) - Method in class io.wcm.testing.mock.aem.dam.MockAssetHandler
 
processSubAssets(Asset) - Method in class io.wcm.testing.mock.aem.dam.MockAssetHandler
 
properties(Dictionary<String, Object>) - Method in class org.apache.sling.testing.mock.osgi.ComponentContextBuilder
 
properties(Map<String, Object>) - Method in class org.apache.sling.testing.mock.osgi.ComponentContextBuilder
 
properties(Object...) - Method in class org.apache.sling.testing.mock.osgi.ComponentContextBuilder
 
publishLink(ResourceResolver, String) - Method in class io.wcm.testing.mock.aem.MockExternalizer
 
publishLink(ResourceResolver, String, String) - Method in class io.wcm.testing.mock.aem.MockExternalizer
 
put(String, Object) - Method in class org.apache.sling.testing.mock.sling.builder.ImmutableValueMap.Builder
Associates key with value in the built map.
put(Map.Entry<String, Object>) - Method in class org.apache.sling.testing.mock.sling.builder.ImmutableValueMap.Builder
Adds the given entry to the map, making it immutable if necessary.
put(String, Object) - Method in class org.apache.sling.testing.mock.sling.builder.ImmutableValueMap
Deprecated.
Unsupported operation
put(String, String) - Method in class org.apache.sling.testing.mock.sling.MockResourceBundle
Add translation.
putAll(Map<String, Object>) - Method in class org.apache.sling.testing.mock.sling.builder.ImmutableValueMap.Builder
Associates all of the given map's keys and values in the built map.
putAll(Map<? extends String, ? extends Object>) - Method in class org.apache.sling.testing.mock.sling.builder.ImmutableValueMap
Deprecated.
Unsupported operation
putAll(Map<? extends String, ? extends String>) - Method in class org.apache.sling.testing.mock.sling.MockResourceBundle
Add translations.
putValue(String, Object) - Method in class org.apache.sling.servlethelpers.MockHttpSession
 

R

ReferenceViolationException - Exception in org.apache.sling.testing.mock.osgi
Is thrown when a OSGi reference injection fails due to violated constraints.
ReferenceViolationException(String) - Constructor for exception org.apache.sling.testing.mock.osgi.ReferenceViolationException
 
register(Session, NodeTypeMode) - Method in class org.apache.sling.testing.mock.sling.NodeTypeDefinitionScanner
Registers node types found in classpath in JCR repository.
register(Session, List<String>, NodeTypeMode) - Method in class org.apache.sling.testing.mock.sling.NodeTypeDefinitionScanner
Registers node types found in classpath in JCR repository.
registerAdapter(Class<T1>, Class<T2>, T2) - Method in class org.apache.sling.testing.mock.sling.context.SlingContextImpl
Create a Sling AdapterFactory on the fly which can adapt from adaptableClass to adapterClass and just returns the given value as result.
registerAdapter(Class<T1>, Class<T2>, Function<T1, T2>) - Method in class org.apache.sling.testing.mock.sling.context.SlingContextImpl
Create a Sling AdapterFactory on the fly which can adapt from adaptableClass to adapterClass and delegates the adapter mapping to the given adaptHandler function.
registerDefaultServices() - Method in class io.wcm.testing.mock.aem.context.AemContextImpl
 
registerDefaultServices() - Method in class org.apache.sling.testing.mock.sling.context.SlingContextImpl
Default services that should be available for every unit test
registerInjectActivateService(T) - Method in class org.apache.sling.testing.mock.osgi.context.OsgiContextImpl
Injects dependencies, activates and registers a DS component in the mocked OSGi environment.
registerInjectActivateService(T, Map<String, Object>) - Method in class org.apache.sling.testing.mock.osgi.context.OsgiContextImpl
Injects dependencies, activates and registers a DS component in the mocked OSGi environment.
registerInjectActivateService(T, Object...) - Method in class org.apache.sling.testing.mock.osgi.context.OsgiContextImpl
Injects dependencies, activates and registers a DS component in the mocked OSGi environment.
registerInjectActivateService(Class<T>) - Method in class org.apache.sling.testing.mock.osgi.context.OsgiContextImpl
Injects dependencies, activates and registers a DS component in the mocked OSGi environment.
registerInjectActivateService(Class<T>, Map<String, Object>) - Method in class org.apache.sling.testing.mock.osgi.context.OsgiContextImpl
Injects dependencies, activates and registers a DS component in the mocked OSGi environment.
registerInjectActivateService(Class<T>, Object...) - Method in class org.apache.sling.testing.mock.osgi.context.OsgiContextImpl
Injects dependencies, activates and registers a DS component in the mocked OSGi environment.
registerInjectActivateService(T, BundleContext) - Static method in class org.apache.sling.testing.mock.osgi.MockOsgi
Injects dependencies, activates and registers a DS component in the mocked OSGi environment.
registerInjectActivateService(T, BundleContext, Map<String, Object>) - Static method in class org.apache.sling.testing.mock.osgi.MockOsgi
Injects dependencies, activates and registers a DS component in the mocked OSGi environment.
registerInjectActivateService(T, BundleContext, Object...) - Static method in class org.apache.sling.testing.mock.osgi.MockOsgi
Injects dependencies, activates and registers a DS component in the mocked OSGi environment.
registerInjectActivateService(Class<T>, BundleContext) - Static method in class org.apache.sling.testing.mock.osgi.MockOsgi
Injects dependencies, activates and registers a DS component in the mocked OSGi environment.
registerInjectActivateService(Class<T>, BundleContext, Map<String, Object>) - Static method in class org.apache.sling.testing.mock.osgi.MockOsgi
Injects dependencies, activates and registers a DS component in the mocked OSGi environment.
registerInjectActivateService(Class<T>, BundleContext, Object...) - Static method in class org.apache.sling.testing.mock.osgi.MockOsgi
Injects dependencies, activates and registers a DS component in the mocked OSGi environment.
registerMimeType(String, String...) - Method in class org.apache.sling.testing.mock.sling.services.MockMimeTypeService
 
registerMimeType(InputStream) - Method in class org.apache.sling.testing.mock.sling.services.MockMimeTypeService
 
registerService(T) - Method in class org.apache.sling.testing.mock.osgi.context.OsgiContextImpl
Registers a service in the mocked OSGi environment.
registerService(Class<T>, T) - Method in class org.apache.sling.testing.mock.osgi.context.OsgiContextImpl
Registers a service in the mocked OSGi environment.
registerService(Class<T>, T, Map<String, Object>) - Method in class org.apache.sling.testing.mock.osgi.context.OsgiContextImpl
Registers a service in the mocked OSGi environment.
registerService(Class<T>, T, Object...) - Method in class org.apache.sling.testing.mock.osgi.context.OsgiContextImpl
Registers a service in the mocked OSGi environment.
registerSlingModelsFromClassPath(boolean) - Method in class io.wcm.testing.mock.aem.junit.AemContextBuilder
Automatic registering of all Sling Models found in the classpath on startup (active by default).
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).
relativeLink(SlingHttpServletRequest, String) - Method in class io.wcm.testing.mock.aem.MockExternalizer
 
remove(Object) - Method in class org.apache.sling.testing.mock.sling.builder.ImmutableValueMap
Deprecated.
Unsupported operation
removeAttribute(String) - Method in class org.apache.sling.servlethelpers.MockHttpSession
 
removeAttribute(String) - Method in class org.apache.sling.servlethelpers.MockServletContext
 
removeAttribute(String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
removeValue(String) - Method in class org.apache.sling.servlethelpers.MockHttpSession
 
request - Variable in class org.apache.sling.testing.mock.sling.context.SlingContextImpl
 
request() - Method in class org.apache.sling.testing.mock.sling.context.SlingContextImpl
 
requestMethod - Variable in class org.apache.sling.servlethelpers.internalrequests.InternalRequest
 
requestPathInfo() - Method in class org.apache.sling.testing.mock.sling.context.SlingContextImpl
 
reset() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
resetBuffer() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
resolve(String) - Method in class io.wcm.testing.mock.aem.MockTagManager
 
resolveByTitle(String) - Method in class io.wcm.testing.mock.aem.MockTagManager
 
resolveByTitle(String, Locale) - Method in class io.wcm.testing.mock.aem.MockTagManager
 
resolveSlingBindingProperty(String, SlingHttpServletRequest) - Method in class io.wcm.testing.mock.aem.context.AemContextImpl
 
resolveSlingBindingProperty(String, SlingHttpServletRequest) - Method in class org.apache.sling.testing.mock.sling.context.SlingContextImpl
Dynamically resolve property request for current request SlingBindings.
resolveSlingBindingProperty(String) - Method in class org.apache.sling.testing.mock.sling.context.SlingContextImpl
resource(Page, String) - Method in class io.wcm.testing.mock.aem.builder.ContentBuilder
Create child resource below the page's jcr:content resource.
resource(Page, String, Map<String, Object>) - Method in class io.wcm.testing.mock.aem.builder.ContentBuilder
Create child resource below the page's jcr:content resource.
resource(Page, String, Object...) - Method in class io.wcm.testing.mock.aem.builder.ContentBuilder
Create child resource below the page's jcr:content resource.
resource(String, Object...) - Method in interface org.apache.sling.resourcebuilder.api.ResourceBuilder
Create a Resource, which optionally becomes the current parent Resource.
resource(String, Map<String, Object>) - Method in interface org.apache.sling.resourcebuilder.api.ResourceBuilder
Create a Resource, which optionally becomes the current parent Resource.
resource(String) - Method in class org.apache.sling.testing.mock.sling.builder.ContentBuilder
Create resource.
resource(String, Map<String, Object>) - Method in class org.apache.sling.testing.mock.sling.builder.ContentBuilder
Create resource.
resource(String, Object...) - Method in class org.apache.sling.testing.mock.sling.builder.ContentBuilder
Create resource.
resource(Resource, String) - Method in class org.apache.sling.testing.mock.sling.builder.ContentBuilder
Create child resource below the given parent resource.
resource(Resource, String, Map<String, Object>) - Method in class org.apache.sling.testing.mock.sling.builder.ContentBuilder
Create child resource below the given parent resource.
resource(Resource, String, Object...) - Method in class org.apache.sling.testing.mock.sling.builder.ContentBuilder
Create child resource below the given parent resource.
ResourceBuilder - Interface in org.apache.sling.resourcebuilder.api
Builds Sling Resources using a simple fluent API
resourceBuilder - Variable in class org.apache.sling.testing.mock.sling.context.SlingContextImpl
 
ResourceBuilderFactory - Interface in org.apache.sling.resourcebuilder.api
Factory service for building ResourceBuilder instances.
resourceResolver - Variable in class org.apache.sling.servlethelpers.internalrequests.InternalRequest
 
resourceResolver - Variable in class org.apache.sling.testing.mock.sling.builder.ContentBuilder
 
resourceResolver - Variable in class org.apache.sling.testing.mock.sling.context.SlingContextImpl
 
resourceResolver() - Method in class org.apache.sling.testing.mock.sling.context.SlingContextImpl
Returns the singleton resource resolver bound to this context.
resourceResolverFactory - Variable in class org.apache.sling.testing.mock.sling.context.SlingContextImpl
 
resourceResolverFactoryActivatorProps(Map<String, Object>) - Method in class io.wcm.testing.mock.aem.junit.AemContextBuilder
Allows to override OSGi configuration parameters for the Resource Resolver Factory Activator service.
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.
resourceResolverFactoryActivatorPropsMergeWithAemDefault(Map<String, Object>) - Method in class io.wcm.testing.mock.aem.context.AemContextImpl
Merges the given custom Resource Resolver Factory Activator OSGi configuration with the default configuration applied in AEM 6.
resourceResolverType(ResourceResolverType...) - Method in class io.wcm.testing.mock.aem.junit.AemContextBuilder
 
resourceResolverType - Variable in class org.apache.sling.testing.mock.sling.context.SlingContextImpl
 
resourceResolverType() - Method in class org.apache.sling.testing.mock.sling.context.SlingContextImpl
 
resourceResolverType(ResourceResolverType) - Method in class org.apache.sling.testing.mock.sling.junit.SlingContextBuilder
 
ResourceResolverType - Enum in org.apache.sling.testing.mock.sling
The resource resolver mock implementation supports different underlying repository implementations.
ResourceResolverTypeAdapter - Interface in org.apache.sling.testing.mock.sling.spi
SPI interface for resource resolver type implementations to provide a mock resource resolver factory.
response - Variable in class org.apache.sling.testing.mock.sling.context.SlingContextImpl
 
response() - Method in class org.apache.sling.testing.mock.sling.context.SlingContextImpl
 
runMode(String...) - Method in class org.apache.sling.testing.mock.sling.context.SlingContextImpl
Set current run mode(s).

S

selectorString - Variable in class org.apache.sling.servlethelpers.internalrequests.InternalRequest
 
sendBundleEvent(BundleContext, BundleEvent) - Static method in class org.apache.sling.testing.mock.osgi.MockOsgi
Simulates a bundle event on the given bundle context (that is forwarded to registered bundle listeners).
sendError(int, String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
sendError(int) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
sendEvent(Event) - Method in class org.apache.sling.testing.mock.osgi.MockEventAdmin
 
sendRedirect(String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
ServletInternalRequest - Class in org.apache.sling.servlethelpers.internalrequests
Internal request that a Servlet or Script directly, after resolving it using a ServletResolver.
ServletInternalRequest(ServletResolver, Resource) - Constructor for class org.apache.sling.servlethelpers.internalrequests.ServletInternalRequest
Setup an internal request to the supplied Resource, using the supplied servlet/script resolver.
servletResolver - Variable in class org.apache.sling.servlethelpers.internalrequests.ServletInternalRequest
 
setAdapterManagerBundleContext(BundleContext) - Static method in class org.apache.sling.testing.mock.sling.MockSling
Set bundle context for adapter manager.
setAttribute(String, Object) - Method in class io.wcm.testing.mock.aem.MockComponentContext
 
setAttribute(String, Object) - Method in class org.apache.sling.servlethelpers.MockHttpSession
 
setAttribute(String, Object) - Method in class org.apache.sling.servlethelpers.MockServletContext
 
setAttribute(String, Object) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
setAuthType(String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
setBufferSize(int) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
setCell(Cell) - Method in class io.wcm.testing.mock.aem.MockComponentContext
 
setCharacterEncoding(String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
setCharacterEncoding(String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
setConfigForPid(BundleContext, String, Map<String, Object>) - Static method in class org.apache.sling.testing.mock.osgi.MockOsgi
Set configuration via ConfigurationAdmin service in bundle context for component with given pid.
setConfigForPid(BundleContext, String, Object...) - Static method in class org.apache.sling.testing.mock.osgi.MockOsgi
Set configuration via ConfigurationAdmin service in bundle context for component with given pid.
setContent(byte[]) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
setContentLength(int) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
setContentLengthLong(long) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
setContentType(String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
setContentType(String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
setContextPath(String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
setCssClassNames(Set<String>) - Method in class io.wcm.testing.mock.aem.MockComponentContext
 
setDateHeader(String, long) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
Set header, overwrite existing ones with same name.
setDateHeader(String, long) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
setDecorate(boolean) - Method in class io.wcm.testing.mock.aem.MockComponentContext
 
setDecorationTagName(String) - Method in class io.wcm.testing.mock.aem.MockComponentContext
 
setDefaultDecorationTagName(String) - Method in class io.wcm.testing.mock.aem.MockComponentContext
 
setDefaultLocale(Locale) - Method in class org.apache.sling.testing.mock.sling.MockResourceBundleProvider
Sets the default locale.
setExtension(String) - Method in class org.apache.sling.servlethelpers.MockRequestPathInfo
 
setHeader(String, String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
Set header, overwrite existing ones with same name.
setHeader(String, String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
setHeaders(Map<String, String>) - Method in class org.apache.sling.testing.mock.osgi.MockBundle
Set headers for mock bundle
setInitParameter(String, String) - Method in class org.apache.sling.servlethelpers.MockServletContext
 
setIntHeader(String, int) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
Set header, overwrite existing ones with same name.
setIntHeader(String, int) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
setLastModified(long) - Method in class org.apache.sling.testing.mock.osgi.MockBundle
Set the last modified value for the mock bundle
setLimit(long) - Method in class org.apache.sling.testing.mock.jcr.MockQuery
 
setLocale(Locale) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
setLocale(Locale) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
setMapping(String, String) - Method in class io.wcm.testing.mock.aem.MockExternalizer
Allows to set a custom domain mapping for the unit test.
setMaxInactiveInterval(int) - Method in class org.apache.sling.servlethelpers.MockHttpSession
 
setMethod(String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
setNew(boolean) - Method in class org.apache.sling.servlethelpers.MockHttpSession
 
setOffset(long) - Method in class org.apache.sling.testing.mock.jcr.MockQuery
 
setParameterMap(Map<String, Object>) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
setPathInfo(String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
setQueryResult(Session, List<Node>) - Static method in class org.apache.sling.testing.mock.jcr.MockJcr
Sets the expected result list for all queries executed with the given query manager.
setQueryResult(QueryManager, List<Node>) - Static method in class org.apache.sling.testing.mock.jcr.MockJcr
Sets the expected result list for all queries executed with the given query manager.
setQueryResult(Session, String, String, List<Node>) - Static method in class org.apache.sling.testing.mock.jcr.MockJcr
Sets the expected result list for all queries with the given statement executed with the given query manager.
setQueryResult(QueryManager, String, String, List<Node>) - Static method in class org.apache.sling.testing.mock.jcr.MockJcr
Sets the expected result list for all queries with the given statement executed with the given query manager.
setQueryString(String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
setRegisterSlingModelsFromClassPath(boolean) - Method in class org.apache.sling.testing.mock.sling.context.SlingContextImpl
 
setRemoteAddr(String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
setRemoteHost(String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
setRemotePort(int) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
setRemoteUser(String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
setRequestDispatcherFactory(MockRequestDispatcherFactory) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
setResource(Resource) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
setResourcePath(String) - Method in class org.apache.sling.servlethelpers.MockRequestPathInfo
 
setResourceResolverFactoryActivatorProps(Map<String, Object>) - Method in class org.apache.sling.testing.mock.sling.context.SlingContextImpl
 
setResourceResolverType(ResourceResolverType) - Method in class io.wcm.testing.mock.aem.context.AemContextImpl
 
setResourceResolverType(ResourceResolverType) - Method in class org.apache.sling.testing.mock.sling.context.SlingContextImpl
 
setResponseContentType(String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
setRunModes(Set<String>) - Method in class org.apache.sling.testing.mock.sling.services.MockSlingSettingService
 
setScheme(String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
setScript(SlingScript) - Method in class org.apache.sling.testing.mock.sling.MockSlingScriptHelper
 
setSelectorString(String) - Method in class org.apache.sling.servlethelpers.MockRequestPathInfo
 
setServerName(String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
setServerPort(int) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
setServletPath(String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
setSessionTrackingModes(Set<SessionTrackingMode>) - Method in class org.apache.sling.servlethelpers.MockServletContext
 
setStatus(int, String) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
setStatus(int) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletResponse
 
setSuffix(String) - Method in class org.apache.sling.servlethelpers.MockRequestPathInfo
 
setSymbolicName(String) - Method in class org.apache.sling.testing.mock.osgi.MockBundle
Set symbolic name for mock bundle
setTags(Resource, Tag[]) - Method in class io.wcm.testing.mock.aem.MockTagManager
 
setTags(Resource, Tag[], boolean) - Method in class io.wcm.testing.mock.aem.MockTagManager
 
setUp() - Method in class io.wcm.testing.mock.aem.context.AemContextImpl
 
setUp() - Method in class org.apache.sling.testing.mock.osgi.context.OsgiContextImpl
Setup actions before test method execution
setUp() - Method in class org.apache.sling.testing.mock.sling.context.SlingContextImpl
Setup actions before test method execution
shutdown(BundleContext) - Static method in class org.apache.sling.testing.mock.osgi.MockOsgi
Deactivates all bundles registered in the mocked bundle context.
siblingsMode() - Method in interface org.apache.sling.resourcebuilder.api.ResourceBuilder
Set siblings mode (as opposed to hierarchy mode) where creating a resource doesn't change the current parent.
size() - Method in class org.apache.sling.testing.mock.sling.builder.ImmutableValueMap
 
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(ResourceResolverType) - Constructor for class org.apache.sling.testing.mock.sling.junit.SlingContext
Initialize Sling context with resource resolver 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.
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.
SlingContextImpl - Class in org.apache.sling.testing.mock.sling.context
Defines Sling context objects with lazy initialization.
SlingContextImpl() - Constructor for class org.apache.sling.testing.mock.sling.context.SlingContextImpl
 
SlingInternalRequest - Class in org.apache.sling.servlethelpers.internalrequests
Internal request that uses a SlingRequestProcessor.
SlingInternalRequest(ResourceResolver, SlingRequestProcessor, String) - Constructor for class org.apache.sling.servlethelpers.internalrequests.SlingInternalRequest
Setup an internal request that uses a SlingRequestProcessor
slingScriptHelper - Variable in class org.apache.sling.testing.mock.sling.context.SlingContextImpl
 
slingScriptHelper() - Method in class org.apache.sling.testing.mock.sling.context.SlingContextImpl
 
start() - Method in class org.apache.sling.testing.mock.osgi.MockBundle
 
start(int) - Method in class org.apache.sling.testing.mock.osgi.MockBundle
 
startAsync() - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
startAsync(ServletRequest, ServletResponse) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
startTimer(String) - Method in class org.apache.sling.servlethelpers.MockRequestProgressTracker
 
stop() - Method in class org.apache.sling.testing.mock.osgi.MockBundle
 
stop(int) - Method in class org.apache.sling.testing.mock.osgi.MockBundle
 
storeAsNode(String) - Method in class org.apache.sling.testing.mock.jcr.MockQuery
 
storeContentPolicyMapping(String, Map<String, Object>, ResourceResolver) - Static method in class io.wcm.testing.mock.aem.MockContentPolicyStorage
Creates a mocked content policy with the given properties and maps it to all content resources with the given resource type.
supplier() - Method in class org.apache.sling.testing.mock.osgi.DictionaryCollector
 

T

tag(String) - Method in class io.wcm.testing.mock.aem.builder.ContentBuilder
Adds a tag definition.
tearDown() - Method in class io.wcm.testing.mock.aem.context.AemContextImpl
 
tearDown() - Method in class org.apache.sling.testing.mock.osgi.context.OsgiContextImpl
Teardown actions after test method execution
tearDown() - Method in class org.apache.sling.testing.mock.sling.context.SlingContextImpl
Teardown actions after test method execution
toDictionary(Map<T, U>) - Static method in class org.apache.sling.testing.mock.osgi.MapUtil
Convert map to dictionary.
toDictionary(Object...) - Static method in class org.apache.sling.testing.mock.osgi.MapUtil
Convert key/value pairs to dictionary
toMap(Dictionary<T, U>) - Static method in class org.apache.sling.testing.mock.osgi.MapUtil
Convert Dictionary to map
toMap(Object...) - Static method in class org.apache.sling.testing.mock.osgi.MapUtil
Convert key/value pairs to map
toString() - Method in class org.apache.sling.servlethelpers.internalrequests.ServletInternalRequest
Return essential request info, used to set the logging MDC
toString() - Method in class org.apache.sling.servlethelpers.internalrequests.SlingInternalRequest
Return essential request info, used to set the logging MDC
toString() - Method in class org.apache.sling.testing.mock.sling.builder.ImmutableValueMap
 

U

unbindAdapterFactory(ServiceReference) - Method in class org.apache.sling.testing.mock.sling.MockAdapterManagerImpl
Unbind a adapter factory.
unbindEventHandler(EventHandler, Map<String, Object>) - Method in class org.apache.sling.testing.mock.osgi.MockEventAdmin
 
uninstall() - Method in class org.apache.sling.testing.mock.osgi.MockBundle
 
uniquePathPart - Variable in class org.apache.sling.testing.mock.sling.context.UniqueRoot
 
uniqueRoot() - Method in class io.wcm.testing.mock.aem.context.AemContextImpl
Create unique root paths for unit tests (and clean them up after the test run automatically).
UniqueRoot - Class in io.wcm.testing.mock.aem.context
Manages unique root paths in JCR repository.
uniqueRoot - Variable in class org.apache.sling.testing.mock.sling.context.SlingContextImpl
 
uniqueRoot() - Method in class org.apache.sling.testing.mock.sling.context.SlingContextImpl
Create unique root paths for unit tests (and clean them up after the test run automatically).
UniqueRoot - Class in org.apache.sling.testing.mock.sling.context
Manages unique root paths in JCR repository.
UniqueRoot(SlingContextImpl) - Constructor for class org.apache.sling.testing.mock.sling.context.UniqueRoot
 
update() - Method in class org.apache.sling.testing.mock.osgi.MockBundle
 
update(InputStream) - Method in class org.apache.sling.testing.mock.osgi.MockBundle
 
upgrade(Class<T>) - Method in class org.apache.sling.servlethelpers.MockSlingHttpServletRequest
 
usingBundle(Bundle) - Method in class org.apache.sling.testing.mock.osgi.ComponentContextBuilder
 

V

valueOf(String) - Static method in enum org.apache.sling.testing.mock.sling.NodeTypeMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.sling.testing.mock.sling.ResourceResolverType
Returns the enum constant of this type with the specified name.
values() - Method in class org.apache.sling.testing.mock.sling.builder.ImmutableValueMap
 
values() - Static method in enum org.apache.sling.testing.mock.sling.NodeTypeMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.sling.testing.mock.sling.ResourceResolverType
Returns an array containing the constants of this enum type, in the order they are declared.

W

withBody(Reader) - Method in class org.apache.sling.servlethelpers.internalrequests.InternalRequest
Use the supplied Reader as the request's body content
withContentType(String) - Method in class org.apache.sling.servlethelpers.internalrequests.InternalRequest
Set the HTTP request's Content-Type
withExtension(String) - Method in class org.apache.sling.servlethelpers.internalrequests.InternalRequest
Sets the optional extension of the internal request, which influence the Servlet/Script resolution.
withIntermediatePrimaryType(String) - Method in interface org.apache.sling.resourcebuilder.api.ResourceBuilder
Set the primary type for intermediate resources created when the parent of resource being created does not exist.
withParameter(String, Object) - Method in class org.apache.sling.servlethelpers.internalrequests.InternalRequest
Set a request parameter
withParameters(Map<String, Object>) - Method in class org.apache.sling.servlethelpers.internalrequests.InternalRequest
Add the supplied request parameters to the current ones
withRequestMethod(String) - Method in class org.apache.sling.servlethelpers.internalrequests.InternalRequest
Set the HTTP request method to use - defaults to GET
withResourceSuperType(String) - Method in class org.apache.sling.servlethelpers.internalrequests.SlingInternalRequest
Sets the sling:resourceSuperType of the fake Resource used to resolve the Script or Servlet used for the internal request
withResourceType(String) - Method in class org.apache.sling.servlethelpers.internalrequests.SlingInternalRequest
Sets the sling:resourceType of the fake Resource used to resolve the Script or Servlet used for the internal request
withSelectors(String...) - Method in class org.apache.sling.servlethelpers.internalrequests.InternalRequest
Sets the optional selectors of the internal request, which influence the Servlet/Script resolution.
A B C D E F G H I J K L M N O P R S T U V W 
Skip navigation links

Copyright © 2014–2021 wcm.io. All rights reserved.