org.apache.cactus |
Contains all classes needed for writing Cactus tests.
|
Java Source File Name | Type | Comment |
Cookie.java | Class | Client cookie. |
FilterTestCase.java | Class | Test classes that need access to valid Filter implicit objects (such as the
FilterConfig and FilterChain objects) must
subclass this class. |
HttpSessionCookie.java | Class | Cookie containing an HTTP Session id. |
JspTestCase.java | Class | Test classes that need access to valid JSP implicit objects (such as the
page context, the output jsp writer, the HTTP request, ...) must subclass
this class. |
Request.java | Interface | Tagging interface that represents all Requests objects that are used on
the Cactus client side to store information related to the request that
will be sent to the Cactus redirector (on the Cactus Server side). |
ServletTestCase.java | Class | Cactus test case to unit test Servlets. |
ServletTestSuite.java | Class | junit.framework.TestSuite wrapper that wraps all the tests of the
suite in Cactus
ServletTestCase objects. |
ServletURL.java | Class | Simulate an HTTP URL by breaking it into its different parts.
URL = "http://" + serverName (including port) + requestURI ? queryString
requestURI = contextPath + servletPath + pathInfo
From the Servlet 2.2 specification :
- Context Path: The path prefix associated with the
ServletContext that this servlet is a part of.
|
TestAll.java | Class | Run all the Cactus unit tests related to J2EE API 1.3. |
TestNoNameTestCase.java | Class | Unit tests of the AbstractTestCase class and its subclasses. |
TestServletURL.java | Class | Unit tests of the ServletURL class. |
TestShareAll.java | Class | Run all the unit tests of Cactus that do not need a servlet
environment to run. |
TestWebRequest.java | Class | Unit tests of the WebRequest class. |
WebRequest.java | Interface | Contains HTTP request data for a Cactus test case. |
WebResponse.java | Class | Default web response implementation that provides a minimal
API for asserting returned output stream from the server side. |