A C D E F G H I L M P R S T V W

A

actionPath - Variable in class servletunit.struts.MockStrutsTestCase
 
actionPerform() - Method in class servletunit.struts.CactusStrutsTestCase
Executes the Action instance to be tested.
actionPerform() - Method in class servletunit.struts.MockStrutsTestCase
Executes the Action instance to be tested.
actionServlet - Variable in class servletunit.struts.CactusStrutsTestCase
 
actionServlet - Variable in class servletunit.struts.MockStrutsTestCase
 
actionServletIsInitialized - Variable in class servletunit.struts.CactusStrutsTestCase
 
actionServletIsInitialized - Variable in class servletunit.struts.MockStrutsTestCase
 
addCookie(Cookie) - Method in class servletunit.HttpServletRequestSimulator
Adds a cookie that can be retrieved from this request via the getCookies() method.
addCookie(Cookie) - Method in class servletunit.HttpServletResponseSimulator
Add a cookie to this response, which will then be stored in the browser.
addCookie(Cookie) - Method in class servletunit.struts.StrutsResponseWrapper
 
addDateHeader(String, long) - Method in class servletunit.HttpServletResponseSimulator
This method is not supported.
addDateHeader(String, long) - Method in class servletunit.struts.StrutsResponseWrapper
 
addHeader(String, String) - Method in class servletunit.HttpServletResponseSimulator
Adds a response header with the given name and value.
addHeader(String, String) - Method in class servletunit.struts.StrutsResponseWrapper
 
addIntHeader(String, int) - Method in class servletunit.HttpServletResponseSimulator
Adds a response header with the given name and integer value.
addIntHeader(String, int) - Method in class servletunit.struts.StrutsResponseWrapper
 
addParameter(String, String) - Method in class servletunit.HttpServletRequestSimulator
Adds a parameter to this object's list of parameters
addParameter(String, String[]) - Method in class servletunit.HttpServletRequestSimulator
Adds a parameter as a String array to this object's list of parameters
addParameter(String, String) - Method in class servletunit.struts.StrutsRequestWrapper
 
addParameter(String, String[]) - Method in class servletunit.struts.StrutsRequestWrapper
 
addRequestParameter(String, String) - Method in class servletunit.struts.CactusStrutsTestCase
Adds an HttpServletRequest parameter to be used in setting up the ActionForm instance to be used in this test.
addRequestParameter(String, String[]) - Method in class servletunit.struts.CactusStrutsTestCase
Adds an HttpServletRequest parameter that is an array of String values to be used in setting up the ActionForm instance to be used in this test.
addRequestParameter(String, String) - Method in class servletunit.struts.MockStrutsTestCase
Adds an HttpServletRequest parameter to be used in setting up the ActionForm instance to be used in this test.
addRequestParameter(String, String[]) - Method in class servletunit.struts.MockStrutsTestCase
Adds an HttpServletRequest parameter that is an array of String values to be used in setting up the ActionForm instance to be used in this test.

C

CactusStrutsTestCase - class servletunit.struts.CactusStrutsTestCase.
CactusStrutsTestCase is an extension of the Cactus ServletTestCase base class that provides additional methods to aid in testing Struts Action objects.
CactusStrutsTestCase() - Constructor for class servletunit.struts.CactusStrutsTestCase
Default constructor.
CactusStrutsTestCase(String) - Constructor for class servletunit.struts.CactusStrutsTestCase
Constructor that takes test name parameter, for backwards compatibility with older versions on JUnit.
Common - class servletunit.struts.Common.
Contains code common to both MockStrutsTestCase and CactusStrutsTestCase.
Common() - Constructor for class servletunit.struts.Common
 
clearRequestParameters() - Method in class servletunit.struts.CactusStrutsTestCase
Clears all request parameters previously set.
clearRequestParameters() - Method in class servletunit.struts.MockStrutsTestCase
Clears all request parameters previously set.
clearRequestParameters() - Method in class servletunit.struts.StrutsRequestWrapper
 
config - Variable in class servletunit.struts.MockStrutsTestCase
 
containsHeader(String) - Method in class servletunit.HttpServletResponseSimulator
returns true if a header with the given name has already been set
containsHeader(String) - Method in class servletunit.struts.StrutsResponseWrapper
 
context - Variable in class servletunit.struts.MockStrutsTestCase
 

D

doFilter(ServletRequest, ServletResponse) - Method in class servletunit.FilterChainSimulator
Description of the Method
doFilterCalled() - Method in class servletunit.FilterChainSimulator
Indicates whether doFilter has been called.

E

ExceptionDuringTestError - error servletunit.struts.ExceptionDuringTestError.
Title: ExceptionDuringTestError
ExceptionDuringTestError(String, Throwable) - Constructor for class servletunit.struts.ExceptionDuringTestError
 
encodeRedirectURL(String) - Method in class servletunit.HttpServletResponseSimulator
Returns the given URL unmodified.
encodeRedirectURL(String) - Method in class servletunit.struts.StrutsResponseWrapper
 
encodeRedirectUrl(String) - Method in class servletunit.HttpServletResponseSimulator
Returns the given URL unmodified
encodeRedirectUrl(String) - Method in class servletunit.struts.StrutsResponseWrapper
 
encodeURL(String) - Method in class servletunit.HttpServletResponseSimulator
Returns the given URL unmodified
encodeURL(String) - Method in class servletunit.struts.StrutsResponseWrapper
 
encodeUrl(String) - Method in class servletunit.HttpServletResponseSimulator
Returns the given URL unmodified.
encodeUrl(String) - Method in class servletunit.struts.StrutsResponseWrapper
 

F

FilterChainSimulator - class servletunit.FilterChainSimulator.
A unit testing tool for simulating a FilterChain
FilterChainSimulator() - Constructor for class servletunit.FilterChainSimulator
Constructor for the FilterChainSimulator object
FilterConfigSimulator - class servletunit.FilterConfigSimulator.
 
FilterConfigSimulator(ServletContext) - Constructor for class servletunit.FilterConfigSimulator
Constructor for the FilterConfigSimulator object
findCookie(String) - Method in class servletunit.HttpServletResponseSimulator
Returns a cookie with a given, or null if this cookie has not been added to the repsonse.
findForward(String, String, HttpServletRequest, ServletContext) - Static method in class servletunit.struts.Common
Returns a ForwardConfig for the given forward name.
flushBuffer() - Method in class servletunit.HttpServletResponseSimulator
This method is not supported.
flushBuffer() - Method in class servletunit.struts.StrutsResponseWrapper
 
