Class RestoreOnceSplittablePredicate
java.lang.Object
com.atlassian.jira.webtest.webdriver.setup.RestoreOnceSplittablePredicate
- All Implemented Interfaces:
com.google.common.base.Predicate<org.junit.runner.Description>,Predicate<org.junit.runner.Description>
public final class RestoreOnceSplittablePredicate
extends Object
implements com.google.common.base.Predicate<org.junit.runner.Description>
A predicate deciding whether a test class suite is splittable or not, basing on it being marked with the
RestoreOnce annotation. If a test is marked with
RestoreOnce, it is assumed not splittable, as
its single tests are operating on the same data and may be inter-dependent.- Since:
- v4.4
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
RestoreOnceSplittablePredicate
public RestoreOnceSplittablePredicate()
-
-
Method Details
-
apply
public boolean apply(@Nullable org.junit.runner.Description description) - Specified by:
applyin interfacecom.google.common.base.Predicate<org.junit.runner.Description>
-