public class ConditionalIgnoreRule extends Object implements org.junit.rules.MethodRule, org.junit.rules.TestRule
| Modifier and Type | Class and Description |
|---|---|
static interface |
ConditionalIgnoreRule.Condition |
static interface |
ConditionalIgnoreRule.Ignore |
static class |
ConditionalIgnoreRule.IgnoreIsolated |
static class |
ConditionalIgnoreRule.IgnoreLongRunning |
static class |
ConditionalIgnoreRule.IgnoreWindows |
| Constructor and Description |
|---|
ConditionalIgnoreRule() |
| Modifier and Type | Method and 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 method,
Object fixtureTarget) |
protected void |
injectCondition(Class<?> type,
Method method,
Object target,
ConditionalIgnoreRule.Condition condition) |
protected ConditionalIgnoreRule.Condition |
newCondition(Class<?> type,
Method method,
Object target,
Class<? extends ConditionalIgnoreRule.Condition> conditionType) |
protected org.junit.runners.model.Statement |
shouldIgnore(org.junit.runners.model.Statement base,
org.junit.runner.Description description,
ConditionalIgnoreRule.Ignore ignore,
Class<?> type) |
protected org.junit.runners.model.Statement |
shouldIgnore(org.junit.runners.model.Statement base,
org.junit.runner.Description description,
ConditionalIgnoreRule.Ignore ignore,
Class<?> type,
Method method,
Object target) |
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base,
org.junit.runners.model.FrameworkMethod method,
Object fixtureTarget)
apply in interface org.junit.rules.MethodRulepublic org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description)
apply in interface org.junit.rules.TestRuleprotected org.junit.runners.model.Statement shouldIgnore(org.junit.runners.model.Statement base,
org.junit.runner.Description description,
ConditionalIgnoreRule.Ignore ignore,
Class<?> type)
protected org.junit.runners.model.Statement shouldIgnore(org.junit.runners.model.Statement base,
org.junit.runner.Description description,
ConditionalIgnoreRule.Ignore ignore,
Class<?> type,
Method method,
Object target)
protected ConditionalIgnoreRule.Condition newCondition(Class<?> type, Method method, Object target, Class<? extends ConditionalIgnoreRule.Condition> conditionType) throws Error
Errorprotected void injectCondition(Class<?> type, Method method, Object target, ConditionalIgnoreRule.Condition condition) throws SecurityException, Error
SecurityExceptionErrorCopyright © 2019 Nuxeo SA. All rights reserved.