forward(ServletRequest, ServletResponse) - Method in class servletunit.RequestDispatcherSimulator
Simulates the forward method of the javax.servlet.RequestDispatcher interface

G

GET - Static variable in class servletunit.HttpServletRequestSimulator
Constant used by HttpServletRequestSimulator.setMethod(int) to indicate that the GET method made this request.
getActionConfig(String, HttpServletRequest, ServletContext) - Static method in class servletunit.struts.Common
Returns the configuration for the given action mapping.
getActionForm() - Method in class servletunit.struts.CactusStrutsTestCase
Returns the ActionForm instance stored in either the request or session.
getActionForm(String, HttpServletRequest, ServletContext) - Static method in class servletunit.struts.Common
Returns any ActionForm instance stored in the request or session, if available.
getActionForm() - Method in class servletunit.struts.MockStrutsTestCase
Returns the ActionForm instance stored in either the request or session.
getActionServlet() - Method in class servletunit.struts.CactusStrutsTestCase
Returns the ActionServlet controller used in this test.
getActionServlet() - Method in class servletunit.struts.MockStrutsTestCase
Returns the ActionServlet controller used in this test.
getActualForward() - Method in class servletunit.struts.CactusStrutsTestCase
Returns the forward sent to RequestDispatcher.
getActualForward() - Method in class servletunit.struts.MockStrutsTestCase
Returns the forward sent to RequestDispatcher.
getAttribute(String) - Method in class servletunit.HttpServletRequestSimulator
Returns the value of the named attribute as an Object, or null if no attribute of the given name exists.
getAttribute(String) - Method in class servletunit.HttpSessionSimulator
 
getAttribute(String) - Method in class servletunit.ServletContextSimulator
Returns the servlet container attribute with the given name, or null if there is no attribute by that name.
getAttributeNames() - Method in class servletunit.HttpServletRequestSimulator
Returns an Enumeration containing the names of the attributes available to this request.
getAttributeNames() - Method in class servletunit.HttpSessionSimulator
 
getAttributeNames() - Method in class servletunit.ServletContextSimulator
Returns an Enumeration containing the attribute names available within this servlet context.
getAuthType() - Method in class servletunit.HttpServletRequestSimulator
Returns the name of the authentication scheme used to protect the servlet.
getBufferSize() - Method in class servletunit.HttpServletResponseSimulator
This method is not supported.
getBufferSize() - Method in class servletunit.struts.StrutsResponseWrapper
 
getCharacterEncoding() - Method in class servletunit.HttpServletRequestSimulator
Returns the name of the character encoding used in the body of this request.
getCharacterEncoding() - Method in class servletunit.HttpServletResponseSimulator
This method is not supported.
getCharacterEncoding() - Method in class servletunit.struts.StrutsResponseWrapper
 
getContentLength() - Method in class servletunit.HttpServletRequestSimulator
Returns the length, in bytes, of the request body and made available by the input stream, or -1 if the length is not known.
getContentLength() - Method in class servletunit.HttpServletResponseSimulator
returns the content length previously set in setContentLength()
getContentType() - Method in class servletunit.HttpServletRequestSimulator
Returns the MIME type of the body of the request, or null if the type is not known.
getContentType() - Method in class servletunit.HttpServletResponseSimulator
returns the content type previously set in setContentType()
getContext(String) - Method in class servletunit.ServletContextSimulator
Unsupported in this version.
getContextDirectory() - Method in class servletunit.ServletContextSimulator
 
getContextPath() - Method in class servletunit.HttpServletRequestSimulator
Returns the portion of the request URI that indicates the context of the request.
getCookies() - Method in class servletunit.HttpServletRequestSimulator
Returns an array containing all of the Cookie objects the client sent with this request.
getCreationTime() - Method in class servletunit.HttpSessionSimulator
 
getDateHeader(String) - Method in class servletunit.HttpServletRequestSimulator
Returns the value of the specified request header as a long value that represents a Date object.
getFilterName() - Method in class servletunit.FilterConfigSimulator
Gets the filterName attribute of the FilterConfigSimulator object currently not supported
getForward() - Method in class servletunit.RequestDispatcherSimulator
 
getForward() - Method in class servletunit.struts.StrutsServletContextWrapper
 
getHeader(String) - Method in class servletunit.HttpServletRequestSimulator
Returns the value of the specified request header as a String.
getHeader(String) - Method in class servletunit.HttpServletResponseSimulator
Returns a given header field, or null if this header has not been set.
getHeaderNames() - Method in class servletunit.HttpServletRequestSimulator
Returns an enumeration of all the header names this request contains.
getHeaders(String) - Method in class servletunit.HttpServletRequestSimulator
This operation is not supported.
getId() - Method in class servletunit.HttpSessionSimulator
 
getInitParameter(String) - Method in class servletunit.FilterConfigSimulator
Gets the initParameter attribute of the FilterConfigSimulator object currently not supported
getInitParameter(String) - Method in class servletunit.ServletConfigSimulator
Returns a String containing the value of the named initialization parameter, or null if the parameter does not exist.
getInitParameter(String) - Method in class servletunit.ServletContextSimulator
Returns a String containing the value of the named context-wide initialization parameter, or null if the parameter does not exist.
getInitParameterNames() - Method in class servletunit.FilterConfigSimulator
Gets the initParameterNames attribute of the FilterConfigSimulator object currently not supported
getInitParameterNames() - Method in class servletunit.ServletConfigSimulator
Returns the names of the servlet's initialization parameters as an Enumeration of String objects, or an empty Enumeration if the servlet has no initialization parameters.
getInitParameterNames() - Method in class servletunit.ServletContextSimulator
Returns the names of the context's initialization parameters as an Enumeration of String objects, or an empty Enumeration if the context has no initialization parameters.
getInputStream() - Method in class servletunit.HttpServletRequestSimulator
This operation is not supported.
getIntHeader(String) - Method in class servletunit.HttpServletRequestSimulator
Returns the value of the specified request header as an int.
getLastAccessedTime() - Method in class servletunit.HttpSessionSimulator
 
getLocalAddr() - Method in class servletunit.HttpServletRequestSimulator
 
getLocalName() - Method in class servletunit.HttpServletRequestSimulator
 
getLocalPort() - Method in class servletunit.HttpServletRequestSimulator
 
getLocale() - Method in class servletunit.HttpServletRequestSimulator
Returns the preferred Locale that the client will accept content in, based on the Accept-Language header.
getLocale() - Method in class servletunit.HttpServletResponseSimulator
Returns the locale assigned to the response.
getLocale() - Method in class servletunit.struts.StrutsResponseWrapper
 
