public class ConditionalIgnoreRule
extends java.lang.Object
implements org.junit.rules.TestRule, java.io.Serializable
TestRule,
Description,
Statement,
ConditionalIgnore,
IgnoreCondition,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected static java.text.DateFormat |
DATE_FORMAT |
protected static java.lang.String |
DATE_FORMAT_PATTERN |
protected static java.lang.String |
DEFAULT_MESSAGE |
| 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) |
protected boolean |
evaluate(ConditionalIgnore conditionalIgnoreAnnotation,
org.junit.runner.Description description) |
void |
evaluate(org.junit.runners.model.Statement statement,
org.junit.runner.Description description) |
protected boolean |
evaluateCondition(java.lang.Class<? extends IgnoreCondition> ignoreConditionType,
org.junit.runner.Description description) |
protected boolean |
evaluateUntil(java.lang.String timestamp) |
protected java.lang.String |
format(java.lang.String message,
org.junit.runner.Description description) |
protected boolean |
isTest(org.junit.runner.Description description) |
protected org.junit.runners.model.Statement |
throwOnIgnoreTest(org.junit.runners.model.Statement statement,
org.junit.runner.Description description) |
protected static final java.lang.String DATE_FORMAT_PATTERN
protected static final java.lang.String DEFAULT_MESSAGE
protected static final java.text.DateFormat DATE_FORMAT
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description)
apply in interface org.junit.rules.TestRulepublic final void evaluate(org.junit.runners.model.Statement statement,
org.junit.runner.Description description)
throws java.lang.Throwable
java.lang.Throwableprotected org.junit.runners.model.Statement throwOnIgnoreTest(org.junit.runners.model.Statement statement,
org.junit.runner.Description description)
protected boolean isTest(org.junit.runner.Description description)
protected java.lang.String format(java.lang.String message,
org.junit.runner.Description description)
protected boolean evaluate(ConditionalIgnore conditionalIgnoreAnnotation, org.junit.runner.Description description)
protected boolean evaluateCondition(java.lang.Class<? extends IgnoreCondition> ignoreConditionType, org.junit.runner.Description description)
protected boolean evaluateUntil(java.lang.String timestamp)