Interface TearDownAccepter

  • All Known Implementing Classes:
    TearDownStack

    @Beta
    @DoNotMock("Implement with a lambda")
    @GwtCompatible
    public interface TearDownAccepter
    Any object which can accept registrations of TearDown instances.
    Since:
    10.0
    Author:
    Kevin Bourrillion
    • 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.