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
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic classstatic @interfacestatic final classDeprecated.static final classstatic final class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.junit.runners.model.Statementapply(org.junit.runners.model.Statement base, org.junit.runner.Description description) org.junit.runners.model.Statementapply(org.junit.runners.model.Statement base, org.junit.runners.model.FrameworkMethod frameworkMethod, Object target) protected voidinjectCondition(Class<?> type, Method method, Object target, ConditionalIgnoreRule.Condition condition) protected ConditionalIgnoreRule.ConditioninstantiateCondition(Class<? extends ConditionalIgnoreRule.Condition> conditionType) protected ConditionalIgnoreRule.ConditionnewCondition(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:
applyin 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:
applyin 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)
-
IsolatedClassloaderdoesn't exist anymore