getLocales() - Method in class servletunit.HttpServletRequestSimulator
Returns an Enumeration of Locale objects indicating, in decreasing order starting with the preferred locale, the locales that are acceptable to the client based on the Accept-Language header.
getMajorVersion() - Method in class servletunit.ServletContextSimulator
Returns the major version of the Java Servlet API that this Web server supports.
getMaxInactiveInterval() - Method in class servletunit.HttpSessionSimulator
 
getMessage() - Method in class servletunit.HttpServletResponseSimulator
 
getMethod() - Method in class servletunit.HttpServletRequestSimulator
Returns the name of the HTTP method with which this request was made, for example, GET, POST, or PUT.
getMimeType(String) - Method in class servletunit.ServletContextSimulator
Unsupported in this version.
getMinorVersion() - Method in class servletunit.ServletContextSimulator
Returns the minor version of the Servlet API that this Web server supports.
getMockRequest() - Method in class servletunit.struts.MockStrutsTestCase
Returns the mock HttpServletRequest object used in this test.
getMockResponse() - Method in class servletunit.struts.MockStrutsTestCase
Returns the mock HttpServletResponse object used in this test.
getModuleConfig(HttpServletRequest, ServletContext) - Static method in class servletunit.struts.Common
Returns the configuration for the current module.
getNamedDispatcher(String) - Method in class servletunit.ServletContextSimulator
 
getOutputStream() - Method in class servletunit.HttpServletResponseSimulator
Returns a ServletOutputStream suitable for writing binary data in the response.
getOutputStream() - Method in class servletunit.struts.StrutsResponseWrapper
 
getParameter(String) - Method in class servletunit.HttpServletRequestSimulator
Returns the value of a request parameter as a String, or null if the parameter does not exist.
getParameter(String) - Method in class servletunit.struts.StrutsRequestWrapper
 
getParameterMap() - Method in class servletunit.HttpServletRequestSimulator
Returns a java.util.Map of the parameters of this request.
getParameterMap() - Method in class servletunit.struts.StrutsRequestWrapper
 
getParameterNames() - Method in class servletunit.HttpServletRequestSimulator
Returns an Enumeration of String objects containing the names of the parameters contained in this request.
getParameterNames() - Method in class servletunit.struts.StrutsRequestWrapper
 
getParameterValues(String) - Method in class servletunit.HttpServletRequestSimulator
Returns an array of String objects containing all of the values the given request parameter has, or null if the parameter does not exist.
getParameterValues(String) - Method in class servletunit.struts.StrutsRequestWrapper
 
getPathInfo() - Method in class servletunit.HttpServletRequestSimulator
Returns any extra path information associated with the URL the client sent when it made this request.
getPathInfo() - Method in class servletunit.struts.StrutsRequestWrapper
 
getPathTranslated() - Method in class servletunit.HttpServletRequestSimulator
This operation is not supported.
getProtocol() - Method in class servletunit.HttpServletRequestSimulator
Returns the name and version of the protocol the request uses in the form protocol/majorVersion.minorVersion, for example, HTTP/1.1.
getQueryString() - Method in class servletunit.HttpServletRequestSimulator
Returns the query string that is contained in the request URL after the path.
getReader() - Method in class servletunit.HttpServletRequestSimulator
This operation is not supported.
getRealPath(String) - Method in class servletunit.HttpServletRequestSimulator
Deprecated. As of Version 2.1 of the Java Servlet API, use ServletContext#getRealPath instead.
getRealPath(String) - Method in class servletunit.ServletContextSimulator
 
getRedirectLocation() - Method in class servletunit.struts.StrutsResponseWrapper
 
getRemoteAddr() - Method in class servletunit.HttpServletRequestSimulator
Returns the Internet Protocol (IP) address of the client that sent the request.
getRemoteHost() - Method in class servletunit.HttpServletRequestSimulator
Returns the fully qualified name of the client that sent the request.
getRemotePort() - Method in class servletunit.HttpServletRequestSimulator
 
getRemoteUser() - Method in class servletunit.HttpServletRequestSimulator
Returns the fully qualified name of the client that sent the request.
getRequest() - Method in class servletunit.FilterChainSimulator
Gets the request passed in as a parameter of the doFilter call.
getRequest() - Method in class servletunit.struts.CactusStrutsTestCase
Returns an HttpServletRequest object that can be used in this test.
getRequest() - Method in class servletunit.struts.MockStrutsTestCase
Returns an HttpServletRequest object that can be used in this test.
getRequestDispatcher(String) - Method in class servletunit.HttpServletRequestSimulator
Returns a RequestDispatcher object that acts as a wrapper for the resource located at the given path.
getRequestDispatcher(String) - Method in class servletunit.ServletContextSimulator
Returns a RequestDispatcher object that acts as a wrapper for the resource located at the given path.
getRequestDispatcher(String) - Method in class servletunit.struts.StrutsServletContextWrapper
 
