|
||||||||
PREV NEXT | FRAMES NO FRAMES |
Name
and a String
Password
. ConnectionHelper
. HttpServletRequest
. PageContext
. ServletContext
. TestCase
class on the server
side, set up the implicit objects and call the test method. WebTestCaller
. ServletExceptionWrapper
except that this exception class
extends JUnit AssertionFailedError
so that JUnit will
print a different message in it's runner console. ConnectionHelper
specified in Cactus
configuration or the default one if none has been specified. ServletConfig
object that you can access from
the testXXX()
, setUp
and
tearDown()
methods.
ConnectionHelper
to use.
ConnectionHelper
using Jakarta Commons
HttpClient. ServletTestRedirector
servlet. HttpServletRequest
. HttpURLConnection
wrapper around HttpClient
HttpMethod
. ConnectionHelper
using the JDK
HttpURLConnection
class. JspTestCaller
. jspRedirector.jsp
JSP Redirector in the java
realmn in order to provide a symmetry with the ServletRedirector
and minimize the amount of java code in jspRedirector.jsp
. JspWriter
object that you can access from
the testXXX()
, setUp
and
tearDown()
methods.
PageContext
so that get methods that would
normally return implicit objects will now return Cactus wrapper of
implicit objects instead. WebTestResult
object. PageContext
object that you can access from
the testXXX()
, setUp
and
tearDown()
methods.
RequestDispatcher
which overrides the
forward()
and include
methods to use the original
HTTP request object instead of the simulated one used by Cactus. HttpServletRequest
object that you can access from
the testXXX()
, setUp
and
tearDown()
methods.
HttpServletResponse
object that you can access from
the testXXX()
, setUp
and
tearDown()
methods.
ServletTestRedirector
can
perform. ServletConfig
which overrides the
getServletContext()
method to return our own wrapper around
ServletContext
. ServletContext
. Throwable
object. TestCase
class on the server
side, set up the implicit objects and call the test method. ServletTestCaller
. <- ServletURL() -
-
- ServletURL(String,String,String,String,String,String) -
-
- ServletURL(String,String,String,String,String) -
-
- ServletUtil - class org.apache.cactus.server.ServletUtil
- All prupose utility methods for manipulating the Servlet API.
- ServletUtil() -
-
- StringUtil - class org.apache.cactus.util.StringUtil
- Various utility methods for string manipulation.
- StringUtil() -
-
- saveToRequest(WebRequest) -
-
- session -
- Valid
HttpSession
object that you can access from
the testXXX()
, setUp
and
tearDown()
methods.
- setAllowUserInteraction(boolean) -
-
- setAttribute(String,Object) -
-
- setAttribute(String,Object) -
-
- setAttribute(String,Object,int) -
-
- setAttribute(String,Object) -
-
- setAuthentication(AbstractAuthentication) -
-
- setAutomaticSession(boolean) -
-
- setComment(String) -
-
- setContentType(String) -
-
- setContextPath(String) -
-
- setDefaultUseCaches(boolean) -
-
- setDoInput(boolean) -
-
- setDoOutput(boolean) -
-
- setDomain(String) -
-
- setExpiryDate(Date) -
-
- setHttpServletRequest(HttpServletRequest) -
-
- setHttpServletRequest(HttpServletRequest) -
-
- setHttpServletResponse(HttpServletResponse) -
-
- setHttpServletResponse(HttpServletResponse) -
-
- setIfModifiedSince(long) -
-
- setInitParameter(String,String) -
-
- setInstanceFollowRedirects(boolean) -
-
- setJspWriter(JspWriter) -
-
- setName(String) -
-
- setName(String) -
-
- setPageContext(PageContext) -
-
- setPassword(String) -
-
- setPath(String) -
-
- setPathInfo(String) -
-
- setProtocol(String) -
-
- setQueryString(String) -
-
- setRedirectorName(String) -
-
- setRemoteHostName(String) -
-
- setRemoteIPAddress(String) -
-
- setRequestMethod(String) -
-
- setRequestProperty(String,String) -
-
- setSecure(boolean) -
-
- setServerName(String) -
-
- setServletConfig(ServletConfig) -
-
- setServletContext(ServletContext) -
-
- setServletContext(ServletContext) -
-
- setServletName(String) -
-
- setServletPath(String) -
-
- setSuiteClassName(String) -
-
- setTotalDuration(long) -
-
- setURL(String,String,String,String,String) -
-
- setUseCaches(boolean) -
-
- setUserData(InputStream) -
-
- setValue(String) -
-
- setXslFileName(String) -
-
- startTest(Test) -
-
- startTest(Test) -
-
HttpServletRequest
,
HttpServletResponse
and ServletContext
). WebTestResult
object. WebTestResult.toXml()
).
WebTestResult.toXml()
).
WebTestResult.toXml()
).
WebTestResult.toXml()
).
WebTestResult.toXml()
).
|
||||||||
PREV NEXT | FRAMES NO FRAMES |