Package org.nuxeo.runtime.test.runner
Class ConditionalIgnoreRule
java.lang.Object
org.nuxeo.runtime.test.runner.ConditionalIgnoreRule
- All Implemented Interfaces:
org.junit.rules.MethodRule
,org.junit.rules.TestRule
public class ConditionalIgnoreRule
extends Object
implements org.junit.rules.TestRule, org.junit.rules.MethodRule
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static class
static @interface
static final class
Deprecated.static final class
static final class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.junit.runners.model.Statement
apply
(org.junit.runners.model.Statement base, org.junit.runner.Description description) org.junit.runners.model.Statement
apply
(org.junit.runners.model.Statement base, org.junit.runners.model.FrameworkMethod frameworkMethod, Object target) protected void
injectCondition
(Class<?> type, Method method, Object target, ConditionalIgnoreRule.Condition condition) protected ConditionalIgnoreRule.Condition
instantiateCondition
(Class<? extends ConditionalIgnoreRule.Condition> conditionType) protected ConditionalIgnoreRule.Condition
newCondition
(Class<?> type, Method method, Object target, Class<? extends ConditionalIgnoreRule.Condition> conditionType)
-
Constructor Details
-
ConditionalIgnoreRule
public ConditionalIgnoreRule()
-
-
Method Details
-
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description) - Specified by:
apply
in interfaceorg.junit.rules.TestRule
-
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runners.model.FrameworkMethod frameworkMethod, Object target) - Specified by:
apply
in interfaceorg.junit.rules.MethodRule
-
newCondition
protected ConditionalIgnoreRule.Condition newCondition(Class<?> type, Method method, Object target, Class<? extends ConditionalIgnoreRule.Condition> conditionType) -
instantiateCondition
protected ConditionalIgnoreRule.Condition instantiateCondition(Class<? extends ConditionalIgnoreRule.Condition> conditionType) -
injectCondition
protected void injectCondition(Class<?> type, Method method, Object target, ConditionalIgnoreRule.Condition condition)
-
IsolatedClassloader
doesn't exist anymore