getRequestDispatcherSimulator() - Method in class servletunit.ServletContextSimulator
Returns the mock RequestDispatcher object used in this test.
getRequestURI() - Method in class servletunit.HttpServletRequestSimulator
Returns the part of this request's URL from the protocol name up to the query string in the first line of the HTTP request.
getRequestURL() - Method in class servletunit.HttpServletRequestSimulator
Reconstructs the URL the client used to make the request.
getRequestWrapper() - Method in class servletunit.struts.CactusStrutsTestCase
Returns a HttpServletRequestWrapper object that can be used in this test.
getRequestWrapper() - Method in class servletunit.struts.MockStrutsTestCase
Returns a HttpServletRequestWrapper object that can be used in this test.
getRequestedSessionId() - Method in class servletunit.HttpServletRequestSimulator
Returns the session ID specified by the client.
getResource(String) - Method in class servletunit.ServletContextSimulator
TODO: add appropriate comments
getResource(String) - Method in class servletunit.struts.StrutsServletContextWrapper
Override the getResource method to look for resources in the file system, allowing the use of absolute paths for Struts configuration files.
getResourceAsFile(String) - Method in class servletunit.ServletContextSimulator
Attempts to load a resource from the underlying file system and return a file handle to it.
getResourceAsStream(String) - Method in class servletunit.ServletContextSimulator
Returns the resource located at the named path as an InputStream object.
getResourceAsStream(String) - Method in class servletunit.struts.StrutsServletContextWrapper
Override the getResourceAsStream method to look for resources in the file system, allowing the use of absolute paths for Struts configuration files.
getResourcePaths() - Method in class servletunit.ServletContextSimulator
Unsupported in this version.
getResourcePaths(String) - Method in class servletunit.ServletContextSimulator
Unsupported in this version.
getResponse() - Method in class servletunit.FilterChainSimulator
* Gets the response passed in as a parameter of the doFilter call.
getResponse() - Method in class servletunit.struts.CactusStrutsTestCase
Returns an HttpServletResponse object that can be used in this test.
getResponse() - Method in class servletunit.struts.MockStrutsTestCase
Returns an HttpServletResponse object that can be used in this test.
getResponseWrapper() - Method in class servletunit.struts.CactusStrutsTestCase
Returns an HttpServletResponseWrapper object that can be used in this test.
getResponseWrapper() - Method in class servletunit.struts.MockStrutsTestCase
Returns an HttpServletResponseWrapper object that can be used in this test.
getScheme() - Method in class servletunit.HttpServletRequestSimulator
Returns the name of the scheme used to make this request, for example, http, https, or ftp.
getServerInfo() - Method in class servletunit.ServletContextSimulator
Returns the name and version of the servlet container on which the servlet is running.
getServerName() - Method in class servletunit.HttpServletRequestSimulator
Returns the host name of the server that received the request.
getServerPort() - Method in class servletunit.HttpServletRequestSimulator
Returns the port number on which this request was received.
getServlet(String) - Method in class servletunit.ServletContextSimulator
Unsupported in this version.
getServletContext() - Method in class servletunit.FilterConfigSimulator
Gets the servletContext attribute of the FilterConfigSimulator object
getServletContext() - Method in class servletunit.HttpSessionSimulator
 
getServletContext() - Method in class servletunit.ServletConfigSimulator
Returns a reference to the ServletContext in which the caller is executing.
getServletContext() - Method in class servletunit.struts.StrutsServletConfigWrapper
 
getServletContextName() - Method in class servletunit.ServletContextSimulator
Unsupported in this version.
getServletName() - Method in class servletunit.ServletConfigSimulator
Returns the name of this servlet instance.
getServletNames() - Method in class servletunit.ServletContextSimulator
Unsupported in this version.
getServletPath() - Method in class servletunit.HttpServletRequestSimulator
Returns the part of this request's URL that calls the servlet.
getServletPath() - Method in class servletunit.struts.StrutsRequestWrapper
 
getServlets() - Method in class servletunit.ServletContextSimulator
Unsupported in this version.
getSession() - Method in class servletunit.HttpServletRequestSimulator
Returns the current session associated with this request, or if the request does not have a session, creates one.
getSession(boolean) - Method in class servletunit.HttpServletRequestSimulator
Returns the current HttpSession associated with this request or, if if there is no current session and create is true, returns a new session.
getSession() - Method in class servletunit.struts.CactusStrutsTestCase
Returns an HttpSession object that can be used in this test.
getSession() - Method in class servletunit.struts.MockStrutsTestCase
Returns an HttpSession object that can be used in this test.
getSessionContext() - Method in class servletunit.HttpSessionSimulator
This method is not supported.
getStatusCode() - Method in class servletunit.HttpServletResponseSimulator
Returns the status code for this response, which is useful for testing expected errors.
getTilesForward(String, HttpServletRequest, ServletContext, ServletConfig) - Static method in class servletunit.struts.Common
Retrieves a forward uri for tile - this is required for applications using the tiles framework, since the actual forward URI must be fetched from the tile definition.
getUserPrincipal() - Method in class servletunit.HttpServletRequestSimulator
Returns a java.security.Principal object containing the name of the current authenticated user.
getValue(String) - Method in class servletunit.HttpSessionSimulator
 
getValueNames() - Method in class servletunit.HttpSessionSimulator
 
getWriter() - Method in class servletunit.HttpServletResponseSimulator
Returns a PrintWriter object that can send character text to the client.
getWriter() - Method in class servletunit.struts.StrutsResponseWrapper
 
getWriterBuffer() - Method in class servletunit.HttpServletResponseSimulator
Use this method to pick up the string buffer which will hold the contents of the string buffer.

H

HttpServletRequestSimulator - class servletunit.HttpServletRequestSimulator.
 
HttpServletRequestSimulator(ServletContext) - Constructor for class servletunit.HttpServletRequestSimulator
 
HttpServletResponseSimulator - class servletunit.HttpServletResponseSimulator.
 
HttpServletResponseSimulator() - Constructor for class servletunit.HttpServletResponseSimulator
 
HttpSessionSimulator - class servletunit.HttpSessionSimulator.
This class simulates an HttpSession object.
HttpSessionSimulator(ServletContext) - Constructor for class servletunit.HttpSessionSimulator
 

I

INCLUDE_SERVLET_PATH - Static variable in class servletunit.struts.Common
 
include(ServletRequest, ServletResponse) - Method in class servletunit.RequestDispatcherSimulator
 
invalidate() - Method in class servletunit.HttpSessionSimulator
 
isCommitted() - Method in class servletunit.HttpServletResponseSimulator
 
isCommitted() - Method in class servletunit.struts.StrutsResponseWrapper
 
isInitialized - Variable in class servletunit.struts.CactusStrutsTestCase
 
isInitialized - Variable in class servletunit.struts.MockStrutsTestCase
 
isNew() - Method in class servletunit.HttpSessionSimulator
 
isRequestedSessionIdFromCookie() - Method in class servletunit.HttpServletRequestSimulator
Checks whether the requested session ID came in as a cookie.
isRequestedSessionIdFromURL() - Method in class servletunit.HttpServletRequestSimulator
Checks whether the requested session ID came in as part of the request URL.
isRequestedSessionIdFromUrl() - Method in class servletunit.HttpServletRequestSimulator
Deprecated. As of Version 2.1 of the Java Servlet API, use HttpServletRequestSimulator.isRequestedSessionIdFromURL() instead.
isRequestedSessionIdValid() - Method in class servletunit.HttpServletRequestSimulator
Checks whether the requested session ID is still valid.
isSecure() - Method in class servletunit.HttpServletRequestSimulator
Returns a boolean indicating whether this request was made using a secure channel, such as HTTPS.
isUserInRole(String) - Method in class servletunit.HttpServletRequestSimulator
Returns a boolean indicating whether the authenticated user is included in the specified logical "role".
isValid() - Method in class servletunit.HttpSessionSimulator
 

L

