Skip navigation links
A B C D E F G H I J L O P R S T W X 

A

acceptTestName(String) - Method in class org.apache.sling.junit.RequestParser
 
acceptTestName(String) - Method in interface org.apache.sling.junit.TestSelector
If true, testName will be selected
activate(ComponentContext) - Method in class org.apache.sling.junit.impl.AnnotationsProcessor
 
activate(ComponentContext) - Method in class org.apache.sling.junit.impl.BundleTestsProvider
 
activate(ComponentContext) - Method in class org.apache.sling.junit.impl.RendererSelectorImpl
 
activate(ComponentContext) - Method in class org.apache.sling.junit.impl.servlet.JacocoServlet
 
activate(ComponentContext) - Method in class org.apache.sling.junit.impl.servlet.JUnitServlet
 
activate(ComponentContext) - Method in class org.apache.sling.junit.impl.servlet.SlingJUnitServlet
 
activate(BundleContext, Map<String, ?>) - Method in class org.apache.sling.junit.impl.servlet.TestLogServlet
 
activate(ComponentContext) - Method in class org.apache.sling.junit.impl.TestsManagerImpl
 
Activator - Class in org.apache.sling.junit
Used to make our BundleContext available to JUnit classes that need it but have no OSGi context.
Activator() - Constructor for class org.apache.sling.junit.Activator
 
AnnotationsProcessor - Class in org.apache.sling.junit.impl
Processor for annotations in test classes
AnnotationsProcessor() - Constructor for class org.apache.sling.junit.impl.AnnotationsProcessor
 
appliesTo(TestSelector) - Method in class org.apache.sling.junit.impl.servlet.HtmlRenderer
 
appliesTo(TestSelector) - Method in class org.apache.sling.junit.impl.servlet.JsonRenderer
 
appliesTo(TestSelector) - Method in class org.apache.sling.junit.impl.servlet.JUnitResultRenderer
 
appliesTo(TestSelector) - Method in class org.apache.sling.junit.impl.servlet.PlainTextRenderer
 
appliesTo(TestSelector) - Method in class org.apache.sling.junit.impl.servlet.XmlRenderer
 
appliesTo(TestSelector) - Method in interface org.apache.sling.junit.Renderer
True if this renderer applies to supplied request
apply(Statement, Description) - Method in class org.apache.sling.junit.rules.Service
 
AutoDetect - Class in org.apache.sling.junit.annotations
Placeholder class for default value of annotation properties with "auto detect" capabilities.

B

bundleChanged(BundleEvent) - Method in class org.apache.sling.junit.impl.BundleTestsProvider
Called when a bundle changes state
BundleTestsProvider - Class in org.apache.sling.junit.impl
A TestProvider that gets test classes from bundles that have a Sling-Test-Regexp header and corresponding exported classes.
BundleTestsProvider() - Constructor for class org.apache.sling.junit.impl.BundleTestsProvider
 

C

classUnderTest - Variable in class org.apache.sling.junit.rules.TeleporterRule
 
cleanup() - Method in class org.apache.sling.junit.impl.servlet.HtmlRenderer
 
cleanup() - Method in class org.apache.sling.junit.impl.servlet.JsonRenderer
 
cleanup() - Method in class org.apache.sling.junit.impl.servlet.JUnitResultRenderer
 
cleanup() - Method in class org.apache.sling.junit.impl.servlet.PlainTextRenderer
 
cleanup() - Method in class org.apache.sling.junit.impl.servlet.XmlRenderer
 
cleanup() - Method in interface org.apache.sling.junit.Renderer
Called once rendering is done
clearCaches() - Method in class org.apache.sling.junit.impl.TestsManagerImpl
 
clearCaches() - Method in interface org.apache.sling.junit.TestsManager
Clear our internal caches.
CLIENT_CLASS - Static variable in class org.apache.sling.junit.rules.TeleporterRule
Name of the implementation class to use when running on the client side
createContext() - Static method in class org.apache.sling.junit.SlingTestContextProvider
 
createInstance(Class<T>, String) - Static method in class org.apache.sling.junit.rules.TeleporterRule
 
createRenderer() - Method in class org.apache.sling.junit.impl.servlet.HtmlRenderer
 
