com.atlassian.jira.webtest.webdriver.setup
Class RestoreOnceSplittablePredicate
java.lang.Object
com.atlassian.jira.webtest.webdriver.setup.RestoreOnceSplittablePredicate
- All Implemented Interfaces:
- com.google.common.base.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
Method Summary |
boolean |
apply(org.junit.runner.Description description)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.google.common.base.Predicate |
equals |
INSTANCE
public static final RestoreOnceSplittablePredicate INSTANCE
RestoreOnceSplittablePredicate
public RestoreOnceSplittablePredicate()
apply
public boolean apply(@Nullable
org.junit.runner.Description description)
- Specified by:
apply
in interface com.google.common.base.Predicate<org.junit.runner.Description>
Copyright © 2002-2014 Atlassian. All Rights Reserved.