log(Exception, String) - Method in class servletunit.ServletContextSimulator
Deprecated. As of Java Servlet API 2.1, use
log(String) - Method in class servletunit.ServletContextSimulator
Writes the specified message to a servlet log file, which is usually an event log.
log(String, Throwable) - Method in class servletunit.ServletContextSimulator
Writes the stack trace and an explanatory message for a given Throwable exception to the servlet log file.
logger - Static variable in class servletunit.struts.CactusStrutsTestCase
 
logger - Static variable in class servletunit.struts.Common
 
logger - Static variable in class servletunit.struts.MockStrutsTestCase
 

M

MockStrutsTestCase - class servletunit.struts.MockStrutsTestCase.
MockStrutsTestCase is an extension of the base JUnit testcase that provides additional methods to aid in testing Struts Action objects.
MockStrutsTestCase() - Constructor for class servletunit.struts.MockStrutsTestCase
Default constructor.
MockStrutsTestCase(String) - Constructor for class servletunit.struts.MockStrutsTestCase
Constructor that takes test name parameter, for backwards compatibility with older versions on JUnit.
moduleName - Variable in class servletunit.struts.CactusStrutsTestCase
 

P

POST - Static variable in class servletunit.HttpServletRequestSimulator
Constant used by HttpServletRequestSimulator.setMethod(int) to indicate that the POST method made this request.
PUT - Static variable in class servletunit.HttpServletRequestSimulator
Constant used by HttpServletRequestSimulator.setMethod(int) to indicate that the PUT method made this request.
printStackTrace() - Method in class servletunit.struts.ExceptionDuringTestError
 
printStackTrace(PrintStream) - Method in class servletunit.struts.ExceptionDuringTestError
 
printStackTrace(PrintWriter) - Method in class servletunit.struts.ExceptionDuringTestError
 
processRequest(boolean) - Method in class servletunit.struts.CactusStrutsTestCase
Instructs StrutsTestCase to fully process a forward request.
putValue(String, Object) - Method in class servletunit.HttpSessionSimulator
 

R

RequestDispatcherSimulator - class servletunit.RequestDispatcherSimulator.
Simulates a javax.servlet.RequestDispatcher object.
RequestDispatcherSimulator(Object) - Constructor for class servletunit.RequestDispatcherSimulator
 
registrations - Variable in class servletunit.struts.MockStrutsTestCase
The set of public identifiers, and corresponding resource names, for the versions of the configuration file DTDs that we know about.
removeAttribute(String) - Method in class servletunit.HttpServletRequestSimulator
Removes an attribute from this request.
removeAttribute(String) - Method in class servletunit.HttpSessionSimulator
 
removeAttribute(String) - Method in class servletunit.ServletContextSimulator
Removes the attribute with the given name from the servlet context.
removeHeader(String) - Method in class servletunit.HttpServletResponseSimulator
Removes a given header
removeValue(String) - Method in class servletunit.HttpSessionSimulator
 
request - Variable in class servletunit.struts.MockStrutsTestCase
 
requestPathIsSet - Variable in class servletunit.struts.CactusStrutsTestCase
 
requestPathSet - Variable in class servletunit.struts.MockStrutsTestCase
 
requestWrapper - Variable in class servletunit.struts.CactusStrutsTestCase
 
requestWrapper - Variable in class servletunit.struts.MockStrutsTestCase
 
reset() - Method in class servletunit.HttpServletResponseSimulator
Reinitializes all local variables.
reset() - Method in class servletunit.struts.StrutsResponseWrapper
 
resetBuffer() - Method in class servletunit.HttpServletResponseSimulator
This method is not supported.
resetBuffer() - Method in class servletunit.struts.StrutsResponseWrapper
 
response - Variable in class servletunit.struts.MockStrutsTestCase
 
responseWrapper - Variable in class servletunit.struts.CactusStrutsTestCase
 
responseWrapper - Variable in class servletunit.struts.MockStrutsTestCase
 

S

SC_ACCEPTED - Static variable in class servletunit.HttpServletResponseSimulator
 
SC_BAD_GATEWAY - Static variable in class servletunit.HttpServletResponseSimulator
 
SC_BAD_REQUEST - Static variable in class servletunit.HttpServletResponseSimulator
 
SC_CONFLICT - Static variable in class servletunit.HttpServletResponseSimulator
 
SC_CONTINUE - Static variable in class servletunit.HttpServletResponseSimulator
 
SC_CREATED - Static variable in class servletunit.HttpServletResponseSimulator
 
SC_EXPECTATION_FAILED - Static variable in class servletunit.HttpServletResponseSimulator
 
SC_FORBIDDEN - Static variable in class servletunit.HttpServletResponseSimulator
 
SC_GATEWAY_TIMEOUT - Static variable in class servletunit.HttpServletResponseSimulator
 
SC_GONE - Static variable in class servletunit.HttpServletResponseSimulator
 
SC_HTTP_VERSION_NOT_SUPPORTED - Static variable in class servletunit.HttpServletResponseSimulator
 
SC_INTERNAL_SERVER_ERROR - Static variable in class servletunit.HttpServletResponseSimulator
 
SC_LENGTH_REQUIRED - Static variable in class servletunit.HttpServletResponseSimulator
 
SC_METHOD_NOT_ALLOWED - Static variable in class servletunit.HttpServletResponseSimulator
 
SC_MOVED_PERMANENTLY - Static variable in class servletunit.HttpServletResponseSimulator
 
SC_MOVED_TEMPORARILY - Static variable in class servletunit.HttpServletResponseSimulator
 
SC_MULTIPLE_CHOICES - Static variable in class servletunit.HttpServletResponseSimulator
 
SC_NON_AUTHORITATIVE_INFORMATION - Static variable in class servletunit.HttpServletResponseSimulator
 
SC_NOT_ACCEPTABLE - Static variable in class servletunit.HttpServletResponseSimulator
 
SC_NOT_FOUND - Static variable in class servletunit.HttpServletResponseSimulator
 
SC_NOT_IMPLEMENTED - Static variable in class servletunit.HttpServletResponseSimulator
 
SC_NOT_MODIFIED - Static variable in class servletunit.HttpServletResponseSimulator
 
SC_NO_CONTENT - Static variable in class servletunit.HttpServletResponseSimulator
 
SC_OK - Static variable in class servletunit.HttpServletResponseSimulator
 
SC_PARTIAL_CONTENT - Static variable in class servletunit.HttpServletResponseSimulator
 
SC_PAYMENT_REQUIRED - Static variable in class servletunit.HttpServletResponseSimulator
 
SC_PRECONDITION_FAILED - Static variable in class servletunit.HttpServletResponseSimulator
 
