Interface TearDownAccepter

All Known Implementing Classes:
TearDownStack

@DoNotMock("Implement with a lambda") @GwtCompatible @NullMarked public interface TearDownAccepter
Any object which can accept registrations of TearDown instances.
Since:
10.0
Author:
Kevin Bourrillion
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Registers a TearDown implementor which will be run after the test proper.
  • Method Details

    • 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.