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

All Implemented Interfaces:
    CactusTestCase

Test the HtppUnit integration.
Fields inherited from org.apache.cactus.ServletTestCase:
request,  response,  session,  config
Method from org.apache.cactus.sample.servlet.unit.TestHttpUnitIntegration Summary:
endHttpUnitGetText,   endResponseAddHeadersHttpUnit,   testHttpUnitGetText,   testResponseAddHeadersHttpUnit
Methods from org.apache.cactus.ServletTestCase:
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.sample.servlet.unit.TestHttpUnitIntegration Detail:
 public  void endHttpUnitGetText(WebResponse theResponse) throws IOException 
    Verify that HttpUnit integration works
 public  void endResponseAddHeadersHttpUnit(WebResponse theResponse) 
    Verify that we can set several headers in the response and assert them in endXXX().
 public  void testHttpUnitGetText() throws IOException 
    Verify that the HttpUnit integration works.
 public  void testResponseAddHeadersHttpUnit() 
    Verify that we can set several headers in the response and assert them in endXXX().