public class FilterTestCase extends AbstractCactusTestCase implements CactusTestCase
FilterConfig and FilterChain objects) must
subclass this class.| Modifier and Type | Field and Description |
|---|---|
FilterConfigWrapper |
config
Valid
FilterConfig object that you can access from
the testXXX(), setUp and
tearDown() methods. |
javax.servlet.FilterChain |
filterChain
Valid
FilterChain object that you can access from
the testXXX(), setUp and
tearDown() methods. |
HttpServletRequestWrapper |
request
Valid
HttpServletRequest object that you can access from
the testXXX(), setUp and
tearDown() methods. |
javax.servlet.http.HttpServletResponse |
response
Valid
HttpServletResponse object that you can access from
the testXXX(), setUp and
tearDown() methods. |
| Constructor and Description |
|---|
FilterTestCase() |
FilterTestCase(java.lang.String theName) |
FilterTestCase(java.lang.String theName,
junit.framework.Test theTest) |
| Modifier and Type | Method and Description |
|---|---|
protected ProtocolHandler |
createProtocolHandler()
Create a protocol handler instance that will be used to connect to the
server side.
|
runBare, runBareServercountTestCases, createResult, getName, run, run, runTest, setName, setUp, tearDown, toStringassertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitrunBareServerpublic HttpServletRequestWrapper request
HttpServletRequest object that you can access from
the testXXX(), setUp and
tearDown() methods. If you try to access it from either the
beginXXX() or endXXX() methods it will
have the null value.public javax.servlet.http.HttpServletResponse response
HttpServletResponse object that you can access from
the testXXX(), setUp and
tearDown() methods. If you try to access it from either the
beginXXX() or endXXX() methods it will
have the null value.public FilterConfigWrapper config
FilterConfig object that you can access from
the testXXX(), setUp and
tearDown() methods. If you try to access it from either the
beginXXX() or endXXX() methods it will
have the null value.public javax.servlet.FilterChain filterChain
FilterChain object that you can access from
the testXXX(), setUp and
tearDown() methods. If you try to access it from either the
beginXXX() or endXXX() methods it will
have the null value.public FilterTestCase()
public FilterTestCase(java.lang.String theName)
public FilterTestCase(java.lang.String theName,
junit.framework.Test theTest)
protected ProtocolHandler createProtocolHandler()
AbstractCactusTestCasecreateProtocolHandler in class AbstractCactusTestCaseAbstractCactusTestCase.createProtocolHandler()Copyright © 2000-2004 Apache Software Foundation. All Rights Reserved.