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

A

ATTR_ERRORS -
Errors attribute for testsuite elements
ATTR_FAILURES -
Failures attribute for testsuite elements
ATTR_MESSAGE -
Message attribute for failure elements (message of the exception)
ATTR_NAME -
Name attribute for property, testcase and testsuite elements
ATTR_TESTS -
Tests attribute for testsuite elements (number of tests executed)
ATTR_TIME -
Time attribute for testcase and testsuite elements
ATTR_TYPE -
Type attribute for failure and error elements
AUTOSESSION_NAME_PARAM -
Name of the parameter in the HTTP request that specify if a session should be automatically created for the user or not.
AbstractAuthentication - class org.apache.cactus.client.authentication.AbstractAuthentication
This class was designed with the simple assumption that ALL authentication implementations will have a String Name and a String Password.
AbstractAuthentication(String,String) -
 
AbstractConnectionHelper - class org.apache.cactus.client.AbstractConnectionHelper
Common helper methods for implementing ConnectionHelper.
AbstractConnectionHelper() -
 
AbstractHttpClient - class org.apache.cactus.client.AbstractHttpClient
Abstract class for performing the steps necessary to run a test.
AbstractHttpClient() -
 
AbstractHttpServletRequestWrapper - class org.apache.cactus.server.AbstractHttpServletRequestWrapper
Abstract wrapper around HttpServletRequest.
AbstractHttpServletRequestWrapper(HttpServletRequest,ServletURL) -
 
AbstractPageContextWrapper - class org.apache.cactus.server.AbstractPageContextWrapper
Abstract wrapper around PageContext.
AbstractPageContextWrapper(PageContext,ServletURL) -
 
AbstractServletContextWrapper - class org.apache.cactus.server.AbstractServletContextWrapper
Abstract wrapper around ServletContext.
AbstractServletContextWrapper(ServletContext) -
 
AbstractTestCase - class org.apache.cactus.AbstractTestCase
Abstract class that is a thin layer on top of JUnit and that knows about test cases that are executed on the server side.
AbstractTestCase(String) -
 
AbstractWebImplicitObjects - class org.apache.cactus.server.AbstractWebImplicitObjects
Holder class that contains the instances of the implicit objects that exist for all web requests.
AbstractWebImplicitObjects() -
 
AbstractWebTestCaller - class org.apache.cactus.server.AbstractWebTestCaller
Responsible for instanciating the TestCase class on the server side, set up the implicit objects and call the test method.
AbstractWebTestCaller(WebImplicitObjects) -
 
