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
Modifier and TypeFieldDescriptionfinal org.apache.sling.testing.junit.rules.instance.Instance
ExistingInstance to reserve an Authorfinal CQClassRule
Granite rules to be executed at class levelprotected org.junit.rules.TestRule
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.junit.runners.model.Statement
apply
(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:
apply
in interfaceorg.junit.rules.TestRule
-