A C D E F G H I J L M O P R S T U

A

AbstractHttpClient - class org.apache.commons.cactus.client.AbstractHttpClient.
Abstract class that all HTTP clients to the server redirector must extend.
AbstractHttpClient() - Constructor for class org.apache.commons.cactus.client.AbstractHttpClient
 
AbstractTestCase - class org.apache.commons.cactus.AbstractTestCase.
Abstract class that specific test cases (ServletTestCase, FilterTestCase, ...) must extend.
AbstractTestCase(String) - Constructor for class org.apache.commons.cactus.AbstractTestCase
Constructs a JUnit test case with the given name.
addCookie(String, String) - Method in class org.apache.commons.cactus.ServletTestRequest
Adds a cookie to the request.
addHeader(String, String) - Method in class org.apache.commons.cactus.ServletTestRequest
Adds a header to the request.
addParameter(String, String) - Method in class org.apache.commons.cactus.ServletTestRequest
Adds a parameter to the request.
AssertionFailedErrorWrapper - error org.apache.commons.cactus.client.AssertionFailedErrorWrapper.
Same as ServletExceptionWrapper except that this exception class extends JUnit AssertionFailedError so that JUnit will print a different message in it's runner console.
AssertionFailedErrorWrapper() - Constructor for class org.apache.commons.cactus.client.AssertionFailedErrorWrapper
Standard throwable constructor.
AssertionFailedErrorWrapper(String) - Constructor for class org.apache.commons.cactus.client.AssertionFailedErrorWrapper
Standard throwable constructor.
AssertionFailedErrorWrapper(String, String, String) - Constructor for class org.apache.commons.cactus.client.AssertionFailedErrorWrapper
The constructor to use to simulate a real exception.
AssertUtils - class org.apache.commons.cactus.util.AssertUtils.
Cactus utility classes to help assert returned results from server side code.
AssertUtils() - Constructor for class org.apache.commons.cactus.util.AssertUtils
 
AUTOSESSION_NAME_PARAM - Static variable in class org.apache.commons.cactus.ServiceDefinition
Name of the parameter in the HTTP request that specify if a session should be automatically created for the user or not.

C

CALL_TEST_SERVICE - Static variable in class org.apache.commons.cactus.ServiceEnumeration
Call test method Service.
checkConfigProperties() - Static method in class org.apache.commons.cactus.client.ClientConfigurationChecker
Checks if the cactus.properties file is in the CLASSPATH.
CLASS_NAME_PARAM - Static variable in class org.apache.commons.cactus.ServiceDefinition
Name of the parameter in the HTTP request that represents the name of the Test class to call.
ClientConfigurationChecker - class org.apache.commons.cactus.client.ClientConfigurationChecker.
Helper class that checks configuration parameters (for the client side) like if the CLASSPATH contains the jar for the Servlet API, if the cactus.properties file is in the CLASSPATH, ...
ClientConfigurationChecker() - Constructor for class org.apache.commons.cactus.client.ClientConfigurationChecker
 
ClientCookie - class org.apache.commons.cactus.util.ClientCookie.
Contains cookie information for cookies returned from the server to the client.
ClientCookie(String, String, String, String, long, String, boolean, float) - Constructor for class org.apache.commons.cactus.util.ClientCookie
Construct a client cookie.
config - Variable in class org.apache.commons.cactus.ServletTestCase
Valid ServletConfig object that you can access from the testXXX(), setUp and tearDown() methods.
CONFIG - Static variable in class org.apache.commons.cactus.client.AbstractHttpClient
Properties file holding configuration data for Cactus.
CONFIG_NAME - Static variable in class org.apache.commons.cactus.client.AbstractHttpClient
Name of the Cactus configuration file
currentTestMethod - Variable in class org.apache.commons.cactus.AbstractTestCase
The name of the current test method being executed.

D

