Package com.adobe.cq.testing.junit.rules
Class CQRule
java.lang.Object
com.adobe.cq.testing.junit.rules.CQRule
- All Implemented Interfaces:
org.junit.rules.TestRule
Base rule to be used on every test.
It chains the
SlingRule
.-
Field Summary
Modifier and TypeFieldDescriptionprotected org.junit.rules.TestRule
final org.apache.sling.testing.junit.rules.SlingRule
-
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
-
slingBaseRule
public final org.apache.sling.testing.junit.rules.SlingRule slingBaseRule -
cqRuleChain
protected org.junit.rules.TestRule cqRuleChain
-
-
Constructor Details
-
CQRule
public CQRule(org.apache.sling.testing.junit.rules.instance.Instance... instances)
-
-
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
-