Package com.google.common.testing
Class TearDownStack
- java.lang.Object
-
- com.google.common.testing.TearDownStack
-
- All Implemented Interfaces:
TearDownAccepter
@GwtCompatible public class TearDownStack extends Object implements TearDownAccepter
- Since:
- 10.0
- Author:
- Kevin Bourrillion
-
-
Constructor Summary
Constructors Constructor Description TearDownStack()
TearDownStack(boolean suppressThrows)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTearDown(TearDown tearDown)
Registers a TearDown implementor which will be run after the test proper.void
runTearDown()
Causes teardown to execute.
-
-
-
Constructor Detail
-
TearDownStack
public TearDownStack()
-
TearDownStack
public TearDownStack(boolean suppressThrows)
-
-
Method Detail
-
addTearDown
public final void addTearDown(TearDown tearDown)
Description copied from interface:TearDownAccepter
Registers a TearDown implementor which will be run after the test proper.In JUnit4 language, that means as an
@After
.In JUnit3 language, that means during the
TestCase.tearDown()
step.- Specified by:
addTearDown
in interfaceTearDownAccepter
-
runTearDown
public final void runTearDown()
Causes teardown to execute.
-
-