Package org.apache.sling.junit
@Version("1.2.0")
package org.apache.sling.junit
-
ClassDescriptionUsed to make our BundleContext available to JUnit classes that need it but have no OSGi context.Renderer for our servlet output.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.Provides a Renderer to execute testsParse information from a request, to define which tests to run and which renderer to select.Provide test parameters (the "input map") and allow tests to provide additional metadata (in an "output map") about their results.Provider of
SlingTestContext
that uses thread locals to provide per-testing thread contexts.Process test objects, to handle annotations, etc.Used by theTestsManager
to select which tests to runService that gives access to JUnit test classesProvides tests, for example by scanning bundles, finding test resources in a content repository, etc.