doGet(HttpServletRequest, HttpServletResponse) - Method in class org.apache.commons.cactus.server.ServletTestRedirector
Handle GET requests.
doGetResults(ServletImplicitObjects) - Method in class org.apache.commons.cactus.server.ServletTestCaller
Return the last test results as a serialized object in the HTTP response.
doPost(HttpServletRequest, HttpServletResponse) - Method in class org.apache.commons.cactus.server.ServletTestRedirector
Handle POST request.
doTest(JspImplicitObjects) - Method in class org.apache.commons.cactus.server.JspTestCaller
Calls a test method.
doTest(ServletImplicitObjects) - Method in class org.apache.commons.cactus.server.ServletTestCaller
Calls a test method.
doTest(ServletTestRequest) - Method in class org.apache.commons.cactus.client.AbstractHttpClient
Calls the test method indirectly by calling the Redirector servlet and then open a second HTTP connection to retrieve the test results.
doTest(ServletTestRequest) - Method in class org.apache.commons.cactus.client.JspHttpClient
Calls the test method indirectly by calling the Redirector JSP and then open a second HTTP connection to the Servlet Redirector to retrieve the test results.
doTest(ServletTestRequest) - Method in class org.apache.commons.cactus.client.ServletHttpClient
Calls the test method indirectly by calling the Redirector servlet and then open a second HTTP connection to retrieve the test results.

E

equals(String) - Method in class org.apache.commons.cactus.ServiceEnumeration
Compares a string representing the name of the service with the Service enumerated type.

F

forward(ServletRequest, ServletResponse) - Method in class org.apache.commons.cactus.server.RequestDispatcherWrapper
Call the original RequestDispatcher forward() method but with the original HTTP request (not the simulation one which would make the servlet engine choke !).

G

GET_METHOD - Static variable in class org.apache.commons.cactus.ServletTestRequest
GET Method identifier.
GET_RESULTS_SERVICE - Static variable in class org.apache.commons.cactus.ServiceEnumeration
Get the previous test results Service.
getAttribute(String) - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
getAttribute(String) - Method in class org.apache.commons.cactus.server.ServletContextWrapper
 
getAttributeNames() - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
getAttributeNames() - Method in class org.apache.commons.cactus.server.ServletContextWrapper
 
getAuthType() - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
getAutomaticSession() - Method in class org.apache.commons.cactus.ServletTestRequest
 
getCharacterEncoding() - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
getComment() - Method in class org.apache.commons.cactus.util.ClientCookie
 
getContentLength() - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
getContentType() - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
getContext(String) - Method in class org.apache.commons.cactus.server.ServletContextWrapper
 
getContextPath() - Method in class org.apache.commons.cactus.ServletURL
 
getContextPath() - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
getCookieNames() - Method in class org.apache.commons.cactus.ServletTestRequest
 
getCookies() - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
getCookies(HttpURLConnection) - Static method in class org.apache.commons.cactus.util.AssertUtils
Extract the cookies from a HTTP connection.
getCookieValue(String) - Method in class org.apache.commons.cactus.ServletTestRequest
 
getDateHeader(String) - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
getDomain() - Method in class org.apache.commons.cactus.util.ClientCookie
 
getExceptionClassName() - Method in class org.apache.commons.cactus.ServletTestResult
 
getExceptionMessage() - Method in class org.apache.commons.cactus.ServletTestResult
 
getExceptionStackTrace() - Method in class org.apache.commons.cactus.ServletTestResult
 
getHeader(String) - Method in class org.apache.commons.cactus.ServletTestRequest
Returns the first value corresponding to this header's name.
getHeader(String) - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
getHeaderNames() - Method in class org.apache.commons.cactus.ServletTestRequest
 
getHeaderNames() - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
getHeaders(String) - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
getHeaderValues(String) - Method in class org.apache.commons.cactus.ServletTestRequest
Returns all the values associated with this header's name.
getInitParameter(String) - Method in class org.apache.commons.cactus.server.ServletConfigWrapper
 
getInitParameter(String) - Method in class org.apache.commons.cactus.server.ServletContextWrapper
 
getInitParameterNames() - Method in class org.apache.commons.cactus.server.ServletConfigWrapper
 
getInitParameterNames() - Method in class org.apache.commons.cactus.server.ServletContextWrapper
 
getInputStream() - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
getIntHeader(String) - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
getLocale() - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
getLocales() - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
getMajorVersion() - Method in class org.apache.commons.cactus.server.ServletContextWrapper
 
getMaxAge() - Method in class org.apache.commons.cactus.util.ClientCookie
 
getMethod() - Method in class org.apache.commons.cactus.ServletTestRequest
 
getMethod() - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
getMimeType(String) - Method in class org.apache.commons.cactus.server.ServletContextWrapper
 
getMinorVersion() - Method in class org.apache.commons.cactus.server.ServletContextWrapper
 
