public class ClassRuleUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
ClassRuleUtils() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.sling.testing.junit.rules.instance.Instance |
newInstanceRule()
Create a new
Instance object depending on the default auth mechanism |
static org.apache.sling.testing.junit.rules.instance.Instance |
newInstanceRule(boolean forceBasicAuth)
Create a new
Instance object depending on the default auth mechanism |
public static org.apache.sling.testing.junit.rules.instance.Instance newInstanceRule(boolean forceBasicAuth)
Instance object depending on the default auth mechanismforceBasicAuth - set to true to always use basic authpublic static org.apache.sling.testing.junit.rules.instance.Instance newInstanceRule()
Instance object depending on the default auth mechanismCopyright © 2022. All rights reserved.