createRenderer() - Method in class org.apache.sling.junit.impl.servlet.JsonRenderer
 
createRenderer() - Method in class org.apache.sling.junit.impl.servlet.JUnitResultRenderer
 
createRenderer() - Method in class org.apache.sling.junit.impl.servlet.PlainTextRenderer
 
createRenderer() - Method in class org.apache.sling.junit.impl.servlet.XmlRenderer
 
createRenderer() - Method in interface org.apache.sling.junit.RendererFactory
 
createTest() - Method in class org.apache.sling.junit.annotations.SlingAnnotationsTestRunner
Deprecated.
 
createTestClass(String) - Method in class org.apache.sling.junit.impl.BundleTestsProvider
 
createTestClass(String) - Method in interface org.apache.sling.junit.TestsProvider
Create a test class to execute the specified test.
CSS - Static variable in class org.apache.sling.junit.impl.servlet.ServletProcessor
 
customize() - Method in class org.apache.sling.junit.rules.TeleporterRule
Use a Customizer, if one was defined, to customize this Rule
customize(TeleporterRule, String) - Method in interface org.apache.sling.junit.rules.TeleporterRule.Customizer
 
CUSTOMIZER_PATTERN - Static variable in class org.apache.sling.junit.rules.TeleporterRule
Class name pattern for Customizers

D

deactivate(ComponentContext) - Method in class org.apache.sling.junit.impl.AnnotationsProcessor
 
deactivate(ComponentContext) - Method in class org.apache.sling.junit.impl.BundleTestsProvider
 
deactivate(ComponentContext) - Method in class org.apache.sling.junit.impl.RendererSelectorImpl
 
deactivate(ComponentContext) - Method in class org.apache.sling.junit.impl.servlet.JacocoServlet
 
deactivate(ComponentContext) - Method in class org.apache.sling.junit.impl.servlet.JUnitServlet
 
deactivate(ComponentContext) - Method in class org.apache.sling.junit.impl.servlet.SlingJUnitServlet
 
deactivate() - Method in class org.apache.sling.junit.impl.servlet.TestLogServlet
 
deactivate(ComponentContext) - Method in class org.apache.sling.junit.impl.TestsManagerImpl
 
deleteContext() - Static method in class org.apache.sling.junit.SlingTestContextProvider
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.apache.sling.junit.impl.servlet.JacocoServlet
Get the jacoco execution data without resetting the agent
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.apache.sling.junit.impl.servlet.JUnitServlet
 
doGet(HttpServletRequest, HttpServletResponse, String) - Method in class org.apache.sling.junit.impl.servlet.ServletProcessor
GET request lists available tests
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.apache.sling.junit.impl.servlet.SlingJUnitServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.apache.sling.junit.impl.servlet.TestLogServlet
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class org.apache.sling.junit.impl.servlet.JacocoServlet
Get the jacoco execution data and reset the agent.
doPost(HttpServletRequest, HttpServletResponse) - Method in class org.apache.sling.junit.impl.servlet.JUnitServlet
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class org.apache.sling.junit.impl.servlet.ServletProcessor
POST request executes tests
doPost(HttpServletRequest, HttpServletResponse) - Method in class org.apache.sling.junit.impl.servlet.SlingJUnitServlet
 

E

embeddedResourcePaths - Variable in class org.apache.sling.junit.rules.TeleporterRule
 
EXEC_PATH - Static variable in class org.apache.sling.junit.impl.servlet.JacocoServlet
Requests ending with this subpath send the jacoco data
executeTests(Collection<String>, Renderer, TestSelector) - Method in class org.apache.sling.junit.impl.TestsManagerImpl
 
executeTests(Collection<String>, Renderer, TestSelector) - Method in interface org.apache.sling.junit.TestsManager
Execute tests and report results using supplied Renderer - does NOT call setup or cleanup on renderer.
EXPLAIN - Static variable in class org.apache.sling.junit.impl.servlet.JacocoServlet
 
EXTENSION - Static variable in class org.apache.sling.junit.impl.servlet.HtmlRenderer
 
EXTENSION - Static variable in class org.apache.sling.junit.impl.servlet.JsonRenderer
 
EXTENSION - Static variable in class org.apache.sling.junit.impl.servlet.JUnitResultRenderer
 
