Package com.adobe.cq.testing.junit.rules
Class ClassRuleUtils
- java.lang.Object
-
- com.adobe.cq.testing.junit.rules.ClassRuleUtils
-
public class ClassRuleUtils extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.Logger
LOG
-
Constructor Summary
Constructors Constructor Description ClassRuleUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.sling.testing.junit.rules.instance.Instance
newInstanceRule()
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
-
-
-
Method Detail
-
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
-
-