AbstractWebTestCase - class org.apache.cactus.AbstractWebTestCase
Abstract class for Web Test Cases (i.e.
AbstractWebTestCase(String) -
 
AbstractWebTestController - class org.apache.cactus.server.AbstractWebTestController
Controller that extracts the requested service from the HTTP request and executes the request by calling a WebTestCaller.
AbstractWebTestController() -
 
AssertionFailedErrorWrapper - error org.apache.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(String) -
 
AssertionFailedErrorWrapper() -
 
AssertionFailedErrorWrapper(String,String,String) -
 
addCookie(String,String) -
 
addCookie(String,String,String) -
 
addCookie(Cookie) -
 
addError(Test,Throwable) -
 
addError(Test,Throwable) -
 
addFailure(Test,AssertionFailedError) -
 
addFailure(Test,AssertionFailedError) -
 
addHeader(String,String) -
 
addParameter(String,String,String) -
 
addParameter(String,String) -
 
around() - Advice in aspect org.apache.cactus.util.log.LogAspect
 
around() - Advice in aspect org.apache.cactus.util.log.LogAspect
 
around() - Advice in aspect org.apache.cactus.util.log.LogAspect
 
around() - Advice in aspect org.apache.cactus.util.log.LogAspect
 
aspectOf() -
 
aspectOf() -
 

B

BasicAuthentication - class org.apache.cactus.client.authentication.BasicAuthentication
Basic Authentication support.
BasicAuthentication(String,String) -
 

C

CACTUS_CONTEXT_URL_PROPERTY -
Name of Cactus property that specify the URL up to the webapp context.
CACTUS_FILTER_REDIRECTOR_NAME_PROPERTY -
Name of the cactus property that specifies the name of the JSP redirector.
CACTUS_JSP_REDIRECTOR_NAME_PROPERTY -
Name of the cactus property that specifies the name of the JSP redirector.
CACTUS_SERVLET_REDIRECTOR_NAME_PROPERTY -
Name of the cactus property that specifies the name of the Servlet redirector.
CALL_TEST_SERVICE -
Call test method Service.
CLASS_NAME_PARAM -
Name of the parameter in the HTTP request that represents the name of the Test class to call.
ChainedException - exception org.apache.cactus.util.ChainedException
A checked chained exception.
ChainedException(String) -
 
ChainedException(String,Throwable) -
 
ChainedException(Throwable) -
 
ChainedRuntimeException - exception org.apache.cactus.util.ChainedRuntimeException
Represent an exception that should stop the running test.
ChainedRuntimeException(String) -
 
ChainedRuntimeException(String,Throwable) -
 
ChainedRuntimeException(Throwable) -
 
ClassLoaderUtils - class org.apache.cactus.util.ClassLoaderUtils
Utiliy methods related to class loading in a webapp environment.
ClassLoaderUtils() -
 
Configuration - class org.apache.cactus.util.Configuration
Provides access to the Cactus configuration parameters that are independent of any redirector.
Configuration() -
 
ConnectionHelper - interface org.apache.cactus.client.ConnectionHelper
Helper class to open an HTTP connection to the server redirector and pass to it HTTP parameters, Cookies and HTTP headers.
ConnectionHelper() -
 
ConnectionHelperFactory - class org.apache.cactus.client.ConnectionHelperFactory
Factory that returns the ConnectionHelper specified in Cactus configuration or the default one if none has been specified.
ConnectionHelperFactory() -
 
Cookie - class org.apache.cactus.Cookie
Client cookie.
Cookie(String,String,String) -
 
config -
Valid ServletConfig object that you can access from the testXXX(), setUp and tearDown() methods.
config -
Valid FilterConfig object that you can access from the testXXX(), setUp and tearDown() methods.
configure(WebRequest) -
 
configure(WebRequest) -
 
connect(WebRequest) -
 
connect(WebRequest) -
 
connect() -
 
connect(WebRequest) -
 

D

DEFAULT_CACTUS_CONNECTION_HELPER_CLASSNAME -
Default ConnectionHelper to use.
destroy() -
 
disconnect() -
 
doFilter(ServletRequest,ServletResponse,FilterChain) -
 
doGet(JspImplicitObjects) -
 
doGet(HttpServletRequest,HttpServletResponse) -
 
doGet(HttpServletRequest,HttpServletResponse) -
 
doGetResults() -
 
doPost(HttpServletRequest,HttpServletResponse) -
 
doRunTest() -
 
doTest(WebRequest) -
 
doTest() -
 

E

ERROR -
The error element (for a test case)
endTest(Test) -
 
endTest(Test) -
 
equals(Object) -
 
equals(String) -
 
exceptionToString(Throwable) -
 

F

FAILURE -
The failure element (for a test case)
FilterConfigWrapper - class org.apache.cactus.server.FilterConfigWrapper
Wrapper around FilterConfig which overrides the getServletContext() method to return our own wrapper around ServletContext.
FilterConfigWrapper(FilterConfig) -
 
FilterConfiguration - class org.apache.cactus.util.FilterConfiguration
Provides access to the Cactus configuration parameters related to the Filter Redirector.
FilterConfiguration() -
 
FilterHttpClient - class org.apache.cactus.client.FilterHttpClient
Manage the logic for calling the Servlet redirector for executing a test on the server side.
FilterHttpClient() -
 
FilterImplicitObjects - class org.apache.cactus.server.FilterImplicitObjects
Holder class that contains the instances of the implicit objects that will be accessible in the test classes (i.e.
FilterImplicitObjects() -
 
FilterTestCaller - class org.apache.cactus.server.FilterTestCaller
Responsible for instanciating the TestCase class on the server side, set up the implicit objects and call the test method.
FilterTestCaller(FilterImplicitObjects) -
 
FilterTestCase - class org.apache.cactus.FilterTestCase
Test classes that need access to valid Filter implicit objects (such as the FilterConfig and FilterChain objects) must subclass this class.
FilterTestCase(String) -
 
FilterTestController - class org.apache.cactus.server.FilterTestController
Filter Controller that extracts the requested service from the HTTP request and executes the request by calling a FilterTestCaller.
FilterTestController() -
 
FilterTestRedirector - class org.apache.cactus.server.FilterTestRedirector
Generic Filter redirector that calls a test method on the server side.
FilterTestRedirector() -
 
filterChain -
Valid FilterChain object that you can access from the testXXX(), setUp and tearDown() methods.
findAttribute(String) -
 
forward(String) -
 
forward(ServletRequest,ServletResponse) -
 

G

GET_METHOD -
GET Method identifier.
GET_RESULTS_SERVICE -
Get the previous test results Service.
getAllowUserInteraction() -
 
getAttribute(String) -
 
getAttribute(String,int) -
 
getAttribute(String) -
 
getAttribute(String) -
 
getAttributeNames() -
 
getAttributeNames() -
 
getAttributeNamesInScope(int) -
 
getAttributesScope(String) -
 
getAuthType() -
 
getAuthentication() -
 
getAutomaticSession() -
 
getCharacterEncoding() -
 
getComment() -
 
getConnection() -
 
getConnectionHelper(String) -
 
getConnectionHelper() -
 
getContent() -
 
getContent(Class[]) -
 
getContentLength() -
 
getContentType() -
 
getContentType() -
 
getContext(String) -
 
getContextPath() -
 
getContextPath() -
 
getContextURL() -
 
getCookie(String) -
 
getCookieDomain(WebRequest,String) -
 
getCookiePath(WebRequest,String) -
 
getCookiePort(WebRequest,int) -
 
getCookieString(WebRequest,URL) -
 
getCookies() -
 
getCookies() -
 
getCookies() -
 
getDateHeader(String) -
 
getDefaultUseCaches() -
 
getDoInput() -
 
getDoOutput() -
 
getDomain() -
 
getErrorMessage() -
 
getErrorStream() -
 
getException() -
 
getExceptionClassName() -
 
getExceptionMessage() -
 
getExceptionStackTrace() -
 
getExpiryDate() -
 
getFilterChain() -
 
getFilterConfig() -
 
getFilterConfig() -
 
getFilterName() -
 
getFilterRedirectorURL() -
 
getHeader(String) -
 
getHeader(String) -
 
getHeaderField(String) -
 
getHeaderField(int) -
 
getHeaderFieldKey(int) -
 
getHeaderNames() -
 
getHeaderNames() -
 
getHeaderValues(String) -
 
getHeaders(String) -
 
getHost() -
 
getHttpServletRequest() -
 
getHttpServletRequest() -
 
getHttpServletResponse() -
 
getHttpServletResponse() -
 
getIfModifiedSince() -
 
getInitParameter(String) -
 
getInitParameter(String) -
 
getInitParameter(String) -
 
getInitParameterNames() -
 
getInitParameterNames() -
 
getInitParameterNames() -
 
getInputStream() -
 
getInputStream() -
 
getInputStream() -
 
getInstanceFollowRedirects() -
 
getIntHeader(String) -
 
getJspRedirectorURL() -
 
getJspWriter() -
 
getLoader() -
 
getLocale() -
 
getLocales() -
 
getLogs() -
 
getMajorVersion() -
 
getMethod() -
 
getMimeType(String) -
 
getMinorVersion() -
 
getName() -
 
getName() -
 
getNamedDispatcher(String) -
 
getOriginalRequest() -
 
getOut() -
 
getOutputStream() -
 
getPage() -
 
getPageContext() -
 
getParameter(String) -
 
getParameterGet(String) -
 
getParameterMap() -
 
getParameterNames() -
 
getParameterNamesGet() -
 
getParameterNamesPost() -
 
getParameterPost(String) -
 
getParameterValues(String) -
 
getParameterValuesGet(String) -
 
getParameterValuesPost(String) -
 
getPath() -
 
getPath() -
 
getPathInfo() -
 
getPathInfo() -
 
getPathTranslated() -
 
getPermission() -
 
getPort() -
 
getProtocol() -
 
getProtocol() -
 
getQueryString() -
 
getQueryString() -
 
getQueryStringParameter(String,String) -
 
getReader() -
 
getRealPath(String) -
 
getRealPath(String) -
 
getRedirectorName() -
 
getRemoteAddr() -
 
getRemoteHost() -
 
getRemoteUser() -
 
getRequest() -
 
getRequestDispatcher(String) -
 
getRequestDispatcher(String) -
 
getRequestMethod() -
 
getRequestProperty(String) -
 
getRequestURI() -
 
getRequestURL() -
 
getRequestedSessionId() -
 
getResource(String) -
 
getResourceAsStream(String) -
 
getResourcePaths() -
 
getResourcePaths(String) -
 
getResponse() -
 
getResponseCode() -
 
getResponseMessage() -
 
getScheme() -
 
getServerInfo() -
 
getServerName() -
 
getServerName() -
 
getServerPort() -
 
getServlet(String) -
 
getServletConfig() -
 
getServletConfig() -
 
getServletContext() -
 
getServletContext() -
 
getServletContext() -
 
getServletContext() -
 
getServletContext() -
 
getServletContextName() -
 
getServletName() -
 
getServletNames() -
 
getServletPath() -
 
getServletPath() -
 
getServletRedirectorURL() -
 
getServlets() -
 
getSession() -
 
getSession() -
 
getSession(boolean) -
 
getSuiteClassName() -
 
getTestCaseName(Test) -
 
getText(InputStream) -
 
getText() -
 
getTextAsArray() -
 
getTotalDurationAsString() -
 
getURL() -
 
getURL() -
 
getUseCaches() -
 
getUserData() -
 
getUserPrincipal() -
 
getValue() -
 
getWebRequest() -
 

H

HttpClientConnectionHelper - class org.apache.cactus.client.HttpClientConnectionHelper
Implementation of ConnectionHelper using Jakarta Commons HttpClient.
HttpClientConnectionHelper(String) -
 
HttpServiceDefinition - interface org.apache.cactus.HttpServiceDefinition
Constants that define HTTP parameters required for defining a service that is performed by the ServletTestRedirector servlet.
HttpServiceDefinition() -
 
HttpServletRequestWrapper - class org.apache.cactus.server.HttpServletRequestWrapper
Encapsulation class for the Servlet 2.3 API HttpServletRequest.
HttpServletRequestWrapper(HttpServletRequest,ServletURL) -
 
HttpURLConnection - class org.apache.cactus.util.HttpURLConnection
Provides a HttpURLConnection wrapper around HttpClient HttpMethod.
HttpURLConnection(HttpMethod,URL) -
 
HttpURLConnection(URL) -
 
handlePageException(Exception) -
 
handlePageException(Throwable) -
 
handleRequest(ImplicitObjects) -
 
handleRequest(ImplicitObjects) -
 
hasAspect() -
 
hasAspect() -
 
hasException() -
 
hashCode() -
 

I

ImplicitObjects - interface org.apache.cactus.server.ImplicitObjects
Tagging interface for implicit objects.
ImplicitObjects() -
 
IoUtil - class org.apache.cactus.util.IoUtil
Various utility methods for manipulating IO streams.
IoUtil() -
 
include(String) -
 
include(ServletRequest,ServletResponse) -
 
init(FilterConfig) -
 
initialize(Servlet,ServletRequest,ServletResponse,String,boolean,int,boolean) -
 
initialize() -
 
instanceOf(Class) -
 
instanceOf(Class) -
 
isExpired() -
 
isRequestedSessionIdFromCookie() -
 
isRequestedSessionIdFromURL() -
 
isRequestedSessionIdFromUrl() -
 
isRequestedSessionIdValid() -
 
isSecure() -
 
isSecure() -
 
isToBeDiscarded() -
 
isUserInRole(String) -
 

J

JUnitVersionHelper - class org.apache.cactus.util.JUnitVersionHelper
Work around for some changes to the public JUnit API between different JUnit releases.
JUnitVersionHelper() -
 
JdkConnectionHelper - class org.apache.cactus.client.JdkConnectionHelper
Implementation of ConnectionHelper using the JDK HttpURLConnection class.
JdkConnectionHelper(String) -
 
JspConfiguration - class org.apache.cactus.util.JspConfiguration
Provides access to the Cactus configuration parameters related to the JSP Redirector.
JspConfiguration() -
 
JspHttpClient - class org.apache.cactus.client.JspHttpClient
Manage the logic for calling the JSP redirector for executing a test on the server side.
JspHttpClient() -
 
JspImplicitObjects - class org.apache.cactus.server.JspImplicitObjects
Holder class that contains the instances of the implicit objects that will be accessible in the test classes (i.e.
JspImplicitObjects() -
 
JspTestCaller - class org.apache.cactus.server.JspTestCaller
Call the test method on the server side after assigning the JSP implicit objects using reflection.
JspTestCaller(JspImplicitObjects) -
 
JspTestCase - class org.apache.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) -
 
JspTestController - class org.apache.cactus.server.JspTestController
JSP Controller that extracts the requested service from the HTTP request and executes the request by calling a JspTestCaller.
JspTestController() -
 
JspTestRedirector - class org.apache.cactus.server.JspTestRedirector
Extension of the 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.
JspTestRedirector() -
 

L

LOG_CLIENT_CONFIG -
Name of properties file to initialize logging subsystem
LogAspect - aspect org.apache.cactus.util.log.LogAspect
Log every entry and exit of methods.
LogAspect() -
 
LogManagerAspect - aspect org.apache.cactus.util.log.LogManagerAspect
Manage logging subsystem initialisation.
LogManagerAspect() -
 
load(String) -
 
loadClass(String,Class) -
 
loadClassFromContextClassLoader(String) -
 
loadClassFromWebappClassLoader(String,Class) -
 
loadFromRequest(HttpServletRequest) -
 
loadPropertyResourceBundle(String,Class) -
 
log(String,Throwable) -
 
log(String) -
 
log(Exception,String) -
 

M

METHOD_NAME_PARAM -
Name of the parameter in the HTTP request that represents the name of the Test method to call.

O

out -
Valid JspWriter object that you can access from the testXXX(), setUp and tearDown() methods.

P

POST_METHOD -
POST Method identifier.
PROTOCOL_HTTP -
Http protocol.
PROTOCOL_HTTPS -
Https protocol.
PageContextWrapper - class org.apache.cactus.server.PageContextWrapper
Wrapper around PageContext so that get methods that would normally return implicit objects will now return Cactus wrapper of implicit objects instead.
PageContextWrapper(PageContext,ServletURL) -
 
ParsingException - exception org.apache.cactus.client.ParsingException
Thrown when parsing the Web Test result (XML) and trying to build a WebTestResult object.
ParsingException(String) -
 
ParsingException(Throwable) -
 
ParsingException(String,Throwable) -
 
pageContext -
Valid PageContext object that you can access from the testXXX(), setUp and tearDown() methods.
parse(String) -
 
popBody() -
 
printStackTrace(PrintStream) -
 
printStackTrace(PrintWriter) -
 
printStackTrace() -
 
printStackTrace(PrintStream) -
 
printStackTrace(PrintWriter) -
 
printStackTrace(PrintStream) -
 
printStackTrace(PrintWriter) -
 
printStackTrace() -
 
printStackTrace(PrintStream) -
 
printStackTrace(PrintWriter) -
 
pushBody() -
 

R

RUN_TEST_SERVICE -
Get the previous test results Service.
Request - interface org.apache.cactus.Request
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).
Request() -
 
RequestDispatcherWrapper - class org.apache.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) -
 
