|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.common.testing.junit4.TearDownMethodRule
public final class TearDownMethodRule
See TearDownTestCase.
| Field Summary | |
|---|---|
(package private) TearDownStack |
stack
|
| Constructor Summary | |
|---|---|
TearDownMethodRule()
|
|
| Method Summary | |
|---|---|
void |
addTearDown(TearDown tearDown)
Registers a TearDown implementor which will be run after the test execution. |
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runners.model.FrameworkMethod method,
java.lang.Object target)
Don't call this method directly -- it fullfils the MethodRule
interface. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
final TearDownStack stack
| Constructor Detail |
|---|
public TearDownMethodRule()
| Method Detail |
|---|
public final void addTearDown(TearDown tearDown)
addTearDown in interface TearDownAccepter
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base,
org.junit.runners.model.FrameworkMethod method,
java.lang.Object target)
MethodRule
interface.
apply in interface org.junit.rules.MethodRule
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||