| |
|
| org.apache.cactus.ServletTestCase org.apache.cactus.sample.servlet.unit.TestTearDownException
TestTearDownException | public class TestTearDownException extends ServletTestCase (Code) | | Test that tearDown() is called even when an exception
occurs during the test.
version: $Id: TestTearDownException.java 238816 2004-02-29 16:36:46Z vmassol $ |
Method Summary | |
public void | runBare() Intercepts running test cases to check for normal exceptions. | public void | tearDown() Verify that the tearDown() is always called even when there
is an exception raised during the test. | public void | testTearDown() Verify that the tearDown() is always called even when there
is an exception raised during the test. |
runBare | public void runBare()(Code) | | Intercepts running test cases to check for normal exceptions.
|
tearDown | public void tearDown()(Code) | | Verify that the tearDown() is always called even when there
is an exception raised during the test.
|
testTearDown | public void testTearDown() throws Exception(Code) | | Verify that the tearDown() is always called even when there
is an exception raised during the test.
exception: Exception - on test failure |
|
|
|