EXTENSION - Static variable in class org.apache.sling.junit.impl.servlet.PlainTextRenderer
 
EXTENSION - Static variable in class org.apache.sling.junit.impl.servlet.SlingJUnitServlet
 
EXTENSION - Static variable in class org.apache.sling.junit.impl.servlet.XmlRenderer
This renderer's extension

F

FORCE_RELOAD_PARAM - Static variable in class org.apache.sling.junit.impl.servlet.ServletProcessor
 
forClass(Class<?>) - Static method in class org.apache.sling.junit.rules.TeleporterRule
Build a TeleporterRule for the given class, with no client setup options
forClass(Class<?>, String) - Static method in class org.apache.sling.junit.rules.TeleporterRule
Build a TeleporterRule for the given class, with optional clientSetupOptions.

G

get() - Method in class org.apache.sling.junit.rules.OSGiService
 
getBundleContext() - Static method in class org.apache.sling.junit.Activator
 
getContext() - Static method in class org.apache.sling.junit.SlingTestContextProvider
 
getDocumentBuilder() - Static method in class org.apache.sling.junit.impl.servlet.XmlRenderer
Create a DocumentBuilder.
getException(Throwable) - Static method in class org.apache.sling.junit.impl.servlet.XmlRenderer
Convert a Throwable object to its stack trace representation
getExtension() - Method in class org.apache.sling.junit.impl.servlet.HtmlRenderer
 
getExtension() - Method in class org.apache.sling.junit.impl.servlet.JsonRenderer
 
getExtension() - Method in class org.apache.sling.junit.impl.servlet.JUnitResultRenderer
 
getExtension() - Method in class org.apache.sling.junit.impl.servlet.PlainTextRenderer
 
getExtension() - Method in class org.apache.sling.junit.impl.servlet.XmlRenderer
 
getExtension() - Method in interface org.apache.sling.junit.Renderer
Return the extension that triggers this renderer
getExtension() - Method in class org.apache.sling.junit.RequestParser
 
getExtension() - Method in interface org.apache.sling.junit.TestSelector
Return the extension used to render results
getMethodName() - Method in class org.apache.sling.junit.RequestParser
 
getRenderer(TestSelector) - Method in class org.apache.sling.junit.impl.RendererSelectorImpl
 
getRenderer(TestSelector) - Method in interface org.apache.sling.junit.RendererSelector
Select a Renderer for supplied TestSelector
getRenderers() - Method in class org.apache.sling.junit.impl.RendererSelectorImpl
 
getRenderers() - Method in interface org.apache.sling.junit.RendererSelector
Return all available Renderers
getRunListener() - Method in class org.apache.sling.junit.impl.servlet.HtmlRenderer
 
getRunListener() - Method in class org.apache.sling.junit.impl.servlet.JsonRenderer
 
getRunListener() - Method in class org.apache.sling.junit.impl.servlet.JUnitResultRenderer
 
getRunListener() - Method in class org.apache.sling.junit.impl.servlet.PlainTextRenderer
 
getRunListener() - Method in class org.apache.sling.junit.impl.servlet.XmlRenderer
 
getRunListener() - Method in interface org.apache.sling.junit.Renderer
Provide a RunListener for JUnit tests
getSelectedTestMethodName() - Method in class org.apache.sling.junit.RequestParser
 
getSelectedTestMethodName() - Method in interface org.apache.sling.junit.TestSelector
If not null, only test methods having this name are executed
getService(Class<T>) - Method in class org.apache.sling.junit.rules.Service
Return the service object.
getService(Class<T>) - Method in class org.apache.sling.junit.rules.TeleporterRule
If running on the server side, get an OSGi service
getService(Class<T>, String) - Method in class org.apache.sling.junit.rules.TeleporterRule
If running on the server side, get an OSGi service specified by an LDAP service filter
getServicePid() - Method in class org.apache.sling.junit.impl.BundleTestsProvider
 
getServicePid() - Method in interface org.apache.sling.junit.TestsProvider
Return this service's PID, client might use it later to instantiate a specific test.
getServletPath(ComponentContext) - Method in class org.apache.sling.junit.impl.servlet.JacocoServlet
Return the path at which to mount this servlet, or null if it must not be mounted.
getStringFromElement(Element) - Static method in class org.apache.sling.junit.impl.servlet.XmlRenderer
Convert an Element to a String representation
getTestClass(String) - Method in class org.apache.sling.junit.impl.TestsManagerImpl
 
