/apps/xxx
.ResourceBuilder
object for easily creating test content./content/xxx
.ResourceResolverType.RESOURCERESOLVER_MOCK
.adaptable
or null
if
the object cannot be adapted./libs/xxx
.ThreadsafeMockAdapterManagerWrapper
concept.HttpSession
implementation.SlingRepository
implementation.MimeTypeService
implementation.RequestDispatcher
when calling the getRequestDispatcher methods
on MockSlingHttpServletRequest
instances.RequestPathInfo
implementation.ServletContext
implementation.SlingHttpServletRequest
implementation.MockSlingHttpServletRequest.MockSlingHttpServletRequest(BundleContext)
and shutdown the bundle context after usage.MockSlingHttpServletRequest.MockSlingHttpServletRequest(ResourceResolver, BundleContext)
and shutdown the bundle context after usage.SlingHttpServletResponse
implementation.SlingScriptHelper
implementation.SlingSettingsService
.MockSling.newResourceResolver(ResourceResolverType, BundleContext)
and shutdown the bundle context after usage.MockSling.newResourceResolver(BundleContext)
and shutdown the bundle context after usage.MockSling.DEFAULT_RESOURCERESOLVER_TYPE
.MockSling.newResourceResolverFactory(ResourceResolverType, BundleContext)
and shutdown the bundle context after usage.MockSling.newResourceResolverFactory(BundleContext)
and shutdown the bundle context after usage.MockSling.newSlingScriptHelper(BundleContext)
and shutdown the bundle context after usage.MockSling.DEFAULT_RESOURCERESOLVER_TYPE
for the resource resolver.ResourceResolverType
types.adaptableClass
to adapterClass
and just returns the given value as result.adaptableClass
to adapterClass
and delegates the adapter mapping to the given adaptHandler
function.MockSling.DEFAULT_RESOURCERESOLVER_TYPE
.MockSling.DEFAULT_RESOURCERESOLVER_TYPE
.MockSling.DEFAULT_RESOURCERESOLVER_TYPE
.SlingContext
instances with different sets of parameters.SlingContext
JUnit rule.Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.