Class SlingTestContextProvider

java.lang.Object
org.apache.sling.junit.SlingTestContextProvider

public class SlingTestContextProvider extends Object
Provider of SlingTestContext that uses thread locals to provide per-testing thread contexts.
  • Constructor Details

    • SlingTestContextProvider

      public SlingTestContextProvider()
  • Method Details

    • getContext

      public static SlingTestContext getContext()
    • createContext

      public static SlingTestContext createContext()
    • deleteContext

      public static void deleteContext()
    • hasContext

      public static boolean hasContext()