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
public class CQRule extends Object implements org.junit.rules.TestRule
Base rule to be used on every test. It chains theSlingRule
.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.junit.rules.TestRule
cqRuleChain
org.apache.sling.testing.junit.rules.SlingRule
slingBaseRule
-
Constructor Summary
Constructors Constructor Description CQRule(org.apache.sling.testing.junit.rules.instance.Instance... instances)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.junit.runners.model.Statement
apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
-