Class SlingClassRule
- java.lang.Object
-
- org.apache.sling.testing.junit.rules.SlingClassRule
-
- All Implemented Interfaces:
org.junit.rules.TestRule
public class SlingClassRule extends Object implements org.junit.rules.TestRule
Sling Rule that wraps all the ClassRules, useful when running a Sling Integration Test. Can be used in any junit test class using @ClassRule annotation
-
-
Field Summary
Fields Modifier and Type Field Description FilterRule
filterRule
Rule to filter tests at class levelprotected org.junit.rules.TestRule
ruleChain
Main RuleChain describing the order of execution of all the rules
-
Constructor Summary
Constructors Constructor Description SlingClassRule()
-
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)
-
-
-
Field Detail
-
filterRule
public final FilterRule filterRule
Rule to filter tests at class level
-
ruleChain
protected org.junit.rules.TestRule ruleChain
Main RuleChain describing the order of execution of all the rules
-
-