getTestClass(String) - Method in interface org.apache.sling.junit.TestsManager
Instantiate test class for specified test
getTestExecutionPath(HttpServletRequest, TestSelector, String) - Method in class org.apache.sling.junit.impl.servlet.ServletProcessor
Return path to which to POST to execute specified test
getTestNames() - Method in class org.apache.sling.junit.impl.BundleTestsProvider
 
getTestNames(TestSelector) - Method in class org.apache.sling.junit.impl.TestsManagerImpl
 
getTestNames(TestSelector) - Method in interface org.apache.sling.junit.TestsManager
Return the names of available tests
getTestNames() - Method in interface org.apache.sling.junit.TestsProvider
Return the list of available tests
getTestSelectionPath(HttpServletRequest) - Method in class org.apache.sling.junit.impl.servlet.ServletProcessor
Return subpath to use for selecting tests
getTestSelectorString() - Method in class org.apache.sling.junit.RequestParser
 
getTestSelectorString() - Method in interface org.apache.sling.junit.TestSelector
Return the String used to select tests

H

hasContext() - Static method in class org.apache.sling.junit.SlingTestContextProvider
 
HtmlFilter - Class in org.apache.sling.junit.impl.servlet
Simple HTML output filtering
HtmlFilter() - Constructor for class org.apache.sling.junit.impl.servlet.HtmlFilter
 
HtmlRenderer - Class in org.apache.sling.junit.impl.servlet
HTML renderer for JUnit servlet
HtmlRenderer() - Constructor for class org.apache.sling.junit.impl.servlet.HtmlRenderer
 

I

info(String, String) - Method in class org.apache.sling.junit.impl.servlet.HtmlRenderer
 
info(String, String) - Method in class org.apache.sling.junit.impl.servlet.JsonRenderer
 
info(String, String) - Method in class org.apache.sling.junit.impl.servlet.JUnitResultRenderer
 
info(String, String) - Method in class org.apache.sling.junit.impl.servlet.PlainTextRenderer
 
info(String, String) - Method in class org.apache.sling.junit.impl.servlet.XmlRenderer
 
info(String, String) - Method in interface org.apache.sling.junit.Renderer
Render general information
INFO_SUBTYPE_KEY - Static variable in class org.apache.sling.junit.impl.servlet.JsonRenderer
 
INFO_TYPE_KEY - Static variable in class org.apache.sling.junit.impl.servlet.JsonRenderer
 
input() - Method in class org.apache.sling.junit.SlingTestContext
 
isServerSide() - Static method in class org.apache.sling.junit.rules.TeleporterRule
True if running on the server-side.

J

JacocoServlet - Class in org.apache.sling.junit.impl.servlet
This servlet exposes JaCoCo code coverage data over HTTP.
JacocoServlet() - Constructor for class org.apache.sling.junit.impl.servlet.JacocoServlet
 
JsonRenderer - Class in org.apache.sling.junit.impl.servlet
Json renderer for JUnit servlet
JsonRenderer() - Constructor for class org.apache.sling.junit.impl.servlet.JsonRenderer
 
JUnitResultRenderer - Class in org.apache.sling.junit.impl.servlet
Renderer for Sling JUnit server-side testing, which renders the serialized JUnit Result object.
JUnitResultRenderer() - Constructor for class org.apache.sling.junit.impl.servlet.JUnitResultRenderer
 
JUnitServlet - Class in org.apache.sling.junit.impl.servlet
Simple test runner servlet
JUnitServlet() - Constructor for class org.apache.sling.junit.impl.servlet.JUnitServlet
 

L

lastModified() - Method in class org.apache.sling.junit.impl.BundleTestsProvider
 
lastModified() - Method in interface org.apache.sling.junit.TestsProvider
Return the timestamp at which our list of tests was last modified
link(String, String, String) - Method in class org.apache.sling.junit.impl.servlet.HtmlRenderer
 
link(String, String, String) - Method in class org.apache.sling.junit.impl.servlet.JsonRenderer
 
