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 Classes Modifier and Type Class Description static interface
ConditionalIgnoreRule.Condition
static class
ConditionalIgnoreRule.Feature
static interface
ConditionalIgnoreRule.Ignore
static class
ConditionalIgnoreRule.IgnoreIsolated
Deprecated.since 11.1,IsolatedClassloader
doesn't exist anymorestatic class
ConditionalIgnoreRule.IgnoreLongRunning
static class
ConditionalIgnoreRule.IgnoreWindows
-
Constructor Summary
Constructors Constructor Description ConditionalIgnoreRule()
-
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)
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)
-
-
-
Method Detail
-
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)
-
-