getName() - Method in class org.apache.commons.cactus.util.ClientCookie
 
getNamedDispatcher(String) - Method in class org.apache.commons.cactus.server.ServletContextWrapper
 
getOriginalRequest() - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
getParameter(String) - Method in class org.apache.commons.cactus.ServletTestRequest
Returns the first value corresponding to this parameter's name.
getParameter(String) - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
getParameterNames() - Method in class org.apache.commons.cactus.ServletTestRequest
 
getParameterNames() - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
getParameterValues(String) - Method in class org.apache.commons.cactus.ServletTestRequest
Returns all the values associated with this parameter's name.
getParameterValues(String) - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
getPath() - Method in class org.apache.commons.cactus.util.ClientCookie
 
getPathInfo() - Method in class org.apache.commons.cactus.ServletURL
 
getPathInfo() - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
getPathTranslated() - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
getProtocol() - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
getQueryString() - Method in class org.apache.commons.cactus.ServletURL
 
getQueryString() - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
getReader() - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
getRealPath(String) - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
getRealPath(String) - Method in class org.apache.commons.cactus.server.ServletContextWrapper
 
getRemoteAddr() - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
getRemoteHost() - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
getRemoteUser() - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
getRequestDispatcher(String) - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
getRequestDispatcher(String) - Method in class org.apache.commons.cactus.server.ServletContextWrapper
 
getRequestedSessionId() - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
getRequestURI() - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
getResource(String) - Method in class org.apache.commons.cactus.server.ServletContextWrapper
 
getResourceAsStream(String) - Method in class org.apache.commons.cactus.server.ServletContextWrapper
 
getResponseAsString(HttpURLConnection) - Static method in class org.apache.commons.cactus.util.AssertUtils
 
getScheme() - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
getServerInfo() - Method in class org.apache.commons.cactus.server.ServletContextWrapper
 
getServerName() - Method in class org.apache.commons.cactus.ServletURL
 
getServerName() - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
getServerPort() - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
getServlet(String) - Method in class org.apache.commons.cactus.server.ServletContextWrapper
 
getServletContext() - Method in class org.apache.commons.cactus.server.ServletConfigWrapper
 
getServletName() - Method in class org.apache.commons.cactus.server.ServletConfigWrapper
 
getServletNames() - Method in class org.apache.commons.cactus.server.ServletContextWrapper
 
getServletPath() - Method in class org.apache.commons.cactus.ServletURL
 
getServletPath() - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
getServlets() - Method in class org.apache.commons.cactus.server.ServletContextWrapper
 
getSession() - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
getSession(boolean) - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
getURL() - Method in class org.apache.commons.cactus.ServletURL
 
getURL() - Method in class org.apache.commons.cactus.ServletTestRequest
 
getUserPrincipal() - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
getValue() - Method in class org.apache.commons.cactus.util.ClientCookie
 
getVersion() - Method in class org.apache.commons.cactus.util.ClientCookie
 

H

hasException() - Method in class org.apache.commons.cactus.ServletTestResult
 
HttpServletRequestWrapper - class org.apache.commons.cactus.server.HttpServletRequestWrapper.
Encapsulation class for the Servlet 2.2 API HttpServletRequest.
HttpServletRequestWrapper(HttpServletRequest, ServletURL) - Constructor for class org.apache.commons.cactus.server.HttpServletRequestWrapper
Construct an HttpServletRequest instance that delegates it's method calls to the request object passed as parameter and that uses the URL passed as parameter to simulate a URL from which the request would come from.

I

include(ServletRequest, ServletResponse) - Method in class org.apache.commons.cactus.server.RequestDispatcherWrapper
Call the original RequestDispatcher include() method but with the original HTTP request (not the simulation one which would make the servlet engine choke !).
instanceOf(Class) - Method in class org.apache.commons.cactus.client.ServletExceptionWrapper
As all the server exceptions are wrapped into this ServletExceptionWrapper class, we need to be able to know the original server exception class.
instanceOf(Class) - Method in class org.apache.commons.cactus.client.AssertionFailedErrorWrapper
As all the server exceptions are wrapped into this ServletExceptionWrapper class, we need to be able to know the original server exception class.
isRequestedSessionIdFromCookie() - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
isRequestedSessionIdFromUrl() - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
isRequestedSessionIdFromURL() - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
isRequestedSessionIdValid() - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
isSecure() - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
isSecure() - Method in class org.apache.commons.cactus.util.ClientCookie
 