link(String, String, String) - Method in class org.apache.sling.junit.impl.servlet.JUnitResultRenderer
 
link(String, String, String) - Method in class org.apache.sling.junit.impl.servlet.PlainTextRenderer
 
link(String, String, String) - Method in class org.apache.sling.junit.impl.servlet.XmlRenderer
 
link(String, String, String) - Method in interface org.apache.sling.junit.Renderer
Render a link to specified URL using specified HTTP method
list(String, Collection<String>) - Method in class org.apache.sling.junit.impl.servlet.HtmlRenderer
 
list(String, Collection<String>) - Method in class org.apache.sling.junit.impl.servlet.JsonRenderer
 
list(String, Collection<String>) - Method in class org.apache.sling.junit.impl.servlet.JUnitResultRenderer
 
list(String, Collection<String>) - Method in class org.apache.sling.junit.impl.servlet.PlainTextRenderer
 
list(String, Collection<String>) - Method in class org.apache.sling.junit.impl.servlet.XmlRenderer
 
list(String, Collection<String>) - Method in interface org.apache.sling.junit.Renderer
Render a list of things
listTests(Collection<String>, Renderer) - Method in class org.apache.sling.junit.impl.TestsManagerImpl
 
listTests(Collection<String>, Renderer) - Method in interface org.apache.sling.junit.TestsManager
List tests using supplied Renderer - does NOT call setup or cleanup on renderer.

O

ofClass(Class<T>) - Static method in class org.apache.sling.junit.rules.OSGiService
 
org.apache.sling.junit - package org.apache.sling.junit
 
org.apache.sling.junit.annotations - package org.apache.sling.junit.annotations
 
org.apache.sling.junit.impl - package org.apache.sling.junit.impl
 
org.apache.sling.junit.impl.servlet - package org.apache.sling.junit.impl.servlet
 
org.apache.sling.junit.rules - package org.apache.sling.junit.rules
 
OSGiService<T> - Class in org.apache.sling.junit.rules
Improved variant of the Service class that uses generics.
output() - Method in class org.apache.sling.junit.SlingTestContext
 

P

PlainTextRenderer - Class in org.apache.sling.junit.impl.servlet
 
PlainTextRenderer() - Constructor for class org.apache.sling.junit.impl.servlet.PlainTextRenderer
 
process(Object) - Method in class org.apache.sling.junit.impl.AnnotationsProcessor
Process annotations on the test object
process(Object) - Method in interface org.apache.sling.junit.TestObjectProcessor
 

R

Renderer - Interface in org.apache.sling.junit
Renderer for our servlet output.
RendererFactory - Interface in org.apache.sling.junit
The original Renderer leads to non-reentrant services - this allows them to create a fresh Renderer that's never reused, as a workaround to avoid having to break the original Renderer contract.
RendererSelector - Interface in org.apache.sling.junit
Provides a Renderer to execute tests
RendererSelectorImpl - Class in org.apache.sling.junit.impl
Default RendererSelector
RendererSelectorImpl() - Constructor for class org.apache.sling.junit.impl.RendererSelectorImpl
 
RequestParser - Class in org.apache.sling.junit
Parse information from a request, to define which tests to run and which renderer to select.
RequestParser(String) - Constructor for class org.apache.sling.junit.RequestParser
Parse subpath, which is in the form TEST_SELECTOR/TEST_METHOD.EXTENSION or TEST_SELECTOR.EXTENSION

S

Service - Class in org.apache.sling.junit.rules
Allows a test class to obtain a reference to an OSGi service.
Service(Class<?>) - Constructor for class org.apache.sling.junit.rules.Service
 
ServletProcessor - Class in org.apache.sling.junit.impl.servlet
 
ServletProcessor(TestsManager, RendererSelector) - Constructor for class org.apache.sling.junit.impl.servlet.ServletProcessor
 
setClassUnderTest(Class<?>) - Method in class org.apache.sling.junit.rules.TeleporterRule
 
setup(HttpServletResponse, String) - Method in class org.apache.sling.junit.impl.servlet.HtmlRenderer
 
setup(HttpServletResponse, String) - Method in class org.apache.sling.junit.impl.servlet.JsonRenderer
 
