Save This Page
Home » cactus-1.8.0-src » org.apache.cactus » [javadoc | source]
org.apache.cactus
public class: FilterTestCase [javadoc | source]
java.lang.Object
   junit.framework.TestCase
      org.apache.cactus.internal.AbstractCactusTestCase
         org.apache.cactus.FilterTestCase

All Implemented Interfaces:
    CactusTestCase

Direct Known Subclasses:
    TestSampleFilter, TestFilterHttpHeaders

Test classes that need access to valid Filter implicit objects (such as the FilterConfig and FilterChain objects) must subclass this class.
Field Summary
public  AbstractHttpServletRequestWrapper request    Valid 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  HttpServletResponse response    Valid 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    Valid 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  FilterChain filterChain    Valid 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. 
Constructor:
 public FilterTestCase() 
 public FilterTestCase(String theName) 
    {@inheritDoc}
    Also see:
    AbstractCactusTestCase#AbstractCactusTestCase(String)
 public FilterTestCase(String theName,
    Test theTest) 
    {@inheritDoc}
    Also see:
    AbstractCactusTestCase#AbstractCactusTestCase(String, Test)
Method from org.apache.cactus.FilterTestCase Summary:
createProtocolHandler
Methods from org.apache.cactus.internal.AbstractCactusTestCase:
createProtocolHandler,   runBare,   runBareServer
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cactus.FilterTestCase Detail:
 protected ProtocolHandler createProtocolHandler() 
    {@inheritDoc}