Package org.apache.sling.junit
Class SlingTestContextProvider
- java.lang.Object
-
- org.apache.sling.junit.SlingTestContextProvider
-
public class SlingTestContextProvider extends java.lang.ObjectProvider ofSlingTestContextthat 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 SlingTestContextcreateContext()static voiddeleteContext()static SlingTestContextgetContext()static booleanhasContext()
-
-
-
Method Detail
-
getContext
public static SlingTestContext getContext()
-
createContext
public static SlingTestContext createContext()
-
deleteContext
public static void deleteContext()
-
hasContext
public static boolean hasContext()
-
-