Package com.google.common.testing
Interface TearDownAccepter
-
- All Known Implementing Classes:
TearDownStack
@Beta @DoNotMock("Implement with a lambda") @GwtCompatible public interface TearDownAccepter
Any object which can accept registrations ofTearDown
instances.- Since:
- 10.0
- Author:
- Kevin Bourrillion
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addTearDown(TearDown tearDown)
Registers a TearDown implementor which will be run after the test proper.
-
-
-
Method Detail
-
addTearDown
void addTearDown(TearDown tearDown)
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.
-
-