isUserInRole(String) - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 

J

JspHttpClient - class org.apache.commons.cactus.client.JspHttpClient.
Manage the logic for calling a test method (which need access to JSP objects) located on the server side.
JspHttpClient() - Constructor for class org.apache.commons.cactus.client.JspHttpClient
 
JspImplicitObjects - class org.apache.commons.cactus.server.JspImplicitObjects.
Holder class that contains the instances of the implicit objects that will be accessible in the test classes (i.e. subclasses of JspTestCase).
JspImplicitObjects() - Constructor for class org.apache.commons.cactus.server.JspImplicitObjects
 
JspTestCaller - class org.apache.commons.cactus.server.JspTestCaller.
Call the test method on the server side after assigning the JSP implicit objects using reflection.
JspTestCaller() - Constructor for class org.apache.commons.cactus.server.JspTestCaller
 
JspTestCase - class org.apache.commons.cactus.JspTestCase.
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.
JspTestCase(String) - Constructor for class org.apache.commons.cactus.JspTestCase
Constructs a JUnit test case with the given name.

L

loadFromRequest(HttpServletRequest) - Static method in class org.apache.commons.cactus.ServletURL
Creates a ServletURL object by loading it's values from the HTTP request.
log(Exception, String) - Method in class org.apache.commons.cactus.server.ServletContextWrapper
 
log(String) - Method in class org.apache.commons.cactus.server.ServletContextWrapper
 
log(String, Throwable) - Method in class org.apache.commons.cactus.server.ServletContextWrapper
 

M

m_Config - Variable in class org.apache.commons.cactus.server.ServletImplicitObjects
The Servlet configuration object.
m_JspWriter - Variable in class org.apache.commons.cactus.server.JspImplicitObjects
Correspond to the JSP out implicit object that is available in JSP pages.
m_PageContext - Variable in class org.apache.commons.cactus.server.JspImplicitObjects
Correspond to the JSP pageContext implicit object that is available in JSP pages.
m_Request - Variable in class org.apache.commons.cactus.server.ServletImplicitObjects
The HTTP request wrapper.
m_Response - Variable in class org.apache.commons.cactus.server.ServletImplicitObjects
The original HTTP response object that is created by the servlet container.
m_Session - Variable in class org.apache.commons.cactus.server.ServletImplicitObjects
The HTTP session object.
main(String[]) - Static method in class org.apache.commons.cactus.TestAll
Start the tests.
main(String[]) - Static method in class org.apache.commons.cactus.util.TestAssertUtils
Start the tests.
METHOD_NAME_PARAM - Static variable in class org.apache.commons.cactus.ServiceDefinition
Name of the parameter in the HTTP request that represents the name of the Test method to call.

O

org.apache.commons.cactus - package org.apache.commons.cactus
Base package for the Cactus project.
org.apache.commons.cactus.client - package org.apache.commons.cactus.client
 
org.apache.commons.cactus.server - package org.apache.commons.cactus.server
 
org.apache.commons.cactus.util - package org.apache.commons.cactus.util
 
out - Variable in class org.apache.commons.cactus.JspTestCase
Valid JspWriter object that you can access from the testXXX(), setUp and tearDown() methods.

P

pageContext - Variable in class org.apache.commons.cactus.JspTestCase
Valid PageContext object that you can access from the testXXX(), setUp and tearDown() methods.
POST_METHOD - Static variable in class org.apache.commons.cactus.ServletTestRequest
POST Method identifier.
printStackTrace(PrintStream) - Method in class org.apache.commons.cactus.client.ServletExceptionWrapper
Simulates a printing of a stack trace by printing the string stack trace
printStackTrace(PrintStream) - Method in class org.apache.commons.cactus.client.AssertionFailedErrorWrapper
Simulates a printing of a stack trace by printing the string stack trace
printStackTrace(PrintWriter) - Method in class org.apache.commons.cactus.client.ServletExceptionWrapper
Simulates a printing of a stack trace by printing the string stack trace
printStackTrace(PrintWriter) - Method in class org.apache.commons.cactus.client.AssertionFailedErrorWrapper
Simulates a printing of a stack trace by printing the string stack trace

R