SC_PROXY_AUTHENTICATION_REQUIRED - Static variable in class servletunit.HttpServletResponseSimulator
 
SC_REQUESTED_RANGE_NOT_SATISFIABLE - Static variable in class servletunit.HttpServletResponseSimulator
 
SC_REQUEST_ENTITY_TOO_LARGE - Static variable in class servletunit.HttpServletResponseSimulator
 
SC_REQUEST_TIMEOUT - Static variable in class servletunit.HttpServletResponseSimulator
 
SC_REQUEST_URI_TOO_LONG - Static variable in class servletunit.HttpServletResponseSimulator
 
SC_RESET_CONTENT - Static variable in class servletunit.HttpServletResponseSimulator
 
SC_SEE_OTHER - Static variable in class servletunit.HttpServletResponseSimulator
 
SC_SERVICE_UNAVAILABLE - Static variable in class servletunit.HttpServletResponseSimulator
 
SC_SWITCHING_PROTOCOLS - Static variable in class servletunit.HttpServletResponseSimulator
 
SC_UNAUTHORIZED - Static variable in class servletunit.HttpServletResponseSimulator
 
SC_UNSUPPORTED_MEDIA_TYPE - Static variable in class servletunit.HttpServletResponseSimulator
 
SC_USE_PROXY - Static variable in class servletunit.HttpServletResponseSimulator
 
ServletConfigSimulator - class servletunit.ServletConfigSimulator.
This class simulates a ServletConfig.
ServletConfigSimulator() - Constructor for class servletunit.ServletConfigSimulator
 
ServletContextSimulator - class servletunit.ServletContextSimulator.
This class simulates a ServletContext.
ServletContextSimulator() - Constructor for class servletunit.ServletContextSimulator
 
ServletOutputStreamSimulator - class servletunit.ServletOutputStreamSimulator.
 
ServletOutputStreamSimulator() - Constructor for class servletunit.ServletOutputStreamSimulator
Default constructor that sends all output to System.out.
ServletOutputStreamSimulator(OutputStream) - Constructor for class servletunit.ServletOutputStreamSimulator
Constructor that sends all output to given OutputStream.
StrutsRequestWrapper - class servletunit.struts.StrutsRequestWrapper.
A wrapper for the HttpServletRequest class.
StrutsRequestWrapper(HttpServletRequestWrapper) - Constructor for class servletunit.struts.StrutsRequestWrapper
 
StrutsResponseWrapper - class servletunit.struts.StrutsResponseWrapper.
A wrapper for the HttpServletResponse class.
StrutsResponseWrapper(HttpServletResponse) - Constructor for class servletunit.struts.StrutsResponseWrapper
 
StrutsServletConfigWrapper - class servletunit.struts.StrutsServletConfigWrapper.
A wrapper for the ServletConfig class.
StrutsServletConfigWrapper(ServletConfig) - Constructor for class servletunit.struts.StrutsServletConfigWrapper
 
StrutsServletContextWrapper - class servletunit.struts.StrutsServletContextWrapper.
A wrapper for the ServletContext class.
StrutsServletContextWrapper(ServletContext) - Constructor for class servletunit.struts.StrutsServletContextWrapper
 
sendError(int) - Method in class servletunit.HttpServletResponseSimulator
Sends an error response to the client using the specified status clearing the buffer.
sendError(int, String) - Method in class servletunit.HttpServletResponseSimulator
Sends an error response to the client using the specified status clearing the buffer.
sendError(int) - Method in class servletunit.struts.StrutsResponseWrapper
 
sendError(int, String) - Method in class servletunit.struts.StrutsResponseWrapper
 
sendRedirect(String) - Method in class servletunit.HttpServletResponseSimulator
Resets the response and sets the appropriate redirect headers.
sendRedirect(String) - Method in class servletunit.struts.StrutsResponseWrapper
 
servletMapping - Variable in class servletunit.struts.CactusStrutsTestCase
 
servletunit - package servletunit
 
servletunit.struts - package servletunit.struts
 
setActionForm(ActionForm) - Method in class servletunit.struts.CactusStrutsTestCase
Sets an ActionForm instance to be used in this test.
setActionForm(ActionForm, HttpServletRequest, String, ServletContext) - Static method in class servletunit.struts.Common
Sets an ActionForm instance in the request.
setActionForm(ActionForm) - Method in class servletunit.struts.MockStrutsTestCase
Sets an ActionForm instance to be used in this test.
setActionServlet(ActionServlet) - Method in class servletunit.struts.CactusStrutsTestCase
Sets the ActionServlet to be used in this test execution.
setActionServlet(ActionServlet) - Method in class servletunit.struts.MockStrutsTestCase
Sets the ActionServlet to be used in this test execution.
setAttribute(String, Object) - Method in class servletunit.HttpServletRequestSimulator
Stores an attribute in this request.
setAttribute(String, Object) - Method in class servletunit.HttpSessionSimulator
 
setAttribute(String, Object) - Method in class servletunit.ServletContextSimulator
Binds an object to a given attribute name in this servlet context.
setAuthType(String) - Method in class servletunit.HttpServletRequestSimulator
Sets authentication scheme to be used in HttpServletRequestSimulator.getAuthType().
setBufferSize(int) - Method in class servletunit.HttpServletResponseSimulator
This method is not supported.
setBufferSize(int) - Method in class servletunit.struts.StrutsResponseWrapper
 
setCharacterEncoding(String) - Method in class servletunit.HttpServletRequestSimulator
Sets character encoding to be used in HttpServletRequestSimulator.getCharacterEncoding().
setCharacterEncoding(String) - Method in class servletunit.HttpServletResponseSimulator
 
setConfigFile(String) - Method in class servletunit.struts.CactusStrutsTestCase
Sets the location of the Struts configuration file for the default module.
setConfigFile(String, String) - Method in class servletunit.struts.CactusStrutsTestCase
Sets the struts configuration file for a given sub-application.
setConfigFile(String) - Method in class servletunit.struts.MockStrutsTestCase
Sets the location of the Struts configuration file for the default module.
setConfigFile(String, String) - Method in class servletunit.struts.MockStrutsTestCase
Sets the struts configuration file for a given sub-application.
setContentLength(int) - Method in class servletunit.HttpServletResponseSimulator
Sets the length of the content body in the response In HTTP servlets, this method sets the HTTP Content-Length header.
setContentLength(int) - Method in class servletunit.struts.StrutsResponseWrapper
 
