Package org.apache.sling.junit
Class SlingTestContextProvider
- java.lang.Object
-
- org.apache.sling.junit.SlingTestContextProvider
-
public class SlingTestContextProvider extends java.lang.Object
Provider ofSlingTestContext
that uses thread locals to provide per-testing thread contexts.
-
-
Constructor Summary
Constructors Constructor Description SlingTestContextProvider()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SlingTestContext
createContext()
static void
deleteContext()
static SlingTestContext
getContext()
static boolean
hasContext()
-
-
-
Method Detail
-
getContext
public static SlingTestContext getContext()
-
createContext
public static SlingTestContext createContext()
-
deleteContext
public static void deleteContext()
-
hasContext
public static boolean hasContext()
-
-