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 class |
ConditionalIgnoreRule.Feature |
static interface |
ConditionalIgnoreRule.Ignore |
static class |
ConditionalIgnoreRule.IgnoreIsolated |
static class |
ConditionalIgnoreRule.IgnoreLongRunning |
static class |
ConditionalIgnoreRule.IgnoreWindows |
static class |
ConditionalIgnoreRule.NXP10926H2Upgrade |
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 ConditionalIgnoreRule()
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.MethodRule
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
apply
in interface org.junit.rules.TestRule
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)
protected ConditionalIgnoreRule.Condition newCondition(Class<?> type, Method method, Object target, Class<? extends ConditionalIgnoreRule.Condition> conditionType) throws Error
Error
protected void injectCondition(Class<?> type, Method method, Object target, ConditionalIgnoreRule.Condition condition) throws SecurityException, Error
SecurityException
Error
Copyright © 2015 Nuxeo SA. All rights reserved.