public abstract class AbstractTestRule<C,M>
extends Object
implements org.junit.rules.TestRule
| Constructor and Description |
|---|
AbstractTestRule() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
afterClass(org.junit.runner.Description description,
C c) |
protected abstract void |
afterMethod(org.junit.runner.Description description,
M m,
Object target) |
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement statement,
org.junit.runner.Description description) |
protected abstract C |
beforeClass(org.junit.runner.Description description) |
protected abstract M |
beforeMethod(org.junit.runner.Description description,
Object target) |
protected org.junit.runners.model.Statement |
createClassStatement(org.junit.runners.model.Statement statement,
org.junit.runner.Description description) |
protected org.junit.runners.model.Statement |
createMethodStatement(org.junit.runners.model.Statement statement,
org.junit.runner.Description description) |
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement statement,
org.junit.runner.Description description)
apply in interface org.junit.rules.TestRuleprotected abstract void afterClass(org.junit.runner.Description description,
C c)
throws Throwable
Throwableprotected abstract void afterMethod(org.junit.runner.Description description,
M m,
Object target)
throws Throwable
Throwableprotected abstract C beforeClass(org.junit.runner.Description description) throws Throwable
Throwableprotected abstract M beforeMethod(org.junit.runner.Description description, Object target) throws Throwable
Throwableprotected org.junit.runners.model.Statement createClassStatement(org.junit.runners.model.Statement statement,
org.junit.runner.Description description)
protected org.junit.runners.model.Statement createMethodStatement(org.junit.runners.model.Statement statement,
org.junit.runner.Description description)