release() -
 
reload(Class) -
 
removeAttribute(String) -
 
removeAttribute(String,int) -
 
removeAttribute(String) -
 
removeAttribute(String) -
 
replace(String,char,String) -
 
request -
Valid HttpServletRequest object that you can access from the testXXX(), setUp and tearDown() methods.
request -
Valid HttpServletRequest object that you can access from the testXXX(), setUp and tearDown() methods.
response -
Valid HttpServletResponse object that you can access from the testXXX(), setUp and tearDown() methods.
response -
Valid HttpServletResponse object that you can access from the testXXX(), setUp and tearDown() methods.
run(String,String) -
 
runBare() -
 
runBareServerTest() -
 

S

SERVICE_NAME_PARAM -
Name of the parameter in the HTTP request that specify the service asked to the Redirector Servlet.
ServiceEnumeration - class org.apache.cactus.ServiceEnumeration
List of valid services that the ServletTestRedirector can perform.
ServiceEnumeration(String) -
 
ServletConfigWrapper - class org.apache.cactus.server.ServletConfigWrapper
Wrapper around ServletConfig which overrides the getServletContext() method to return our own wrapper around ServletContext.
ServletConfigWrapper(ServletConfig) -
 
ServletConfiguration - class org.apache.cactus.util.ServletConfiguration
Provides access to the Cactus configuration parameters related to the Servlet Redirector.
ServletConfiguration() -
 
