Class TearDownStack
java.lang.Object
com.google.common.testing.TearDownStack
- All Implemented Interfaces:
TearDownAccepter
- Since:
- 10.0
- Author:
- Kevin Bourrillion
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal void
addTearDown
(TearDown tearDown) Registers a TearDown implementor which will be run after the test proper.final void
Causes teardown to execute.
-
Constructor Details
-
TearDownStack
public TearDownStack() -
TearDownStack
public TearDownStack(boolean suppressThrows)
-
-
Method Details
-
addTearDown
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.
-