Skip navigation links
A B C D G H I M N P R S T U 

A

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
 
afterTearDown(ContextCallback<T>...) - Method in class io.wcm.testing.mock.aem.junit.AemContextBuilder
 
apply(Statement, Description) - Method in class io.wcm.testing.mock.aem.junit.AemContext
 
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, int, int, String) - Method in class io.wcm.testing.mock.aem.builder.ContentBuilder
Create DAM asset with a generated dummy image.
asset(String, int, int, String, Map<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.
assetRendition(Asset, String, String, String) - Method in class io.wcm.testing.mock.aem.builder.ContentBuilder
Adds an rendition to DAM asset.
assetRendition(Asset, String, int, int, String) - Method in class io.wcm.testing.mock.aem.builder.ContentBuilder
Adds an 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 an rendition to DAM asset.

B

beforeSetUp(ContextCallback<T>...) - Method in class io.wcm.testing.mock.aem.junit.AemContextBuilder
 
beforeTearDown(ContextCallback<T>...) - Method in class io.wcm.testing.mock.aem.junit.AemContextBuilder
 
build() - Method in class io.wcm.testing.mock.aem.junit.AemContextBuilder
 

C

cleanUp() - Method in class io.wcm.testing.mock.aem.context.UniqueRoot
 
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
 
create() - Method in class io.wcm.testing.mock.aem.context.AemContextImpl
 
createDummyImage(int, int, String) - Static method in class io.wcm.testing.mock.aem.builder.ContentBuilder
Create dummy image
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).

D

dam() - Method in class io.wcm.testing.mock.aem.context.UniqueRoot
Gets (and creates if required) a unique path at /content/dam/xxx.

G

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
 
getAnalyzeContext() - Method in class io.wcm.testing.mock.aem.MockComponentContext
 
getAttribute(String) - Method in class io.wcm.testing.mock.aem.MockComponentContext
 
getCell() - Method in class io.wcm.testing.mock.aem.MockComponentContext
 
getComponent() - Method in class io.wcm.testing.mock.aem.MockComponentContext
 
getCssClassNames() - Method in class io.wcm.testing.mock.aem.MockComponentContext
 
getDecorationTagName() - Method in class io.wcm.testing.mock.aem.MockComponentContext
 
getDefaultDecorationTagName() - Method in class io.wcm.testing.mock.aem.MockComponentContext
 
getEditContext() - Method in class io.wcm.testing.mock.aem.MockComponentContext
 
getPage() - Method in class io.wcm.testing.mock.aem.MockComponentContext
 
getParent() - Method in class io.wcm.testing.mock.aem.MockComponentContext
 
getResource() - Method in class io.wcm.testing.mock.aem.MockComponentContext
 
getRoot() - Method in class io.wcm.testing.mock.aem.MockComponentContext
 

H

hasDecoration() - Method in class io.wcm.testing.mock.aem.MockComponentContext
 

I

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.junit - package io.wcm.testing.mock.aem.junit
Rule for providing easy access to AEM context in JUnit tests.
isRoot() - Method in class io.wcm.testing.mock.aem.MockComponentContext
 

M

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
 
MockComponentContext - Class in io.wcm.testing.mock.aem
Mock implementation of ComponentContext.
MockComponentContext(Page, SlingHttpServletRequest) - Constructor for class io.wcm.testing.mock.aem.MockComponentContext
 
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
 

N

newResourceResolverFactory() - Method in class io.wcm.testing.mock.aem.context.AemContextImpl
 

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.
pageManager() - Method in class io.wcm.testing.mock.aem.context.AemContextImpl
 
plugin(ContextPlugin<T>...) - Method in class io.wcm.testing.mock.aem.junit.AemContextBuilder
 

R

registerDefaultServices() - Method in class io.wcm.testing.mock.aem.context.AemContextImpl
 
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.
resourceResolverType(ResourceResolverType...) - Method in class io.wcm.testing.mock.aem.junit.AemContextBuilder
 

S

setAttribute(String, Object) - Method in class io.wcm.testing.mock.aem.MockComponentContext
 
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
 
setResourceResolverType(ResourceResolverType) - Method in class io.wcm.testing.mock.aem.context.AemContextImpl
 
setUp() - Method in class io.wcm.testing.mock.aem.context.AemContextImpl
 

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
 

U

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.
A B C D G H I M N P R S T U 
Skip navigation links

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