ServletContextWrapper - class org.apache.cactus.server.ServletContextWrapper
Wrapper around Servlet 2.3 ServletContext.
ServletContextWrapper(ServletContext) -
 
ServletExceptionWrapper - class org.apache.cactus.client.ServletExceptionWrapper
Wrapper around a Throwable object.
ServletExceptionWrapper(String) -
 
ServletExceptionWrapper() -
 
ServletExceptionWrapper(String,String,String) -
 
ServletHttpClient - class org.apache.cactus.client.ServletHttpClient
Manage the logic for calling the Servlet redirector for executing a test on the server side.
ServletHttpClient() -
 
ServletImplicitObjects - class org.apache.cactus.server.ServletImplicitObjects
Holder class that contains the instances of the implicit objects that will be accessible in the test classes (i.e.
ServletImplicitObjects() -
 
ServletTestCaller - class org.apache.cactus.server.ServletTestCaller
Responsible for instanciating the TestCase class on the server side, set up the implicit objects and call the test method.
ServletTestCaller(ServletImplicitObjects) -
 
ServletTestCase - class org.apache.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) -
 
ServletTestController - class org.apache.cactus.server.ServletTestController
Servlet Controller that extracts the requested service from the HTTP request and executes the request by calling a ServletTestCaller.
ServletTestController() -
 
