|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TearDown
An object that can perform a tearDown()
operation.
Method Summary | |
---|---|
void |
tearDown()
Performs a single tear-down operation. |
Method Detail |
---|
void tearDown() throws java.lang.Exception
TearDownTestCase
and
TearDownTestCase
for example.
If you want to not fail a test when a TearDown
throws an
exception, you should implement a SloppyTearDown
instead.
Note that, for backwards compatibility, JUnit 3's
TearDownTestCase
currently does
not fail a test when an exception is thrown from one of its
TearDown
s, but this is subject to change. Also, Junit 4's
TearDownTestCase
will.
java.lang.Exception
- for any reason. TearDownTestCase
ensures that
any exception thrown will not interfere with other TearDown
operations.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |