Class TearDownStack

    • 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 interface TearDownAccepter
      • runTearDown

        public final void runTearDown()
        Causes teardown to execute.