ServletTestRedirector - class org.apache.cactus.server.ServletTestRedirector
Generic Servlet redirector that calls a test method on the server side.
ServletTestRedirector() -
 
ServletTestRunner - class org.apache.cactus.server.runner.ServletTestRunner
Helper servlet to start a JUnit Test Runner in a webapp.
ServletTestRunner() -
 
ServletURL - class org.apache.cactus.ServletURL
Simulate an HTTP URL by breaking it into its different parts :
<
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,int) -
 
setAttribute(String,Object) -
 
setAttribute(String,Object) -
 
setAuthentication(AbstractAuthentication) -
 
setAutomaticSession(boolean) -
 
setCharacterEncoding(String) -
 
setComment(String) -
 
setContentType(String) -
 
setContextPath(String) -
 
setDefaultUseCaches(boolean) -
 
setDoInput(boolean) -
 
setDoOutput(boolean) -
 
setDomain(String) -
 
setExpiryDate(Date) -
 
setFilterChain(FilterChain) -
 
setFilterConfig(FilterConfig) -
 
setFilterConfig(FilterConfig) -
 
setFilterName(String) -
 
setHttpServletRequest(HttpServletRequest) -
 
setHttpServletRequest(HttpServletRequest) -
 
setHttpServletResponse(HttpServletResponse) -
 
