com.google.common.testing
Interface TearDownAccepter

All Known Implementing Classes:
TearDownStack

@Beta
public interface TearDownAccepter

Any object which can accept registrations of TearDown instances.

Since:
10.0
Author:
Kevin Bourrillion

Method Summary
 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.



Copyright © 2010-2011. All Rights Reserved.