Package com.adobe.cq.testing.junit.rules
Class CQAuthorClassRule
java.lang.Object
com.adobe.cq.testing.junit.rules.CQAuthorClassRule
- All Implemented Interfaces:
org.junit.rules.TestRule
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal org.apache.sling.testing.junit.rules.instance.InstanceExistingInstance to reserve an Authorfinal CQClassRuleGranite rules to be executed at class levelprotected org.junit.rules.TestRule -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.junit.runners.model.Statementapply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
-
Field Details
-
cqClassRule
Granite rules to be executed at class level -
authorRule
public final org.apache.sling.testing.junit.rules.instance.Instance authorRuleExistingInstance to reserve an Author -
ruleChain
protected org.junit.rules.TestRule ruleChain
-
-
Constructor Details
-
CQAuthorClassRule
public CQAuthorClassRule() -
CQAuthorClassRule
public CQAuthorClassRule(boolean forceBasicAuth)
-
-
Method Details
-
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description) - Specified by:
applyin interfaceorg.junit.rules.TestRule
-