setContentType(String) - Method in class servletunit.HttpServletRequestSimulator
Sets content type to be used in HttpServletRequestSimulator.getContentType().
setContentType(String) - Method in class servletunit.HttpServletResponseSimulator
Sets the content type of the response being sent to the client.
setContentType(String) - Method in class servletunit.struts.StrutsResponseWrapper
 
setContextDirectory(File) - Method in class servletunit.ServletContextSimulator
Sets the absolute context directory to be used in the getRealPath() method.
setContextDirectory(File) - Method in class servletunit.struts.MockStrutsTestCase
Sets the context directory to be used with the getRealPath() methods in the ServletContext and HttpServletRequest API.
setContextPath(String) - Method in class servletunit.HttpServletRequestSimulator
Sets the context path to be used by HttpServletRequestSimulator.getContextPath().
setCookies(Cookie[]) - Method in class servletunit.HttpServletRequestSimulator
Adds a set of cookies that can be retrieved from this request via the getCookies() method.
setDateHeader(String, long) - Method in class servletunit.HttpServletRequestSimulator
Sets a header with the appropriate date string given the time in milliseconds.
setDateHeader(String, long) - Method in class servletunit.HttpServletResponseSimulator
This method is not supported.
setDateHeader(String, long) - Method in class servletunit.struts.StrutsResponseWrapper
 
setHeader(String, String) - Method in class servletunit.HttpServletRequestSimulator
Sets a header to be used in HttpServletRequestSimulator.getHeader(java.lang.String).
setHeader(String, String) - Method in class servletunit.HttpServletResponseSimulator
adds the name/value pair to the headers
setHeader(String, String) - Method in class servletunit.struts.StrutsResponseWrapper
 
setInitParameter(String, String) - Method in class servletunit.ServletConfigSimulator
Sets a named initialization parameter with the supplied String value.
setInitParameter(String, String) - Method in class servletunit.ServletContextSimulator
Sets a named initialization parameter with the supplied String value.
setInitParameter(String, String) - Method in class servletunit.struts.CactusStrutsTestCase
Sets an initialization parameter on the ActionServlet.
setInitParameter(String, String) - Method in class servletunit.struts.MockStrutsTestCase
Sets an initialization parameter on the ActionServlet.
setIntHeader(String, int) - Method in class servletunit.HttpServletResponseSimulator
Adds the given name/value pair to the headers collection.
setIntHeader(String, int) - Method in class servletunit.struts.StrutsResponseWrapper
 
setIsCommitted(boolean) - Method in class servletunit.HttpServletResponseSimulator
 
setLocalAddr(String) - Method in class servletunit.HttpServletRequestSimulator
 
setLocalName(String) - Method in class servletunit.HttpServletRequestSimulator
 
setLocalPort(int) - Method in class servletunit.HttpServletRequestSimulator
 
