Package com.adobe.cq.testing.junit.rules
Class ClassRuleUtils
java.lang.Object
com.adobe.cq.testing.junit.rules.ClassRuleUtils
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.sling.testing.junit.rules.instance.Instance
Create a newInstance
object depending on the default auth mechanismstatic org.apache.sling.testing.junit.rules.instance.Instance
newInstanceRule
(boolean forceBasicAuth) Create a newInstance
object 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 newInstance
object 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 newInstance
object depending on the default auth mechanism- Returns:
- the instance object
-