Class ClassRuleUtils
java.lang.Object
com.adobe.cq.testing.junit.rules.ClassRuleUtils
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.sling.testing.junit.rules.instance.InstanceCreate a newInstanceobject depending on the default auth mechanismstatic org.apache.sling.testing.junit.rules.instance.InstancenewInstanceRule(boolean forceBasicAuth) Create a newInstanceobject depending on the default auth mechanism
-
Field Details
-
LOG
public static final org.slf4j.Logger LOG
-
-
Constructor Details
-
ClassRuleUtils
public ClassRuleUtils()
-
-
Method Details
-
newInstanceRule
public static org.apache.sling.testing.junit.rules.instance.Instance newInstanceRule(boolean forceBasicAuth) Create a newInstanceobject depending on the default auth mechanism- Parameters:
forceBasicAuth- set to true to always use basic auth- Returns:
- the instance object
-
newInstanceRule
public static org.apache.sling.testing.junit.rules.instance.Instance newInstanceRule()Create a newInstanceobject depending on the default auth mechanism- Returns:
- the instance object
-