setHttpServletResponse(HttpServletResponse) -
 
setIfModifiedSince(long) -
 
setInitParameter(String,String) -
 
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) -
 

T

TESTCASE -
A single testcase element
TESTSUITE -
A single test suite results.
TESTSUITES -
Root element for all test suites.
TestController - interface org.apache.cactus.server.TestController
Controller interface that simlulates a bit the controller from the MVC model in that this controller implementation classes are in charge of extracting data from the request and calling the test method to execute.
TestController() -
 
testEnded(String) -
 
testFailed(int,Test,Throwable) -
 
testStarted(String) -
 
toString() -
 
toString() -
 
toString() -
 
toString() -
 
toString() -
 
toXML(TestResult) -
 
toXml() -
 

U

URL_CONTEXT_PATH_PARAM -
Name of the parameter in the HTTP request that represents the context path in the URL to simulate.
URL_PATH_INFO_PARAM -
Name of the parameter in the HTTP request that represents the Path Info in the URL to simulate.
URL_PROTOCOL_PARAM -
Name of the parameter in the HTTP request that represents the protocol (HTTP, HTTPS, etc) in the URL to simulate.
URL_QUERY_STRING_PARAM -
Name of the parameter in the HTTP request that represents the Query String in the URL to simulate.
URL_SERVER_NAME_PARAM -
Name of the parameter in the HTTP request that represents the Server name (+ port) in the URL to simulate.
URL_SERVLET_PATH_PARAM -
Name of the parameter in the HTTP request that represents the Servlet Path in the URL to simulate.
usingProxy() -
 