removeAttribute(String) - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
removeAttribute(String) - Method in class org.apache.commons.cactus.server.ServletContextWrapper
 
request - Variable in class org.apache.commons.cactus.ServletTestCase
Valid HttpServletRequest object that you can access from the testXXX(), setUp and tearDown() methods.
RequestDispatcherWrapper - class org.apache.commons.cactus.server.RequestDispatcherWrapper.
Wrapper around RequestDispatcher which overrides the forward() and include methods to use the original HTTP request object instead of the simulated one used by Cactus.
RequestDispatcherWrapper(RequestDispatcher) - Constructor for class org.apache.commons.cactus.server.RequestDispatcherWrapper
 
response - Variable in class org.apache.commons.cactus.ServletTestCase
Valid HttpServletResponse object that you can access from the testXXX(), setUp and tearDown() methods.
runBare() - Method in class org.apache.commons.cactus.AbstractTestCase
Runs the bare test sequence.
runBareServerTest() - Method in class org.apache.commons.cactus.AbstractTestCase
Run the test that was specified in the constructor on the server side, calling setUp() and tearDown().

S

saveToRequest(ServletTestRequest) - Method in class org.apache.commons.cactus.ServletURL
Saves the current URL to a ServletTestRequest object.
SERVICE_NAME_PARAM - Static variable in class org.apache.commons.cactus.ServiceDefinition
Name of the parameter in the HTTP request that specify the service asked to the Redirector Servlet.
ServiceDefinition - class org.apache.commons.cactus.ServiceDefinition.
Constants that define HTTP parameters required for defining a service that is performed by the ServletTestRedirector servlet.
ServiceDefinition() - Constructor for class org.apache.commons.cactus.ServiceDefinition
 
ServiceEnumeration - class org.apache.commons.cactus.ServiceEnumeration.
List of valid services that the ServletTestRedirector can perform.
ServiceEnumeration(String) - Constructor for class org.apache.commons.cactus.ServiceEnumeration
 
ServletConfigWrapper - class org.apache.commons.cactus.server.ServletConfigWrapper.
Wrapper around ServletConfig which overrides the getServletContext() method to return our own wrapper around ServletContext.
ServletConfigWrapper(ServletConfig) - Constructor for class org.apache.commons.cactus.server.ServletConfigWrapper
 
ServletContextWrapper - class org.apache.commons.cactus.server.ServletContextWrapper.
Wrapper around ServletContext which overrides the getRequestDispatcher() method to return our own wrapper around RequestDispatcher.
ServletContextWrapper(ServletContext) - Constructor for class org.apache.commons.cactus.server.ServletContextWrapper
 
ServletExceptionWrapper - class org.apache.commons.cactus.client.ServletExceptionWrapper.
Wrapper around a Throwable object.
ServletExceptionWrapper() - Constructor for class org.apache.commons.cactus.client.ServletExceptionWrapper
Standard throwable constructor.
ServletExceptionWrapper(String) - Constructor for class org.apache.commons.cactus.client.ServletExceptionWrapper
Standard throwable constructor.
ServletExceptionWrapper(String, String, String) - Constructor for class org.apache.commons.cactus.client.ServletExceptionWrapper
The constructor to use to simulate a real exception.
ServletHttpClient - class org.apache.commons.cactus.client.ServletHttpClient.
Manage the logic for calling a test method (which need access to Servlet objects) located on the server side.
ServletHttpClient() - Constructor for class org.apache.commons.cactus.client.ServletHttpClient
 
ServletImplicitObjects - class org.apache.commons.cactus.server.ServletImplicitObjects.
Holder class that contains the instances of the implicit objects that will be accessible in the test classes (i.e. subclasses of ServletTestCase).
ServletImplicitObjects() - Constructor for class org.apache.commons.cactus.server.ServletImplicitObjects
 
ServletTestCaller - class org.apache.commons.cactus.server.ServletTestCaller.
Call the test method on the server side after assigning the servlet implicit objects using reflection and retri
ServletTestCaller() - Constructor for class org.apache.commons.cactus.server.ServletTestCaller
 
