Class RunOnceRule
- java.lang.Object
-
- org.apache.sling.testing.junit.rules.RunOnceRule
-
- All Implemented Interfaces:
org.junit.rules.TestRule
public class RunOnceRule extends Object implements org.junit.rules.TestRule
Allows wrapping a junitTestRule
that will be run only once. Once means once per class RunOnceRule being loaded
-
-
Constructor Summary
Constructors Constructor Description RunOnceRule(T rule)
Constructor*
-
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)
-