W

WebImplicitObjects - interface org.apache.cactus.server.WebImplicitObjects
Interface for implicit objects that exist for all web requests (HttpServletRequest, HttpServletResponse and ServletContext).
WebImplicitObjects() -
 
WebRequest - class org.apache.cactus.WebRequest
Contains all HTTP request data for a test case.
WebRequest() -
 
WebResponse - class org.apache.cactus.WebResponse
Default web response implementation that provides a minimal API for asserting returned output stream from the server side.
WebResponse(WebRequest,HttpURLConnection) -
 
WebTestResult - class org.apache.cactus.WebTestResult
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.
WebTestResult() -
 
WebTestResult(Throwable) -
 
WebTestResult(String,String,String) -
 
WebTestResultParser - class org.apache.cactus.client.WebTestResultParser
Parse a string representing a Test result and transform it into a WebTestResult object.
WebTestResultParser() -
 
WebappTestRunner - class org.apache.cactus.server.runner.WebappTestRunner
JUnit Test Runner that can load test cases that are in the classpath of a webapp.
WebappTestRunner() -
 
WebappTestSuiteLoader - class org.apache.cactus.server.runner.WebappTestSuiteLoader
Dynamic class loader to load classes from the webapp classpath.
WebappTestSuiteLoader() -
 

X

XMLConstants - interface org.apache.cactus.server.runner.XMLConstants
XML constants for outputting the JUnit test results in XML.
XMLConstants() -
 
XMLFormatter - class org.apache.cactus.server.runner.XMLFormatter
Format the test results in XML.
XMLFormatter() -
 
XML_EXCEPTION_CLASSNAME_ATTRIBUTE -
Name of Exception XML attribute that contains the exception classname (see WebTestResult.toXml()).
XML_EXCEPTION_ELEMENT -
Name of Exception XML tag (see WebTestResult.toXml()).
XML_EXCEPTION_MESSAGE_ELEMENT -
Name of Exception Message XML tag (see WebTestResult.toXml()).
XML_EXCEPTION_STACKTRACE_ELEMENT -
Name of Exception Stacktrace XML tag (see WebTestResult.toXml()).
XML_ROOT_ELEMENT -
Name of Root XML tag (see WebTestResult.toXml()).

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

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