setLocale(Locale) - Method in class servletunit.HttpServletRequestSimulator
Sets the locale to be used by HttpServletRequestSimulator.getLocale().
setLocale(Locale) - Method in class servletunit.HttpServletResponseSimulator
Sets the locale of the response, setting the headers (including the Content-Type's charset) as appropriate.
setLocale(Locale) - Method in class servletunit.struts.StrutsResponseWrapper
 
setMaxInactiveInterval(int) - Method in class servletunit.HttpSessionSimulator
 
setMethod(int) - Method in class servletunit.HttpServletRequestSimulator
Sets the name of the HTTP method with which this request was made.
setOutputStream(OutputStream) - Method in class servletunit.HttpServletResponseSimulator
The default action of calling the getOutputStream method is to return a javax.servlet.ServletOutputStream object that sends the data to System.out.
setParameterValue(String, String[]) - Method in class servletunit.HttpServletRequestSimulator
Sets parameter value to be used by HttpServletRequestSimulator.getParameter(java.lang.String).
setPathInfo(String) - Method in class servletunit.HttpServletRequestSimulator
Sets path information to be used by HttpServletRequestSimulator.getPathInfo().
setPathInfo(String) - Method in class servletunit.struts.StrutsRequestWrapper
 
setProcessRequest(boolean) - Method in class servletunit.struts.StrutsServletContextWrapper
 
setQueryString(String) - Method in class servletunit.HttpServletRequestSimulator
Sets query string to be used by HttpServletRequestSimulator.getQueryString().
setRemoteAddr(String) - Method in class servletunit.HttpServletRequestSimulator
Sets remote address to be used by HttpServletRequestSimulator.getRemoteAddr().
setRemoteHost(String) - Method in class servletunit.HttpServletRequestSimulator
Sets remote host to be used by HttpServletRequestSimulator.getRemoteHost().
setRemotePort(int) - Method in class servletunit.HttpServletRequestSimulator
 
setRemoteUser(String) - Method in class servletunit.HttpServletRequestSimulator
Sets remote user to be used by HttpServletRequestSimulator.getRemoteUser().
setRequestPathInfo(String) - Method in class servletunit.struts.CactusStrutsTestCase
Sets the request path instructing the ActionServlet to used a particual ActionMapping.
setRequestPathInfo(String, String) - Method in class servletunit.struts.CactusStrutsTestCase
Sets the request path instructing the ActionServlet to used a particual ActionMapping.
setRequestPathInfo(String) - Method in class servletunit.struts.MockStrutsTestCase
Sets the request path instructing the ActionServlet to used a particual ActionMapping.
setRequestPathInfo(String, String) - Method in class servletunit.struts.MockStrutsTestCase
Sets the request path instructing the ActionServlet to used a particual ActionMapping.
setRequestURI(String) - Method in class servletunit.HttpServletRequestSimulator
Sets request URI to be used by HttpServletRequestSimulator.getRequestURI().
setRequestURL(String) - Method in class servletunit.HttpServletRequestSimulator
Sets the request URL to be used in this test.
setRequestWrapper(HttpServletRequestWrapper) - Method in class servletunit.struts.CactusStrutsTestCase
Set this TestCase to use a given HttpServletRequestWrapper class when calling Action.execute().
setRequestWrapper(HttpServletRequestWrapper) - Method in class servletunit.struts.MockStrutsTestCase
Set this TestCase to use a given HttpServletRequestWrapper class when calling Action.execute().
setRequestedSessionId(String) - Method in class servletunit.HttpServletRequestSimulator
Sets requested session ID to be used by HttpServletRequestSimulator.getRequestedSessionId().
setResponseWrapper(HttpServletResponseWrapper) - Method in class servletunit.struts.CactusStrutsTestCase
Set this TestCase to use a given HttpServletResponseWrapper class when calling Action.execute().
setResponseWrapper(HttpServletResponseWrapper) - Method in class servletunit.struts.MockStrutsTestCase
Set this TestCase to use a given HttpServletResponseWrapper class when calling Action.execute().
setScheme(String) - Method in class servletunit.HttpServletRequestSimulator
Sets scheme to be used by HttpServletRequestSimulator.getScheme().
setServerName(String) - Method in class servletunit.HttpServletRequestSimulator
Sets server name to be used by HttpServletRequestSimulator.getServerName().
setServerPort(int) - Method in class servletunit.HttpServletRequestSimulator
Sets the server port to be used with .
setServletConfigFile(String) - Method in class servletunit.struts.MockStrutsTestCase
Sets the location of the web.xml configuration file to be used to set up the servlet context and configuration for this test.
setServletContext(ServletContext) - Method in class servletunit.struts.StrutsServletConfigWrapper
 
setServletMapping(String) - Method in class servletunit.struts.CactusStrutsTestCase
Sets the servlet mapping used to map requests to the Struts controller.
setServletPath(String) - Method in class servletunit.HttpServletRequestSimulator
Sets servlet path to be used by HttpServletRequestSimulator.getServletPath().
setServletPath(String) - Method in class servletunit.struts.StrutsRequestWrapper
 
setStatus(int) - Method in class servletunit.HttpServletResponseSimulator
Sets the given status code.
setStatus(int, String) - Method in class servletunit.HttpServletResponseSimulator
Sets the given status and an associated message.
setStatus(int) - Method in class servletunit.struts.StrutsResponseWrapper
 
setStatus(int, String) - Method in class servletunit.struts.StrutsResponseWrapper
 
setUp() - Method in class servletunit.struts.CactusStrutsTestCase
Sets up the test fixture for this test.
setUp() - Method in class servletunit.struts.MockStrutsTestCase
Sets up the test fixture for this test.
setUserPrincipal(Principal) - Method in class servletunit.HttpServletRequestSimulator
Sets the Principal used by HttpServletRequestSimulator.getUserPrincipal().
setUserRole(String) - Method in class servletunit.HttpServletRequestSimulator
Sets user role to be used in HttpServletRequestSimulator.isUserInRole(java.lang.String)
stripActionPath(String) - Static method in class servletunit.struts.Common
Strips off *.do from action paths specified as such.
stripJSessionID(String) - Static method in class servletunit.struts.Common
Strip ;jsessionid= from path.

T

TestPathFunctions - class servletunit.struts.TestPathFunctions.
 
TestPathFunctions() - Constructor for class servletunit.struts.TestPathFunctions
 
tearDown() - Method in class servletunit.struts.CactusStrutsTestCase
 
tearDown() - Method in class servletunit.struts.MockStrutsTestCase
 
testStripLongSessionId() - Method in class servletunit.struts.TestPathFunctions
 
testStripSessionId() - Method in class servletunit.struts.TestPathFunctions
 
testStripSessionIdWithQueryString() - Method in class servletunit.struts.TestPathFunctions
 

V

verifyActionErrors(String[]) - Method in class servletunit.struts.CactusStrutsTestCase
Verifies if the ActionServlet controller sent these error messages.
verifyActionErrors(String[]) - Method in class servletunit.struts.MockStrutsTestCase
Verifies if the ActionServlet controller sent these error messages.
verifyActionMessages(String[]) - Method in class servletunit.struts.CactusStrutsTestCase
Verifies if the ActionServlet controller sent these action messages.
verifyActionMessages(HttpServletRequest, String[], String, String) - Static method in class servletunit.struts.Common
Common method to verify action errors and action messages.
verifyActionMessages(String[]) - Method in class servletunit.struts.MockStrutsTestCase
Verifies if the ActionServlet controller sent these action messages.
verifyForward(String) - Method in class servletunit.struts.CactusStrutsTestCase
Verifies if the ActionServlet controller used this forward.
verifyForward(String) - Method in class servletunit.struts.MockStrutsTestCase
Verifies if the ActionServlet controller used this forward.
verifyForwardPath(String) - Method in class servletunit.struts.CactusStrutsTestCase
Verifies if the ActionServlet controller used this actual path as a forward.
verifyForwardPath(String, String, String, boolean, HttpServletRequest, ServletContext, ServletConfig) - Static method in class servletunit.struts.Common
Verifies that ActionServlet used this logical forward or input mapping.
verifyForwardPath(String) - Method in class servletunit.struts.MockStrutsTestCase
Verifies if the ActionServlet controller used this actual path as a forward.
verifyInputForward() - Method in class servletunit.struts.CactusStrutsTestCase
Verifies if the ActionServlet controller forwarded to the defined input path.
verifyInputForward() - Method in class servletunit.struts.MockStrutsTestCase
Verifies if the ActionServlet controller forwarded to the defined input path.
verifyInputTilesForward(String) - Method in class servletunit.struts.CactusStrutsTestCase
Verifies that the ActionServlet controller forwarded to the defined input Tiles definition.
verifyInputTilesForward(String) - Method in class servletunit.struts.MockStrutsTestCase
Verifies that the ActionServlet controller forwarded to the defined input Tiles definition.
verifyNoActionErrors() - Method in class servletunit.struts.CactusStrutsTestCase
Verifies that the ActionServlet controller sent no error messages upon executing an Action object.
verifyNoActionErrors() - Method in class servletunit.struts.MockStrutsTestCase
Verifies that the ActionServlet controller sent no error messages upon executing an Action object.
verifyNoActionMessages() - Method in class servletunit.struts.CactusStrutsTestCase
Verifies that the ActionServlet controller sent no action messages upon executing an Action object.
verifyNoActionMessages(HttpServletRequest, String, String) - Static method in class servletunit.struts.Common
Common method to verify action errors and action messages.
verifyNoActionMessages() - Method in class servletunit.struts.MockStrutsTestCase
Verifies that the ActionServlet controller sent no action messages upon executing an Action object.
verifyTilesForward(String, String) - Method in class servletunit.struts.CactusStrutsTestCase
Verifies that the ActionServlet controller used this forward and Tiles definition.
verifyTilesForward(String, String, String, boolean, HttpServletRequest, ServletContext, ServletConfig) - Static method in class servletunit.struts.Common
Verifies that ActionServlet used this logical forward or input mapping with this tile definition.
verifyTilesForward(String, String) - Method in class servletunit.struts.MockStrutsTestCase
Verifies that the ActionServlet controller used this forward and Tiles definition.

W

write(int) - Method in class servletunit.ServletOutputStreamSimulator
 

A C D E F G H I L M P R S T V W

Copyright Deryl Seale All Rights Reserved.