org.apache.cactus
public class: ServletTestCase [javadoc |
source]
java.lang.Object
junit.framework.TestCase
org.apache.cactus.internal.AbstractCactusTestCase
org.apache.cactus.ServletTestCase
All Implemented Interfaces:
CactusTestCase
Cactus test case to unit test Servlets. Test classes that need access to
valid Servlet implicit objects (such as the HTTP request, the HTTP response,
the servlet config, ...) must subclass this class.
- version:
$
- Id: ServletTestCase.java 238991 2004-05-22 11:34:50Z vmassol $
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 HttpSession | session | Valid HttpSession 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 AbstractServletConfigWrapper | config | Valid ServletConfig 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. |
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |