| |
|
| org.apache.cactus.FilterTestCase org.apache.cactus.sample.servlet.TestSampleFilter
TestSampleFilter | public class TestSampleFilter extends FilterTestCase (Code) | | Tests of the SampleFilter filter class.
version: $Id: TestSampleFilter.java 238816 2004-02-29 16:36:46Z vmassol $ |
Method Summary | |
public void | endDoFilterOK(WebResponse theResponse) Test that the filter does correctly add a header and footer to
any requets it is serving. | public void | testAddFooterParamNotDefined() Test that adding a footer to the output stream is working fine
(i.e. | public void | testAddFooterParamOK() Test that adding a footer to the output stream is working fine when
a footer parameter is defined. | public void | testAddHeaderParamNotDefined() Test that adding a header to the output stream is working fine
(i.e. | public void | testAddHeaderParamOK() Test that adding a header to the output stream is working fine when
a header parameter is defined. | public void | testDoFilterOK() Test that the filter does correctly add a header and footer to
any requets it is serving. |
endDoFilterOK | public void endDoFilterOK(WebResponse theResponse)(Code) | | Test that the filter does correctly add a header and footer to
any requets it is serving.
Parameters: theResponse - the response from the server side. |
testAddFooterParamNotDefined | public void testAddFooterParamNotDefined() throws ServletException, IOException(Code) | | Test that adding a footer to the output stream is working fine
(i.e. nothing gets written) when no footer parameter is defined.
exception: ServletException - on test failure exception: IOException - on test failure |
testAddHeaderParamNotDefined | public void testAddHeaderParamNotDefined() throws ServletException, IOException(Code) | | Test that adding a header to the output stream is working fine
(i.e. nothing gets written) when no header parameter is defined.
exception: ServletException - on test failure exception: IOException - on test failure |
|
|
|