ServletTestCase - class org.apache.commons.cactus.ServletTestCase.
Test classes that need access to valid Servlet implicit objects (such as the the HTTP request, the HTTP response, the servlet config, ...) must subclass this class.
ServletTestCase(String) - Constructor for class org.apache.commons.cactus.ServletTestCase
Constructs a JUnit test case with the given name.
ServletTestRedirector - class org.apache.commons.cactus.server.ServletTestRedirector.
Generic Servlet redirector that calls a test method on the server side.
ServletTestRedirector() - Constructor for class org.apache.commons.cactus.server.ServletTestRedirector
 
ServletTestRequest - class org.apache.commons.cactus.ServletTestRequest.
Contains all HTTP request data for a test case.
ServletTestRequest() - Constructor for class org.apache.commons.cactus.ServletTestRequest
 
ServletTestResult - class org.apache.commons.cactus.ServletTestResult.
Represent the result of the execution of the Test class by the server redirector.If any exception was raised during the test, it is saved by this class.
ServletTestResult() - Constructor for class org.apache.commons.cactus.ServletTestResult
Constructor to call when the test was ok and no error was raised.
ServletTestResult(Throwable) - Constructor for class org.apache.commons.cactus.ServletTestResult
Constructor to call when an exception was raised during the test.
ServletURL - class org.apache.commons.cactus.ServletURL.
Simulate an HTTP URL by breaking it into its different parts :
URL = "http://" + serverName (including port) + requestURI ?
ServletURL(String, String, String, String, String) - Constructor for class org.apache.commons.cactus.ServletURL
Creates the URL to simulate.
session - Variable in class org.apache.commons.cactus.ServletTestCase
Valid HttpSession object that you can access from the testXXX(), setUp and tearDown() methods.
setAttribute(String, Object) - Method in class org.apache.commons.cactus.server.HttpServletRequestWrapper
 
setAttribute(String, Object) - Method in class org.apache.commons.cactus.server.ServletContextWrapper
 
setAutomaticSession(boolean) - Method in class org.apache.commons.cactus.ServletTestRequest
 
setInitParameter(String, String) - Method in class org.apache.commons.cactus.server.ServletConfigWrapper
Sets a parameter as if it were set in the web.xml file.
setMethod(String) - Method in class org.apache.commons.cactus.ServletTestRequest
 
setServletName(String) - Method in class org.apache.commons.cactus.server.ServletConfigWrapper
Sets the servlet name.
setURL(String, String, String, String, String) - Method in class org.apache.commons.cactus.ServletTestRequest
Sets the simulated URL.
suite() - Static method in class org.apache.commons.cactus.TestAll
 
suite() - Static method in class org.apache.commons.cactus.util.TestAssertUtils
 

T

TestAll - class org.apache.commons.cactus.TestAll.
Run all the unit tests of Cactus that do not need a servlet environment to run.
TestAll(String) - Constructor for class org.apache.commons.cactus.TestAll
Defines the testcase name for JUnit.
TestAssertUtils - class org.apache.commons.cactus.util.TestAssertUtils.
Unit tests of the AssertUtils class.
TestAssertUtils(String) - Constructor for class org.apache.commons.cactus.util.TestAssertUtils
Defines the testcase name for JUnit.
testParseSetCookieHeader1() - Method in class org.apache.commons.cactus.util.TestAssertUtils
 
testParseSetCookieHeader2() - Method in class org.apache.commons.cactus.util.TestAssertUtils
 
toString() - Method in class org.apache.commons.cactus.ServiceEnumeration
 

U

URL_CONTEXT_PATH_PARAM - Static variable in class org.apache.commons.cactus.ServletURL
Name of the parameter in the HTTP request that represents the context path in the URL to simulate.
URL_PATH_INFO_PARAM - Static variable in class org.apache.commons.cactus.ServletURL
Name of the parameter in the HTTP request that represents the Path Info in the URL to simulate.
URL_QUERY_STRING_PARAM - Static variable in class org.apache.commons.cactus.ServletURL
Name of the parameter in the HTTP request that represents the Query String in the URL to simulate.
URL_SERVER_NAME_PARAM - Static variable in class org.apache.commons.cactus.ServletURL
Name of the parameter in the HTTP request that represents the Server name in the URL to simulate.
URL_SERVLET_PATH_PARAM - Static variable in class org.apache.commons.cactus.ServletURL
Name of the parameter in the HTTP request that represents the Servlet Path in the URL to simulate.

A C D E F G H I J L M O P R S T U

Copyright © 2000-2001 Apache Software Foundation. All Rights Reserved.