setup(HttpServletResponse, String) - Method in class org.apache.sling.junit.impl.servlet.JUnitResultRenderer
 
setup(HttpServletResponse, String) - Method in class org.apache.sling.junit.impl.servlet.PlainTextRenderer
 
setup(HttpServletResponse, String) - Method in class org.apache.sling.junit.impl.servlet.XmlRenderer
 
setup(HttpServletResponse, String) - Method in interface org.apache.sling.junit.Renderer
Called first to setup rendering
SLING_TEST_REGEXP - Static variable in class org.apache.sling.junit.impl.BundleTestsProvider
 
SlingAnnotationsTestRunner - Class in org.apache.sling.junit.annotations
Deprecated.
- the {#link TeleporterRule} is a much simpler way of executing server-side tests, including OSGi service injection.
SlingAnnotationsTestRunner(Class<?>) - Constructor for class org.apache.sling.junit.annotations.SlingAnnotationsTestRunner
Deprecated.
 
SlingJUnitServlet - Class in org.apache.sling.junit.impl.servlet
Alternate entry point for testing, that uses the Sling request/response cycle.
SlingJUnitServlet() - Constructor for class org.apache.sling.junit.impl.servlet.SlingJUnitServlet
 
SlingTestContext - Class in org.apache.sling.junit
Provide test parameters (the "input map") and allow tests to provide additional metadata (in an "output map") about their results.
SlingTestContext() - Constructor for class org.apache.sling.junit.SlingTestContext
 
SlingTestContextProvider - Class in org.apache.sling.junit
Provider of SlingTestContext that uses thread locals to provide per-testing thread contexts.
SlingTestContextProvider() - Constructor for class org.apache.sling.junit.SlingTestContextProvider
 
start(BundleContext) - Method in class org.apache.sling.junit.Activator
 
stop(BundleContext) - Method in class org.apache.sling.junit.Activator
 

T

TeleporterRule - Class in org.apache.sling.junit.rules
JUnit Rule used to teleport a server-side test to a Sling instance to execute it there.
TeleporterRule() - Constructor for class org.apache.sling.junit.rules.TeleporterRule
Meant to be instantiated via TeleporterRule.forClass(java.lang.Class<?>)
TeleporterRule.Customizer - Interface in org.apache.sling.junit.rules
Customizer is used client-side to setup the server URL and other parameters
TEST_CLASS - Static variable in class org.apache.sling.junit.impl.servlet.TestLogServlet
 
TEST_METADATA - Static variable in class org.apache.sling.junit.impl.servlet.JsonRenderer
 
TEST_NAME - Static variable in class org.apache.sling.junit.impl.servlet.TestLogServlet
 
testAssumptionFailure(Failure) - Method in class org.apache.sling.junit.impl.TestContextRunListenerWrapper
 
TestContextRunListenerWrapper - Class in org.apache.sling.junit.impl
 
testFailure(Failure) - Method in class org.apache.sling.junit.impl.servlet.HtmlRenderer
 
testFailure(Failure) - Method in class org.apache.sling.junit.impl.servlet.JsonRenderer
 
testFailure(Failure) - Method in class org.apache.sling.junit.impl.servlet.PlainTextRenderer
 
testFailure(Failure) - Method in class org.apache.sling.junit.impl.servlet.XmlRenderer
 
testFailure(Failure) - Method in class org.apache.sling.junit.impl.TestContextRunListenerWrapper
 
testFinished(Description) - Method in class org.apache.sling.junit.impl.servlet.HtmlRenderer
 
testFinished(Description) - Method in class org.apache.sling.junit.impl.servlet.JsonRenderer
 
testFinished(Description) - Method in class org.apache.sling.junit.impl.servlet.PlainTextRenderer
 
testFinished(Description) - Method in class org.apache.sling.junit.impl.servlet.XmlRenderer
 
testFinished(Description) - Method in class org.apache.sling.junit.impl.TestContextRunListenerWrapper
 
testIgnored(Description) - Method in class org.apache.sling.junit.impl.servlet.HtmlRenderer
 
testIgnored(Description) - Method in class org.apache.sling.junit.impl.servlet.PlainTextRenderer
 
testIgnored(Description) - Method in class org.apache.sling.junit.impl.servlet.XmlRenderer
 
testIgnored(Description) - Method in class org.apache.sling.junit.impl.TestContextRunListenerWrapper
 
TestLogServlet - Class in org.apache.sling.junit.impl.servlet
 
TestLogServlet() - Constructor for class org.apache.sling.junit.impl.servlet.TestLogServlet
 
TestObjectProcessor - Interface in org.apache.sling.junit
Process test objects, to handle annotations, etc.
TestReference - Annotation Type in org.apache.sling.junit.annotations
Deprecated.
- the {#link TeleporterRule} is a much simpler way of executing server-side tests, including OSGi service injection.
testRunFinished(Result) - Method in class org.apache.sling.junit.impl.servlet.HtmlRenderer
 
testRunFinished(Result) - Method in class org.apache.sling.junit.impl.servlet.JsonRenderer
 
testRunFinished(Result) - Method in class org.apache.sling.junit.impl.servlet.JUnitResultRenderer
 
testRunFinished(Result) - Method in class org.apache.sling.junit.impl.servlet.PlainTextRenderer
 
testRunFinished(Result) - Method in class org.apache.sling.junit.impl.servlet.XmlRenderer
 
testRunFinished(Result) - Method in class org.apache.sling.junit.impl.TestContextRunListenerWrapper
 
testRunStarted(Description) - Method in class org.apache.sling.junit.impl.servlet.HtmlRenderer
 
testRunStarted(Description) - Method in class org.apache.sling.junit.impl.servlet.PlainTextRenderer
 
testRunStarted(Description) - Method in class org.apache.sling.junit.impl.servlet.TestLogServlet
 
testRunStarted(Description) - Method in class org.apache.sling.junit.impl.servlet.XmlRenderer
 
testRunStarted(Description) - Method in class org.apache.sling.junit.impl.TestContextRunListenerWrapper
 
TestSelector - Interface in org.apache.sling.junit
Used by the TestsManager to select which tests to run
TestsManager - Interface in org.apache.sling.junit
Service that gives access to JUnit test classes
TestsManagerImpl - Class in org.apache.sling.junit.impl
 
TestsManagerImpl() - Constructor for class org.apache.sling.junit.impl.TestsManagerImpl
 
TestsProvider - Interface in org.apache.sling.junit
Provides tests, for example by scanning bundles, finding test resources in a content repository, etc.
testStarted(Description) - Method in class org.apache.sling.junit.impl.servlet.HtmlRenderer
 
testStarted(Description) - Method in class org.apache.sling.junit.impl.servlet.JsonRenderer
 
testStarted(Description) - Method in class org.apache.sling.junit.impl.servlet.PlainTextRenderer
 
testStarted(Description) - Method in class org.apache.sling.junit.impl.servlet.XmlRenderer
 
testStarted(Description) - Method in class org.apache.sling.junit.impl.TestContextRunListenerWrapper
 
title(int, String) - Method in class org.apache.sling.junit.impl.servlet.HtmlRenderer
 
title(int, String) - Method in class org.apache.sling.junit.impl.servlet.JsonRenderer
 
title(int, String) - Method in class org.apache.sling.junit.impl.servlet.JUnitResultRenderer
 
title(int, String) - Method in class org.apache.sling.junit.impl.servlet.PlainTextRenderer
 
title(int, String) - Method in class org.apache.sling.junit.impl.servlet.XmlRenderer
 
title(int, String) - Method in interface org.apache.sling.junit.Renderer
Render a title of a specified hierarchical level
toString() - Method in class org.apache.sling.junit.impl.BundleTestsProvider
 
toString() - Method in class org.apache.sling.junit.RequestParser
 

W

waitForSystemStartup() - Static method in class org.apache.sling.junit.impl.TestsManagerImpl
 
withResources(String...) - Method in class org.apache.sling.junit.rules.TeleporterRule
Tell the concrete teleporter to embed resources, based on their path, in the test bundle.

X

XmlRenderer - Class in org.apache.sling.junit.impl.servlet
XML renderer for JUnit servlet
XmlRenderer() - Constructor for class org.apache.sling.junit.impl.servlet.XmlRenderer
 
A B C D E F G H I J L O P R S T W X 
Skip navigation links

Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.