@Beta @GwtCompatible public class TearDownStack extends Object implements TearDownAccepter
TearDownStack
contains a stack of TearDown
instances.Constructor and Description |
---|
TearDownStack() |
TearDownStack(boolean suppressThrows) |
Modifier and Type | Method and Description |
---|---|
void |
addTearDown(TearDown tearDown)
Registers a TearDown implementor which will be run after the test proper.
|
void |
runTearDown()
Causes teardown to execute.
|
public TearDownStack()
public TearDownStack(boolean suppressThrows)
public final void addTearDown(TearDown tearDown)
TearDownAccepter
In JUnit4 language, that means as an @After
.
In JUnit3 language, that means during the
TestCase.tearDown()
step.
addTearDown
in interface TearDownAccepter
public final void runTearDown()
Copyright © 2010-2015. All Rights Reserved.