- AbstractAuthentication - Class in org.apache.cactus.client.authentication
-
This class was designed with the simple assumption that ALL authentication
implementations will have a String Name
and a String
Password
.
- AbstractAuthentication(String, String) - Constructor for class org.apache.cactus.client.authentication.AbstractAuthentication
-
- AbstractCactusTestCase - Class in org.apache.cactus.internal
-
Base class for all Cactus test case extensions.
- AbstractCactusTestCase() - Constructor for class org.apache.cactus.internal.AbstractCactusTestCase
-
Default constructor defined in order to allow creating Test Case
without needing to define constructor (new feature in JUnit 3.8.1).
- AbstractCactusTestCase(String) - Constructor for class org.apache.cactus.internal.AbstractCactusTestCase
-
Constructs a JUnit test case with the given name.
- AbstractCactusTestCase(String, Test) - Constructor for class org.apache.cactus.internal.AbstractCactusTestCase
-
Wraps a pure JUnit Test Case in a Cactus Test Case.
- AbstractHttpServletRequestWrapper - Class in org.apache.cactus.server
-
Abstract wrapper around HttpServletRequest
.
- AbstractHttpServletRequestWrapper(HttpServletRequest, ServletURL) - Constructor for class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
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.
- AbstractHttpServletRequestWrapper23 - Class in org.apache.cactus.server
-
- AbstractHttpServletRequestWrapper23(HttpServletRequest, ServletURL) - Constructor for class org.apache.cactus.server.AbstractHttpServletRequestWrapper23
-
Construct a 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.
- AbstractPageContextWrapper - Class in org.apache.cactus.server
-
Abstract wrapper around PageContext
.
- AbstractPageContextWrapper(PageContext, ServletURL) - Constructor for class org.apache.cactus.server.AbstractPageContextWrapper
-
Construct an PageContext
instance that delegates
it's method calls to the page context object passed as parameter and
that uses the URL passed as parameter to simulate a URL from which
the request would come from.
- AbstractPageContextWrapper23 - Class in org.apache.cactus.server
-
- AbstractPageContextWrapper23(PageContext, ServletURL) - Constructor for class org.apache.cactus.server.AbstractPageContextWrapper23
-
Construct a PageContext
instance that delegates
it's method calls to the page context object passed as parameter and
that uses the URL passed as parameter to simulate a URL from which
the request would come from.
- AbstractServletConfigWrapper - Class in org.apache.cactus.server
-
Abstract wrapper around ServletConfig
which overrides the
getServletContext()
method to return our own wrapper around
ServletContext
.
- AbstractServletConfigWrapper(ServletConfig) - Constructor for class org.apache.cactus.server.AbstractServletConfigWrapper
-
- AbstractServletContextWrapper - Class in org.apache.cactus.server
-
Abstract wrapper around ServletContext
.
- AbstractServletContextWrapper(ServletContext) - Constructor for class org.apache.cactus.server.AbstractServletContextWrapper
-
- AbstractTestSuite - Class in org.apache.cactus.internal
-
Test Suite that wraps all the tests of the suite in Cactus Test Case
objects so that pure JUnit tests can be run on the server side.
- AbstractTestSuite() - Constructor for class org.apache.cactus.internal.AbstractTestSuite
-
- AbstractTestSuite(Class) - Constructor for class org.apache.cactus.internal.AbstractTestSuite
-
- AbstractTestSuite(String) - Constructor for class org.apache.cactus.internal.AbstractTestSuite
-
- AbstractWebConfiguration - Class in org.apache.cactus.internal.configuration
-
Common implementation for all WebConfiguration
implementations.
- AbstractWebConfiguration() - Constructor for class org.apache.cactus.internal.configuration.AbstractWebConfiguration
-
- AbstractWebImplicitObjects - Class in org.apache.cactus.internal.server
-
Holder class that contains the instances of the implicit objects that exist
for all web requests.
- AbstractWebImplicitObjects() - Constructor for class org.apache.cactus.internal.server.AbstractWebImplicitObjects
-
- AbstractWebTestCaller - Class in org.apache.cactus.internal.server
-
Responsible for instanciating the TestCase
class on the server
side, set up the implicit objects and call the test method.
- AbstractWebTestCaller(WebImplicitObjects) - Constructor for class org.apache.cactus.internal.server.AbstractWebTestCaller
-
- AbstractWebTestController - Class in org.apache.cactus.internal.server
-
Controller that extracts the requested service from the HTTP request and
executes the request.
- AbstractWebTestController() - Constructor for class org.apache.cactus.internal.server.AbstractWebTestController
-
- addCookie(String, String) - Method in class org.apache.cactus.internal.BaseWebRequest
-
- addCookie(String, String, String) - Method in class org.apache.cactus.internal.BaseWebRequest
-
- addCookie(Cookie) - Method in class org.apache.cactus.internal.BaseWebRequest
-
- addCookie(String, String) - Method in interface org.apache.cactus.WebRequest
-
Adds a cookie to the request.
- addCookie(String, String, String) - Method in interface org.apache.cactus.WebRequest
-
Adds a cookie to the request.
- addCookie(Cookie) - Method in interface org.apache.cactus.WebRequest
-
Adds a cookie to the request.
- addError(Test, Throwable) - Method in class org.apache.cactus.internal.server.runner.WebappTestRunner
-
- addError(Test, Throwable) - Method in class org.apache.cactus.internal.server.runner.XMLFormatter
-
Event called by the base test runner when the test fails with an error.
- addFailure(Test, AssertionFailedError) - Method in class org.apache.cactus.internal.server.runner.WebappTestRunner
-
- addFailure(Test, AssertionFailedError) - Method in class org.apache.cactus.internal.server.runner.XMLFormatter
-
Event called by the base test runner when the test fails with a failure.
- addHeader(String, String) - Method in class org.apache.cactus.internal.BaseWebRequest
-
- addHeader(String, String) - Method in interface org.apache.cactus.WebRequest
-
Adds a header to the request.
- addHttpGetParameters(WebRequest, URL) - Static method in class org.apache.cactus.internal.client.connector.http.HttpUtil
-
Add HTTP GET parameters to the URL passed as parameter.
- addInterceptor(JspTagLifecycle.Interceptor) - Method in class org.apache.cactus.extension.jsp.JspTagLifecycle
-
Adds an interceptor to the interceptor chain.
- addNestedTag(Tag) - Method in class org.apache.cactus.extension.jsp.JspTagLifecycle
-
Adds a nested tag.
- addNestedText(String) - Method in class org.apache.cactus.extension.jsp.JspTagLifecycle
-
Adds template text to nest inside the tag.
- addParameter(String, String, String) - Method in class org.apache.cactus.internal.BaseWebRequest
-
- addParameter(String, String) - Method in class org.apache.cactus.internal.BaseWebRequest
-
- addParameter(String, String, String) - Method in interface org.apache.cactus.WebRequest
-
Adds a parameter to the request.
- addParameter(String, String) - Method in interface org.apache.cactus.WebRequest
-
Adds a parameter to the request.
- addTest(Test) - Method in class org.apache.cactus.internal.AbstractTestSuite
-
- addTest(Test) - Method in class org.apache.cactus.ServletTestSuite
-
- addTestSuite(Class) - Method in class org.apache.cactus.internal.AbstractTestSuite
-
- addTestSuite(Class) - Method in class org.apache.cactus.ServletTestSuite
-
- afterTest(ProtocolState) - Method in class org.apache.cactus.internal.client.connector.http.HttpProtocolHandler
-
- afterTest(ProtocolState) - Method in interface org.apache.cactus.spi.client.connector.ProtocolHandler
-
Let the connector implementor clean up after the test.
- AssertionFailedErrorWrapper - Error in org.apache.cactus.internal.client
-
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) - Constructor for error org.apache.cactus.internal.client.AssertionFailedErrorWrapper
-
Standard throwable constructor.
- AssertionFailedErrorWrapper() - Constructor for error org.apache.cactus.internal.client.AssertionFailedErrorWrapper
-
Standard throwable constructor.
- AssertionFailedErrorWrapper(String, String, String) - Constructor for error org.apache.cactus.internal.client.AssertionFailedErrorWrapper
-
The constructor to use to simulate a real exception.
- ATTR_ERRORS - Static variable in interface org.apache.cactus.internal.server.runner.XMLConstants
-
Errors attribute for testsuite elements
- ATTR_FAILURES - Static variable in interface org.apache.cactus.internal.server.runner.XMLConstants
-
Failures attribute for testsuite elements
- ATTR_MESSAGE - Static variable in interface org.apache.cactus.internal.server.runner.XMLConstants
-
Message attribute for failure elements (message of the exception)
- ATTR_NAME - Static variable in interface org.apache.cactus.internal.server.runner.XMLConstants
-
Name attribute for property, testcase and testsuite elements
- ATTR_TESTS - Static variable in interface org.apache.cactus.internal.server.runner.XMLConstants
-
Tests attribute for testsuite elements (number of tests executed)
- ATTR_TIME - Static variable in interface org.apache.cactus.internal.server.runner.XMLConstants
-
Time attribute for testcase and testsuite elements
- ATTR_TYPE - Static variable in interface org.apache.cactus.internal.server.runner.XMLConstants
-
Type attribute for failure and error elements
- authenticate(WebRequest, Configuration) - Method in class org.apache.cactus.client.authentication.FormAuthentication
-
Authenticate the principal by calling the security URL.
- Authentication - Interface in org.apache.cactus.client.authentication
-
Interface for different authentication modules.
- AUTOSESSION_NAME_PARAM - Static variable in interface org.apache.cactus.internal.HttpServiceDefinition
-
Name of the parameter in the HTTP request that specify if a session
should be automatically created for the user or not.
- CACTUS_CONTEXT_URL_PROPERTY - Static variable in class org.apache.cactus.internal.configuration.BaseConfiguration
-
Name of Cactus property that specify the URL up to the webapp context.
- CACTUS_FILTER_REDIRECTOR_NAME_PROPERTY - Static variable in class org.apache.cactus.internal.configuration.DefaultFilterConfiguration
-
Name of the cactus property that specifies the name of the JSP
redirector.
- CACTUS_JSP_REDIRECTOR_NAME_PROPERTY - Static variable in class org.apache.cactus.internal.configuration.DefaultJspConfiguration
-
Name of the cactus property that specifies the name of the JSP
redirector.
- CACTUS_SERVLET_REDIRECTOR_NAME_PROPERTY - Static variable in class org.apache.cactus.internal.configuration.DefaultServletConfiguration
-
Name of the cactus property that specifies the name of the Servlet
redirector.
- CactusTestCase - Interface in org.apache.cactus.internal
-
Common interface that must be implemented by all Cactus test cases.
- CALL_TEST_SERVICE - Static variable in class org.apache.cactus.internal.ServiceEnumeration
-
Call test method Service.
- callBeginMethod(Request) - Method in class org.apache.cactus.internal.client.ClientTestCaseCaller
-
Call the test case begin method.
- callEndMethod(Request, ResponseObjectFactory) - Method in class org.apache.cactus.internal.client.ClientTestCaseCaller
-
Call the test case end method
- callGlobalBeginMethod(Request) - Method in class org.apache.cactus.internal.client.ClientTestCaseCaller
-
Call the global begin method.
- ChainedException - Exception in org.apache.cactus.util
-
A checked chained exception.
- ChainedException(String) - Constructor for exception org.apache.cactus.util.ChainedException
-
Create a ChainedException
and set the exception error
message.
- ChainedException(String, Throwable) - Constructor for exception org.apache.cactus.util.ChainedException
-
Create a ChainedException
, set the exception error
message along with the exception object that caused this exception.
- ChainedException(Throwable) - Constructor for exception org.apache.cactus.util.ChainedException
-
Create a ChaineException
, and set exception object
that caused this exception.
- ChainedRuntimeException - Exception in org.apache.cactus.util
-
Represent an exception that should stop the running test.
- ChainedRuntimeException(String) - Constructor for exception org.apache.cactus.util.ChainedRuntimeException
-
Create a ChainedRuntimeException
and set the exception
error message.
- ChainedRuntimeException(String, Throwable) - Constructor for exception org.apache.cactus.util.ChainedRuntimeException
-
Create a ChainedRuntimeException
, set the exception error
message along with the exception object that caused this exception.
- ChainedRuntimeException(Throwable) - Constructor for exception org.apache.cactus.util.ChainedRuntimeException
-
Create a ChainedRuntimeException
, and set exception object
that caused this exception.
- checkAsBeginMethod(Method) - Static method in class org.apache.cactus.internal.util.TestCaseImplementChecker
-
Check if the method is suitable for a begin method.
- checkAsEndMethod(Method) - Static method in class org.apache.cactus.internal.util.TestCaseImplementChecker
-
Check if the method is suitable for a end method.
- checkAuthResponse(HttpURLConnection) - Method in class org.apache.cactus.client.authentication.FormAuthentication
-
Check if the auth step can be considered as succeeded or not.
- checkPreAuthResponse(HttpURLConnection) - Method in class org.apache.cactus.client.authentication.FormAuthentication
-
Check if the pre-auth step can be considered as succeeded or not.
- checkTestName(Test) - Static method in class org.apache.cactus.internal.util.TestCaseImplementChecker
-
Check if the Test to run is properly implemented or not.
- CLASS_NAME_PARAM - Static variable in interface org.apache.cactus.internal.HttpServiceDefinition
-
Name of the parameter in the HTTP request that represents the name of the
Test class to call.
- ClassLoaderUtils - Class in org.apache.cactus.internal.util
-
Utiliy methods related to class loading in a webapp environment.
- ClassLoaderUtils() - Constructor for class org.apache.cactus.internal.util.ClassLoaderUtils
-
- CLIENT_GLOBAL_BEGIN_METHOD - Static variable in class org.apache.cactus.internal.client.ClientTestCaseCaller
-
The name of the method that is called before each test on the client
side (if it exists).
- CLIENT_GLOBAL_END_METHOD - Static variable in class org.apache.cactus.internal.client.ClientTestCaseCaller
-
The name of the method that is called after each test on the client
side (if it exists).
- ClientException - Exception in org.apache.cactus.internal.client
-
A Cactus client side exception.
- ClientException(String) - Constructor for exception org.apache.cactus.internal.client.ClientException
-
- ClientException(String, Throwable) - Constructor for exception org.apache.cactus.internal.client.ClientException
-
- ClientException(Throwable) - Constructor for exception org.apache.cactus.internal.client.ClientException
-
- ClientTestCaseCaller - Class in org.apache.cactus.internal.client
-
Provides the ability to run common code before and after each test on the
client side.
- ClientTestCaseCaller(Test, Test, ProtocolHandler) - Constructor for class org.apache.cactus.internal.client.ClientTestCaseCaller
-
- COMMAND_PREFIX - Static variable in interface org.apache.cactus.internal.HttpServiceDefinition
-
Prefix indicating that a String is an official Cactus command.
- config - Variable in class org.apache.cactus.FilterTestCase
-
Valid FilterConfig
object that you can access from
the testXXX()
, setUp
and
tearDown()
methods.
- config - Variable in class org.apache.cactus.internal.server.FilterImplicitObjects
-
The Filter configuration object.
- config - Variable in class org.apache.cactus.internal.server.ServletImplicitObjects
-
The Servlet configuration object.
- config - Variable in class org.apache.cactus.ServletTestCase
-
Valid ServletConfig
object that you can access from
the testXXX()
, setUp
and
tearDown()
methods.
- configuration - Variable in class org.apache.cactus.internal.client.connector.http.DefaultHttpClient
-
Cactus configuration.
- Configuration - Interface in org.apache.cactus.internal.configuration
-
Contains all configuration information for the Cactus framework.
- ConfigurationInitializer - Class in org.apache.cactus.internal.configuration
-
Read Cactus configuration files and set the properties found as
System properties.
- ConfigurationInitializer() - Constructor for class org.apache.cactus.internal.configuration.ConfigurationInitializer
-
- configure(HttpState, HttpMethod, WebRequest, Configuration) - Method in interface org.apache.cactus.client.authentication.Authentication
-
Modifies the request so that it will carry authentication information.
- configure(HttpState, HttpMethod, WebRequest, Configuration) - Method in class org.apache.cactus.client.authentication.BasicAuthentication
-
- configure(HttpState, HttpMethod, WebRequest, Configuration) - Method in class org.apache.cactus.client.authentication.FormAuthentication
-
- connect(WebRequest, Configuration) - Method in interface org.apache.cactus.internal.client.connector.http.ConnectionHelper
-
Connects to the Cactus Redirector using HTTP.
- connect(WebRequest, Configuration) - Method in class org.apache.cactus.internal.client.connector.http.HttpClientConnectionHelper
-
- ConnectionHelper - Interface in org.apache.cactus.internal.client.connector.http
-
Helper class to open an HTTP connection to the server redirector and pass
to it HTTP parameters, Cookies and HTTP headers.
- context - Variable in class org.apache.cactus.internal.server.AbstractWebImplicitObjects
-
The Context object.
- Cookie - Class in org.apache.cactus
-
Client cookie.
- Cookie(String, String, String) - Constructor for class org.apache.cactus.Cookie
-
Create a cookie.
- CookieUtil - Class in org.apache.cactus.internal.util
-
Utility methods to manipulate cookies and transform Cactus cookie objects
to HttpClient cookie objects.
- CookieUtil() - Constructor for class org.apache.cactus.internal.util.CookieUtil
-
- countTestCases() - Method in class org.apache.cactus.internal.AbstractTestSuite
-
- CREATE_SESSION_SERVICE - Static variable in class org.apache.cactus.internal.ServiceEnumeration
-
Service used to create an HTTP session so that it is returned
in a cookie.
- createCactusTestCase(String, Test) - Method in class org.apache.cactus.internal.AbstractTestSuite
-
- createCactusTestCase(String, Test) - Method in class org.apache.cactus.ServletTestSuite
-
- createCookieHeader(String, String, Cookie[]) - Static method in class org.apache.cactus.internal.util.CookieUtil
-
Create a HttpClient Header
for cookies that matches
the domain and path.
- createHttpClientCookie(WebRequest, URL, Cookie) - Static method in class org.apache.cactus.internal.util.CookieUtil
-
Create a Commons-HttpClient cookie from a Cactus cookie, with information
from the web request and the URL.
- createHttpClientCookies(WebRequest, URL) - Static method in class org.apache.cactus.internal.util.CookieUtil
-
Transforms an array of Cactus cookies into an array of Commons-HttpClient
cookies, using information from the request and URL.
- createProtocolHandler() - Method in class org.apache.cactus.FilterTestCase
-
- createProtocolHandler() - Method in class org.apache.cactus.internal.AbstractCactusTestCase
-
Create a protocol handler instance that will be used to connect to the
server side.
- createProtocolHandler() - Method in class org.apache.cactus.JspTestCase
-
- createProtocolHandler() - Method in class org.apache.cactus.ServletTestCase
-
- createRequest() - Method in class org.apache.cactus.internal.client.connector.http.HttpProtocolHandler
-
- createRequest() - Method in interface org.apache.cactus.spi.client.connector.ProtocolHandler
-
Create a request object that will be passed to the begin()
and beginXXX()
methods.
- createResponseObjectFactory(ProtocolState) - Method in class org.apache.cactus.internal.client.connector.http.HttpProtocolHandler
-
- createResponseObjectFactory(ProtocolState) - Method in interface org.apache.cactus.spi.client.connector.ProtocolHandler
-
Create a factory that is used by the core to create test response object
that will be passed to the endXXX()
and end()
methods.
- createTestSuite(Class) - Method in class org.apache.cactus.internal.AbstractTestSuite
-
- createTestSuite(Class) - Method in class org.apache.cactus.ServletTestSuite
-
- END_METHOD_PREFIX - Static variable in class org.apache.cactus.internal.client.ClientTestCaseCaller
-
The prefix of an end test method.
- endTest(Test) - Method in class org.apache.cactus.internal.server.runner.WebappTestRunner
-
- endTest(Test) - Method in class org.apache.cactus.internal.server.runner.XMLFormatter
-
Event called by the base test runner when the test ends.
- equals(Object) - Method in class org.apache.cactus.Cookie
-
Two cookies match if the name, path and domain match.
- equals(String) - Method in class org.apache.cactus.internal.ServiceEnumeration
-
- equals(Object) - Method in class org.apache.cactus.internal.ServiceEnumeration
-
Always compares object identity.
- ERROR - Static variable in interface org.apache.cactus.internal.server.runner.XMLConstants
-
The error element (for a test case)
- evalBody(int, BodyContent) - Method in class org.apache.cactus.extension.jsp.JspTagLifecycle.Interceptor
-
Method called when the body of the tag would be evaluated.
- exceptionClassname - Variable in class org.apache.cactus.internal.client.WebTestResultParser
-
Parsed exception class name
- exceptionMessage - Variable in class org.apache.cactus.internal.client.WebTestResultParser
-
Parsed exception message
- exceptionStacktrace - Variable in class org.apache.cactus.internal.client.WebTestResultParser
-
Parsed exception stack trace
- exceptionToString(Throwable) - Static method in class org.apache.cactus.internal.util.StringUtil
-
Returns the stack trace of an exception as String.
- exceptionToString(Throwable, String[]) - Static method in class org.apache.cactus.internal.util.StringUtil
-
Returns the stack trace of an exception as String, optionally filtering
out line from the stack trac
- expectBodyEvaluated() - Method in class org.apache.cactus.extension.jsp.JspTagLifecycle
-
Adds the expectation that the tag body must be evaluated once in the
course of the tags lifecycle.
- expectBodyEvaluated(int) - Method in class org.apache.cactus.extension.jsp.JspTagLifecycle
-
Adds the expectation that the tag body must be evaluated a specific
number of times in the course of the tags lifecycle.
- expectBodySkipped() - Method in class org.apache.cactus.extension.jsp.JspTagLifecycle
-
Adds the expectation that the tag body must be skipped.
- expectScopedVariableExposed(String, Object[]) - Method in class org.apache.cactus.extension.jsp.JspTagLifecycle
-
Adds a special expectation that verifies that a specific scoped variable
is exposed in the body of the tag.
- expectScopedVariableExposed(String, Object[], int) - Method in class org.apache.cactus.extension.jsp.JspTagLifecycle
-
Adds a special expectation that verifies that a specific scoped variable
is exposed in the body of the tag.
- generate(TestCase) - Static method in class org.apache.cactus.internal.util.UniqueGenerator
-
Generates a unique identifier for a Cactus test.
- generate(TestCase, long) - Static method in class org.apache.cactus.internal.util.UniqueGenerator
-
Generates a unique identifier for a Cactus test.
- GET_METHOD - Static variable in interface org.apache.cactus.WebRequest
-
GET Method identifier.
- GET_RESULTS_SERVICE - Static variable in class org.apache.cactus.internal.ServiceEnumeration
-
Get the previous test results Service.
- GET_VERSION_SERVICE - Static variable in class org.apache.cactus.internal.ServiceEnumeration
-
Service that returns a cactus version identifier.
- getAttribute(String) - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- getAttribute(String) - Method in class org.apache.cactus.server.AbstractPageContextWrapper
-
- getAttribute(String, int) - Method in class org.apache.cactus.server.AbstractPageContextWrapper
-
- getAttribute(String) - Method in class org.apache.cactus.server.AbstractServletContextWrapper
-
- getAttributeNames() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- getAttributeNames() - Method in class org.apache.cactus.server.AbstractServletContextWrapper
-
- getAttributeNamesInScope(int) - Method in class org.apache.cactus.server.AbstractPageContextWrapper
-
- getAttributesScope(String) - Method in class org.apache.cactus.server.AbstractPageContextWrapper
-
- getAuthentication() - Method in class org.apache.cactus.internal.BaseWebRequest
-
- getAuthentication() - Method in interface org.apache.cactus.WebRequest
-
- getAuthType() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- getAutomaticSession() - Method in class org.apache.cactus.internal.WebRequestImpl
-
- getAutomaticSession() - Method in interface org.apache.cactus.WebRequest
-
- getCharacterEncoding() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- getComment() - Method in class org.apache.cactus.Cookie
-
Returns the comment describing the purpose of this cookie, or
null if no such comment has been defined.
- getConfigFile() - Method in class org.apache.cactus.extension.jetty.JettyTestSetup
-
- getConfiguration() - Method in class org.apache.cactus.internal.BaseWebRequest
-
- getConnection() - Method in class org.apache.cactus.internal.client.connector.http.HttpProtocolState
-
- getConnection() - Method in class org.apache.cactus.WebResponse
-
- getContentLength() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- getContentType() - Method in class org.apache.cactus.internal.BaseWebRequest
-
- getContentType() - Method in class org.apache.cactus.internal.server.runner.XMLTransformer
-
Returns the content type that will be produced by the XSLT stylesheet
after transformation.
- getContentType() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- getContentType() - Method in interface org.apache.cactus.WebRequest
-
- getContext(String) - Method in class org.apache.cactus.server.AbstractServletContextWrapper
-
- getContextPath() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- getContextPath() - Method in class org.apache.cactus.ServletURL
-
- getContextURL() - Method in class org.apache.cactus.internal.configuration.BaseConfiguration
-
- getContextURL() - Method in interface org.apache.cactus.internal.configuration.Configuration
-
- getCookie(String) - Method in class org.apache.cactus.WebResponse
-
Return the first cookie found that has the specified name or null
if not found.
- getCookieDomain(WebRequest, String) - Static method in class org.apache.cactus.Cookie
-
- getCookieDomain(WebRequest, String) - Static method in class org.apache.cactus.internal.util.CookieUtil
-
Returns the domain that will be used to send the cookies.
- getCookieIgnoreCase(String) - Method in class org.apache.cactus.WebResponse
-
Return the first cookie found that has the specified name or null
if not found.
- getCookiePath(WebRequest, String) - Static method in class org.apache.cactus.Cookie
-
- getCookiePath(WebRequest, String) - Static method in class org.apache.cactus.internal.util.CookieUtil
-
Returns the path that will be used to validate if a cookie will be
sent or not.
- getCookiePort(WebRequest, int) - Static method in class org.apache.cactus.Cookie
-
- getCookiePort(WebRequest, int) - Static method in class org.apache.cactus.internal.util.CookieUtil
-
Returns the port that will be used to send the cookies.
- getCookies() - Method in class org.apache.cactus.internal.BaseWebRequest
-
- getCookies() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- getCookies() - Method in interface org.apache.cactus.WebRequest
-
- getCookies() - Method in class org.apache.cactus.WebResponse
-
- getCookieString(WebRequest, URL) - Static method in class org.apache.cactus.internal.util.CookieUtil
-
- getDateHeader(String) - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- getDefaultRedirectorName() - Method in class org.apache.cactus.internal.configuration.DefaultFilterConfiguration
-
- getDefaultRedirectorName() - Method in class org.apache.cactus.internal.configuration.DefaultJspConfiguration
-
- getDefaultRedirectorName() - Method in class org.apache.cactus.internal.configuration.DefaultServletConfiguration
-
- getDefaultRedirectorName() - Method in interface org.apache.cactus.internal.configuration.WebConfiguration
-
- getDefaultRedirectorURL() - Method in class org.apache.cactus.internal.configuration.AbstractWebConfiguration
-
- getDefaultRedirectorURL() - Method in interface org.apache.cactus.internal.configuration.WebConfiguration
-
- getDelegatedTest() - Method in class org.apache.cactus.internal.server.ServerTestCaseCaller
-
- getDomain() - Method in class org.apache.cactus.Cookie
-
Returns the domain of this cookie.
- getEncoding() - Method in class org.apache.cactus.internal.server.runner.XMLFormatter
-
- getErrorMessage() - Method in class org.apache.cactus.internal.server.runner.WebappTestRunner
-
- getException() - Method in class org.apache.cactus.server.AbstractPageContextWrapper
-
- getExceptionClassName() - Method in class org.apache.cactus.internal.WebTestResult
-
- getExceptionMessage() - Method in class org.apache.cactus.internal.WebTestResult
-
- getExceptionStackTrace() - Method in class org.apache.cactus.internal.WebTestResult
-
- getExpectedAuthResponse() - Method in class org.apache.cactus.client.authentication.FormAuthentication
-
Get the expected HTTP response status code for an authentication request
which should be successful.
- getExpiryDate() - Method in class org.apache.cactus.Cookie
-
Return the expiry date.
- getExpressionEvaluator() - Method in class org.apache.cactus.server.PageContextWrapper
-
- getFilterChain() - Method in class org.apache.cactus.internal.server.FilterImplicitObjects
-
- getFilterConfig() - Method in class org.apache.cactus.internal.server.FilterImplicitObjects
-
- getFilterConfig() - Method in class org.apache.cactus.server.FilterTestRedirector
-
Provided so that it works with containers that do not support the
latest Filter spec yet (ex: Orion 1.5.2)
- getFilterName() - Method in class org.apache.cactus.server.FilterConfigWrapper
-
- getHeader(String) - Method in class org.apache.cactus.internal.BaseWebRequest
-
- getHeader(String) - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- getHeader(String) - Method in interface org.apache.cactus.WebRequest
-
Returns the first value corresponding to this header's name.
- getHeaderNames() - Method in class org.apache.cactus.internal.BaseWebRequest
-
- getHeaderNames() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- getHeaderNames() - Method in interface org.apache.cactus.WebRequest
-
- getHeaders(String) - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- getHeaderValues(String) - Method in class org.apache.cactus.internal.BaseWebRequest
-
- getHeaderValues(String) - Method in interface org.apache.cactus.WebRequest
-
Returns all the values associated with this header's name.
- getHost() - Method in class org.apache.cactus.ServletURL
-
Returns the host name.
- getHttpServletRequest() - Method in class org.apache.cactus.internal.server.AbstractWebImplicitObjects
-
- getHttpServletRequest() - Method in interface org.apache.cactus.internal.server.WebImplicitObjects
-
- getHttpServletResponse() - Method in class org.apache.cactus.internal.server.AbstractWebImplicitObjects
-
- getHttpServletResponse() - Method in interface org.apache.cactus.internal.server.WebImplicitObjects
-
- getInitializer() - Method in class org.apache.cactus.internal.configuration.BaseConfiguration
-
- getInitializer() - Method in interface org.apache.cactus.internal.configuration.Configuration
-
- getInitParameter(String) - Method in class org.apache.cactus.server.AbstractServletConfigWrapper
-
- getInitParameter(String) - Method in class org.apache.cactus.server.AbstractServletContextWrapper
-
- getInitParameter(String) - Method in class org.apache.cactus.server.FilterConfigWrapper
-
- getInitParameterNames() - Method in class org.apache.cactus.server.AbstractServletConfigWrapper
-
- getInitParameterNames() - Method in class org.apache.cactus.server.AbstractServletContextWrapper
-
- getInitParameterNames() - Method in class org.apache.cactus.server.FilterConfigWrapper
-
Return the union of the parameters defined in the Redirector
web.xml
file and the one set using the
setInitParameter()
method.
- getInputStream() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- getInputStream() - Method in class org.apache.cactus.WebResponse
-
- getIntHeader(String) - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- getJspWriter() - Method in class org.apache.cactus.internal.server.JspImplicitObjects
-
- getLoader() - Method in class org.apache.cactus.internal.server.runner.WebappTestRunner
-
Overridden from BaseTestRunner in order to use either the context
class loader or the webapp one.
- getLocalAddr() - Method in class org.apache.cactus.server.HttpServletRequestWrapper
-
- getLocale() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- getLocales() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- getLocalName() - Method in class org.apache.cactus.server.HttpServletRequestWrapper
-
- getLocalPort() - Method in class org.apache.cactus.server.HttpServletRequestWrapper
-
- getLogger() - Method in class org.apache.cactus.internal.client.ClientTestCaseCaller
-
- getLogs() - Method in class org.apache.cactus.server.AbstractServletContextWrapper
-
Returns all the text logs that have been generated using the
log()
methods so that it is possible to easily assert the
content of the logs.
- getMajorVersion() - Method in class org.apache.cactus.server.AbstractServletContextWrapper
-
- getMethod() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- getMimeType(String) - Method in class org.apache.cactus.server.AbstractServletContextWrapper
-
- getMinorVersion() - Method in class org.apache.cactus.server.AbstractServletContextWrapper
-
- getName() - Method in class org.apache.cactus.client.authentication.AbstractAuthentication
-
- getName() - Method in class org.apache.cactus.Cookie
-
- getName() - Method in class org.apache.cactus.internal.AbstractTestSuite
-
- getNamedDispatcher(String) - Method in class org.apache.cactus.server.AbstractServletContextWrapper
-
- getOriginalConfig() - Method in class org.apache.cactus.server.AbstractServletConfigWrapper
-
- getOriginalContext() - Method in class org.apache.cactus.server.AbstractServletContextWrapper
-
- getOriginalPageContext() - Method in class org.apache.cactus.server.AbstractPageContextWrapper
-
- getOriginalRequest() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- getOut() - Method in class org.apache.cactus.server.AbstractPageContextWrapper
-
- getPage() - Method in class org.apache.cactus.server.AbstractPageContextWrapper
-
- getPageContext() - Method in class org.apache.cactus.internal.server.JspImplicitObjects
-
- getParameter(String) - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- getParameterGet(String) - Method in class org.apache.cactus.internal.BaseWebRequest
-
- getParameterGet(String) - Method in interface org.apache.cactus.WebRequest
-
Returns the first value corresponding to this parameter's name (provided
this parameter is passed in the URL).
- getParameterMap() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper23
-
- getParameterNames() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- getParameterNamesGet() - Method in class org.apache.cactus.internal.BaseWebRequest
-
- getParameterNamesGet() - Method in interface org.apache.cactus.WebRequest
-
- getParameterNamesPost() - Method in class org.apache.cactus.internal.BaseWebRequest
-
- getParameterNamesPost() - Method in interface org.apache.cactus.WebRequest
-
- getParameterPost(String) - Method in class org.apache.cactus.internal.BaseWebRequest
-
- getParameterPost(String) - Method in interface org.apache.cactus.WebRequest
-
Returns the first value corresponding to this parameter's name (provided
this parameter is passed in the request body - POST).
- getParameterValues(String) - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- getParameterValuesGet(String) - Method in class org.apache.cactus.internal.BaseWebRequest
-
- getParameterValuesGet(String) - Method in interface org.apache.cactus.WebRequest
-
Returns all the values corresponding to this parameter's name (provided
this parameter is passed in the URL).
- getParameterValuesPost(String) - Method in class org.apache.cactus.internal.BaseWebRequest
-
- getParameterValuesPost(String) - Method in interface org.apache.cactus.WebRequest
-
Returns all the values corresponding to this parameter's name (provided
this parameter is passed in the request body - POST).
- getPassword() - Method in class org.apache.cactus.client.authentication.AbstractAuthentication
-
- getPath() - Method in class org.apache.cactus.Cookie
-
Return the path this cookie is associated with.
- getPath(URL) - Static method in class org.apache.cactus.internal.util.UrlUtil
-
Returns the path part of the URL.
- getPath() - Method in class org.apache.cactus.ServletURL
-
- getPathInfo() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- getPathInfo() - Method in class org.apache.cactus.ServletURL
-
- getPathTranslated() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- getPort() - Method in class org.apache.cactus.ServletURL
-
Returns the port.
- getProtocol() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- getProtocol() - Method in class org.apache.cactus.ServletURL
-
- getQuery(URL) - Static method in class org.apache.cactus.internal.util.UrlUtil
-
Returns the query string of the URL.
- getQueryString() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- getQueryString() - Method in class org.apache.cactus.ServletURL
-
- getQueryStringParameter(String, String) - Static method in class org.apache.cactus.internal.server.ServletUtil
-
A substitute method for HttpServletRequest.getParameter()
.
- getReader() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- getRealPath(String) - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- getRealPath(String) - Method in class org.apache.cactus.server.AbstractServletContextWrapper
-
- getRedirectorName(WebRequest) - Method in class org.apache.cactus.internal.configuration.AbstractWebConfiguration
-
- getRedirectorName(WebRequest) - Method in interface org.apache.cactus.internal.configuration.WebConfiguration
-
- getRedirectorName() - Method in class org.apache.cactus.internal.WebRequestImpl
-
- getRedirectorName() - Method in interface org.apache.cactus.WebRequest
-
- getRedirectorURL(WebRequest) - Method in class org.apache.cactus.internal.configuration.AbstractWebConfiguration
-
- getRedirectorURL(WebRequest) - Method in interface org.apache.cactus.internal.configuration.WebConfiguration
-
- getRemoteAddr() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- getRemoteHost() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- getRemotePort() - Method in class org.apache.cactus.server.HttpServletRequestWrapper
-
- getRemoteUser() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- getRequest() - Method in class org.apache.cactus.server.AbstractPageContextWrapper
-
- getRequestDispatcher(String) - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- getRequestDispatcher(String) - Method in class org.apache.cactus.server.AbstractServletContextWrapper
-
- getRequestedSessionId() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- getRequestURI() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- getRequestURL() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper23
-
- getResource(String) - Method in class org.apache.cactus.server.AbstractServletContextWrapper
-
- getResourceAsStream(String) - Method in class org.apache.cactus.server.AbstractServletContextWrapper
-
- getResourceDir() - Method in class org.apache.cactus.extension.jetty.JettyTestSetup
-
- getResourcePaths() - Method in class org.apache.cactus.server.ServletContextWrapper
-
- getResourcePaths(String) - Method in class org.apache.cactus.server.ServletContextWrapper
-
Added to support the changes of the Jakarta Servlet API 2.3 of the
17/03/2001 (in anticipation of the upcoming draft of Servlet 2.3).
- getResponse() - Method in class org.apache.cactus.server.AbstractPageContextWrapper
-
- getResponseObject(String, Request) - Method in class org.apache.cactus.internal.client.WebResponseObjectFactory
-
- getResponseObject(String, Request) - Method in interface org.apache.cactus.spi.client.ResponseObjectFactory
-
Constructs response object that are passed as parameter to
endXXX()
and global end methods.
- getResponseWriter() - Method in class org.apache.cactus.internal.server.AbstractWebTestCaller
-
- getResponseWriter() - Method in class org.apache.cactus.internal.server.FilterTestCaller
-
- getResponseWriter() - Method in class org.apache.cactus.internal.server.JspTestCaller
-
- getResponseWriter() - Method in class org.apache.cactus.internal.server.ServletTestCaller
-
- getScheme() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- getSecurityCheckURL(Configuration) - Method in class org.apache.cactus.client.authentication.FormAuthentication
-
This returns the URL to use when attempting to log in.
- getSecurityRequest() - Method in class org.apache.cactus.client.authentication.FormAuthentication
-
- getServerInfo() - Method in class org.apache.cactus.server.AbstractServletContextWrapper
-
- getServerName() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- getServerName() - Method in class org.apache.cactus.ServletURL
-
- getServerPort() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- getServlet(String) - Method in class org.apache.cactus.server.AbstractServletContextWrapper
-
- getServletConfig() - Method in class org.apache.cactus.internal.server.ServletImplicitObjects
-
- getServletConfig() - Method in class org.apache.cactus.server.AbstractPageContextWrapper
-
- getServletContext() - Method in class org.apache.cactus.internal.server.AbstractWebImplicitObjects
-
- getServletContext() - Method in interface org.apache.cactus.internal.server.WebImplicitObjects
-
- getServletContext() - Method in class org.apache.cactus.server.AbstractPageContextWrapper
-
- getServletContext() - Method in class org.apache.cactus.server.AbstractServletConfigWrapper
-
- getServletContext() - Method in class org.apache.cactus.server.FilterConfigWrapper
-
- getServletContextName() - Method in class org.apache.cactus.server.ServletContextWrapper
-
- getServletName() - Method in class org.apache.cactus.server.AbstractServletConfigWrapper
-
- getServletNames() - Method in class org.apache.cactus.server.AbstractServletContextWrapper
-
- getServletPath() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- getServletPath() - Method in class org.apache.cactus.ServletURL
-
- getServlets() - Method in class org.apache.cactus.server.AbstractServletContextWrapper
-
- getSession() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- getSession(boolean) - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- getSession() - Method in class org.apache.cactus.server.AbstractPageContextWrapper
-
- getSessionCookie() - Method in class org.apache.cactus.internal.WebRequestImpl
-
- getSessionCookie() - Method in interface org.apache.cactus.WebRequest
-
Gets an HTTP session id by calling the server side and retrieving
the jsessionid cookie in the HTTP response.
- getStatusCode() - Method in class org.apache.cactus.WebResponse
-
Returns the status code returned by the server.
- getSuiteClassName() - Method in class org.apache.cactus.internal.server.runner.XMLFormatter
-
- getTestCaller(WebImplicitObjects) - Method in class org.apache.cactus.internal.server.AbstractWebTestController
-
- getTestCaller(WebImplicitObjects) - Method in class org.apache.cactus.internal.server.FilterTestController
-
- getTestCaller(WebImplicitObjects) - Method in class org.apache.cactus.internal.server.JspTestController
-
- getTestCaller(WebImplicitObjects) - Method in class org.apache.cactus.internal.server.ServletTestController
-
- getTestCaseName(Test) - Static method in class org.apache.cactus.internal.util.JUnitVersionHelper
-
JUnit 3.7 introduces TestCase.getName() and subsequent versions
of JUnit remove the old name() method.
- getTestClassClass(String) - Method in class org.apache.cactus.internal.server.AbstractWebTestCaller
-
- getTestClassInstance(String, String, String) - Method in class org.apache.cactus.internal.server.AbstractWebTestCaller
-
- getTestClassName() - Method in class org.apache.cactus.internal.server.AbstractWebTestCaller
-
- getTestConstructor(Class) - Static method in class org.apache.cactus.internal.AbstractTestSuite
-
Gets a constructor which takes a single String as
its argument or a no arg constructor.
- getTestMethodName() - Method in class org.apache.cactus.internal.server.AbstractWebTestCaller
-
- getText(InputStream) - Static method in class org.apache.cactus.internal.util.IoUtil
-
- getText(InputStream, String) - Static method in class org.apache.cactus.internal.util.IoUtil
-
Read all data in an Input stream and return them as a
String
object.
- getText() - Method in class org.apache.cactus.WebResponse
-
- getTextAsArray() - Method in class org.apache.cactus.WebResponse
-
- getTotalDurationAsString() - Method in class org.apache.cactus.internal.server.runner.XMLFormatter
-
- getURL() - Method in class org.apache.cactus.internal.WebRequestImpl
-
- getURL() - Method in interface org.apache.cactus.WebRequest
-
- getUserData() - Method in class org.apache.cactus.internal.BaseWebRequest
-
- getUserData() - Method in interface org.apache.cactus.WebRequest
-
- getUserPrincipal() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- getValue() - Method in class org.apache.cactus.Cookie
-
- getVariableResolver() - Method in class org.apache.cactus.server.PageContextWrapper
-
- getWebRequest() - Method in class org.apache.cactus.WebResponse
-
- getWrappedClassName() - Method in error org.apache.cactus.internal.client.AssertionFailedErrorWrapper
-
- getWrappedClassName() - Method in class org.apache.cactus.internal.client.ServletExceptionWrapper
-
- getWrappedTest() - Method in class org.apache.cactus.internal.server.ServerTestCaseCaller
-
- getWrappedTestClassName() - Method in class org.apache.cactus.internal.server.AbstractWebTestCaller
-
- org.apache.cactus - package org.apache.cactus
-
Contains all classes needed for writing Cactus tests.
- org.apache.cactus.client.authentication - package org.apache.cactus.client.authentication
-
Contains classes that support using and testing various authentification schemes.
- org.apache.cactus.extension.jetty - package org.apache.cactus.extension.jetty
-
Contains classes to support running Cactus tests against an embedded
Jetty container.
- org.apache.cactus.extension.jsp - package org.apache.cactus.extension.jsp
-
Contains utility classes to support unit testing of JSP tag libraries.
- org.apache.cactus.internal - package org.apache.cactus.internal
-
Contains Cactus internal implementation classes.
- org.apache.cactus.internal.client - package org.apache.cactus.internal.client
-
Contains the classes implementing of the client side of Cactus.
- org.apache.cactus.internal.client.connector.http - package org.apache.cactus.internal.client.connector.http
-
Contains the implementation of the HTTP transport for communication of
the client-side test runner with the server-side redirectors.
- org.apache.cactus.internal.configuration - package org.apache.cactus.internal.configuration
-
Contains the classes that support the configuration of Cactus.
- org.apache.cactus.internal.server - package org.apache.cactus.internal.server
-
Contains the classes implementing the server side of Cactus.
- org.apache.cactus.internal.server.runner - package org.apache.cactus.internal.server.runner
-
Contains the classes that implement the Cactus
ServletTestRunner
.
- org.apache.cactus.internal.util - package org.apache.cactus.internal.util
-
Contains various internal utility classes.
- org.apache.cactus.server - package org.apache.cactus.server
-
Contains the Cactus redirectors and the Cactus wrappers around all
Servlet, Filter and JSP implicit objects.
- org.apache.cactus.server.runner - package org.apache.cactus.server.runner
-
Contains the ServletTestRunner
which allows
running Cactus tests from a browser.
- org.apache.cactus.spi.client - package org.apache.cactus.spi.client
-
Contains Cactus client-side SPI classes required to implement new
protocols other than the Cactus-implemented ones.
- org.apache.cactus.spi.client.connector - package org.apache.cactus.spi.client.connector
-
- org.apache.cactus.spi.server - package org.apache.cactus.spi.server
-
- org.apache.cactus.util - package org.apache.cactus.util
-
Contains various utility classes.
- originalConfig - Variable in class org.apache.cactus.server.AbstractServletConfigWrapper
-
The original servlet config object
- originalContext - Variable in class org.apache.cactus.server.AbstractServletContextWrapper
-
The original servlet context object
- originalException - Variable in exception org.apache.cactus.util.ChainedException
-
Original exception which caused this exception.
- originalException - Variable in exception org.apache.cactus.util.ChainedRuntimeException
-
Original exception which caused this exception.
- originalPageContext - Variable in class org.apache.cactus.server.AbstractPageContextWrapper
-
The real page context
- out - Variable in class org.apache.cactus.JspTestCase
-
Valid JspWriter
object that you can access from
the testXXX()
, setUp
and
tearDown()
methods.
- pageContext - Variable in class org.apache.cactus.extension.jsp.JspTagLifecycle
-
The JSP page context.
- pageContext - Variable in class org.apache.cactus.internal.server.JspImplicitObjects
-
The JSP redirector PageContext
object.
- pageContext - Variable in class org.apache.cactus.JspTestCase
-
Valid PageContext
object that you can access from
the testXXX()
, setUp
and
tearDown()
methods.
- PageContextWrapper - Class in org.apache.cactus.server
-
Provide implementation of
PageContext
for the Servlet 2.4
API specifications.
- PageContextWrapper(PageContext, ServletURL) - Constructor for class org.apache.cactus.server.PageContextWrapper
-
- parse(String) - Method in class org.apache.cactus.internal.client.WebTestResultParser
-
Parse a string and transform it into a WebTestResult
object.
- ParsingException - Exception in org.apache.cactus.internal.client
-
Thrown when parsing the Web Test result (XML) and trying to build a
WebTestResult
object.
- ParsingException(String) - Constructor for exception org.apache.cactus.internal.client.ParsingException
-
- ParsingException(Throwable) - Constructor for exception org.apache.cactus.internal.client.ParsingException
-
- ParsingException(String, Throwable) - Constructor for exception org.apache.cactus.internal.client.ParsingException
-
- popBody() - Method in class org.apache.cactus.server.AbstractPageContextWrapper
-
- POST_METHOD - Static variable in interface org.apache.cactus.WebRequest
-
POST Method identifier.
- printStackTrace(PrintStream) - Method in error org.apache.cactus.internal.client.AssertionFailedErrorWrapper
-
Simulates a printing of a stack trace by printing the string stack trace
- printStackTrace(PrintWriter) - Method in error org.apache.cactus.internal.client.AssertionFailedErrorWrapper
-
Simulates a printing of a stack trace by printing the string stack trace
- printStackTrace(PrintStream) - Method in class org.apache.cactus.internal.client.ServletExceptionWrapper
-
Simulates a printing of a stack trace by printing the string stack trace
- printStackTrace(PrintWriter) - Method in class org.apache.cactus.internal.client.ServletExceptionWrapper
-
Simulates a printing of a stack trace by printing the string stack trace
- printStackTrace() - Method in error org.apache.cactus.internal.util.TestCaseImplementError
-
Print the full stack trace, including the original exception.
- printStackTrace() - Method in exception org.apache.cactus.util.ChainedException
-
Print the full stack trace, including the original exception.
- printStackTrace(PrintStream) - Method in exception org.apache.cactus.util.ChainedException
-
Print the full stack trace, including the original exception.
- printStackTrace(PrintWriter) - Method in exception org.apache.cactus.util.ChainedException
-
Print the full stack trace, including the original exception.
- printStackTrace() - Method in exception org.apache.cactus.util.ChainedRuntimeException
-
Print the full stack trace, including the original exception.
- printStackTrace(PrintStream) - Method in exception org.apache.cactus.util.ChainedRuntimeException
-
Print the full stack trace, including the original exception.
- printStackTrace(PrintWriter) - Method in exception org.apache.cactus.util.ChainedRuntimeException
-
Print the full stack trace, including the original exception.
- PROTOCOL_HTTP - Static variable in class org.apache.cactus.ServletURL
-
Http protocol.
- PROTOCOL_HTTPS - Static variable in class org.apache.cactus.ServletURL
-
Https protocol.
- ProtocolHandler - Interface in org.apache.cactus.spi.client.connector
-
Any communication protocol (e.g HTTP) used to connect between
Cactus client side and Cactus server side must implement this lifecycle
interface.
- ProtocolState - Interface in org.apache.cactus.spi.client.connector
-
Hold protocol-related information that need to be exchanged during the
lifecycle of the
ProtocolHandler
.
- pushBody() - Method in class org.apache.cactus.server.AbstractPageContextWrapper
-
- readExceptionClassname(String) - Method in class org.apache.cactus.internal.client.WebTestResultParser
-
- readExceptionMessage(String) - Method in class org.apache.cactus.internal.client.WebTestResultParser
-
- readExceptionStacktrace(String) - Method in class org.apache.cactus.internal.client.WebTestResultParser
-
- readFully(HttpURLConnection) - Method in class org.apache.cactus.extension.jetty.JettyTestSetup
-
Fully reads the input stream from the passed HTTP URL connection to
prevent (harmless) server-side exception.
- readRootElement(String) - Method in class org.apache.cactus.internal.client.WebTestResultParser
-
- release() - Method in class org.apache.cactus.server.AbstractPageContextWrapper
-
- reload(Class) - Method in class org.apache.cactus.internal.server.runner.WebappTestSuiteLoader
-
Not implemented.
- remoteHostName - Variable in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
Remote Host name to simulate (if any)
- remoteIPAddress - Variable in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
Remote IP address to simulate (if any)
- remoteUser - Variable in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
Remote user to simulate (if any)
- removeAttribute(String) - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- removeAttribute(String) - Method in class org.apache.cactus.server.AbstractPageContextWrapper
-
- removeAttribute(String, int) - Method in class org.apache.cactus.server.AbstractPageContextWrapper
-
- removeAttribute(String) - Method in class org.apache.cactus.server.AbstractServletContextWrapper
-
- replace(String, char, String) - Static method in class org.apache.cactus.internal.util.StringUtil
-
Replaces a character in a string by a substring.
- request - Variable in class org.apache.cactus.FilterTestCase
-
Valid HttpServletRequest
object that you can access from
the testXXX()
, setUp
and
tearDown()
methods.
- request - Variable in class org.apache.cactus.internal.server.AbstractWebImplicitObjects
-
The HTTP request object.
- Request - Interface in org.apache.cactus
-
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 - Variable in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
The real HTTP request
- request - Variable in class org.apache.cactus.ServletTestCase
-
Valid HttpServletRequest
object that you can access from
the testXXX()
, setUp
and
tearDown()
methods.
- RequestDirectives - Class in org.apache.cactus.internal
-
Encapsulates the Cactus-specific parameters added to a request.
- RequestDirectives(WebRequest) - Constructor for class org.apache.cactus.internal.RequestDirectives
-
- RequestDispatcherWrapper - Class in org.apache.cactus.server
-
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.cactus.server.RequestDispatcherWrapper
-
- response - Variable in class org.apache.cactus.FilterTestCase
-
Valid HttpServletResponse
object that you can access from
the testXXX()
, setUp
and
tearDown()
methods.
- response - Variable in class org.apache.cactus.internal.server.AbstractWebImplicitObjects
-
The HTTP response object.
- response - Variable in class org.apache.cactus.ServletTestCase
-
Valid HttpServletResponse
object that you can access from
the testXXX()
, setUp
and
tearDown()
methods.
- ResponseObjectFactory - Interface in org.apache.cactus.spi.client
-
Constructs response object that are passed as parameter to
endXXX()
and global end()
methods.
- run(TestResult) - Method in class org.apache.cactus.extension.jetty.JettyTestSetup
-
- run(TestResult) - Method in class org.apache.cactus.internal.AbstractTestSuite
-
- run(String, String, String) - Method in class org.apache.cactus.server.runner.ServletTestRunner
-
Run the suite tests and return the result.
- RUN_TEST_SERVICE - Static variable in class org.apache.cactus.internal.ServiceEnumeration
-
Noop service for testing.
- runBare() - Method in class org.apache.cactus.internal.AbstractCactusTestCase
-
JUnit method that is used to run the tests.
- runBareInit() - Method in class org.apache.cactus.internal.client.ClientTestCaseCaller
-
Perform client side initializations before each test, such as
re-initializating the logger and printing some logging information.
- runBareInit() - Method in class org.apache.cactus.internal.server.ServerTestCaseCaller
-
Perform server side initializations before each test, such as
initializating the logger.
- runBareServer() - Method in class org.apache.cactus.internal.AbstractCactusTestCase
-
- runBareServer() - Method in interface org.apache.cactus.internal.CactusTestCase
-
Executes JUnit tests on the server side.
- runFailed(String) - Method in class org.apache.cactus.internal.server.runner.WebappTestRunner
-
Event called by the base test runner when it fails to load a test suite.
- runTest(Test, TestResult) - Method in class org.apache.cactus.internal.AbstractTestSuite
-
- runTest() - Method in class org.apache.cactus.internal.client.ClientTestCaseCaller
-
Execute begin and end methods and calls the different
ProtocolHandler
lifecycle methods to execute the test
on the server side.
- runTest(Test, Test, Request) - Method in class org.apache.cactus.internal.client.connector.http.HttpProtocolHandler
-
- runTest(Test, Test, Request) - Method in interface org.apache.cactus.spi.client.connector.ProtocolHandler
-
Connect to the server side (to the redirector proxy), passing all
information to execute the test there, trigger the test execution and
gather the test results.
- saveToRequest(WebRequest) - Method in class org.apache.cactus.ServletURL
-
Saves the current URL to a WebRequest
object.
- ServerTestCaseCaller - Class in org.apache.cactus.internal.server
-
Provide the ability to execute Cactus test case classes on the server side.
- ServerTestCaseCaller(Test, Test) - Constructor for class org.apache.cactus.internal.server.ServerTestCaseCaller
-
- SERVICE_NAME_PARAM - Static variable in interface org.apache.cactus.internal.HttpServiceDefinition
-
Name of the parameter in the HTTP request that specify the service asked
to the Redirector Servlet.
- ServiceEnumeration - Class in org.apache.cactus.internal
-
List of valid services that the test redirectors can perform.
- ServletConfiguration - Interface in org.apache.cactus.internal.configuration
-
Provides access to the Cactus configuration parameters related to the
Servlet Redirector.
- ServletConfigWrapper - Class in org.apache.cactus.server
-
Wrapper around ServletConfig
for Servlet API 2.3.
- ServletConfigWrapper(ServletConfig) - Constructor for class org.apache.cactus.server.ServletConfigWrapper
-
- ServletContextWrapper - Class in org.apache.cactus.server
-
Wrapper around Servlet 2.3 ServletContext
.
- ServletContextWrapper(ServletContext) - Constructor for class org.apache.cactus.server.ServletContextWrapper
-
- ServletExceptionWrapper - Class in org.apache.cactus.internal.client
-
Wrapper around a Throwable
object.
- ServletExceptionWrapper(String) - Constructor for class org.apache.cactus.internal.client.ServletExceptionWrapper
-
Standard throwable constructor.
- ServletExceptionWrapper() - Constructor for class org.apache.cactus.internal.client.ServletExceptionWrapper
-
Standard throwable constructor.
- ServletExceptionWrapper(String, String, String) - Constructor for class org.apache.cactus.internal.client.ServletExceptionWrapper
-
The constructor to use to simulate a real exception.
- ServletImplicitObjects - Class in org.apache.cactus.internal.server
-
Holder class that contains the instances of the implicit objects that will
be accessible in the test classes (ie subclasses of
ServletTestCase
).
- ServletImplicitObjects() - Constructor for class org.apache.cactus.internal.server.ServletImplicitObjects
-
- servletName - Variable in class org.apache.cactus.server.AbstractServletConfigWrapper
-
Simulated name of the servlet
- ServletTestCaller - Class in org.apache.cactus.internal.server
-
Responsible for instanciating the TestCase
class on the server
side, set up the implicit objects and call the test method.
- ServletTestCaller(ServletImplicitObjects) - Constructor for class org.apache.cactus.internal.server.ServletTestCaller
-
- ServletTestCase - Class in org.apache.cactus
-
Cactus test case to unit test Servlets.
- ServletTestCase() - Constructor for class org.apache.cactus.ServletTestCase
-
- ServletTestCase(String) - Constructor for class org.apache.cactus.ServletTestCase
-
- ServletTestCase(String, Test) - Constructor for class org.apache.cactus.ServletTestCase
-
- ServletTestController - Class in org.apache.cactus.internal.server
-
Servlet Controller that extracts the requested service from the
HTTP request and executes the request by calling a
ServletTestCaller
.
- ServletTestController() - Constructor for class org.apache.cactus.internal.server.ServletTestController
-
- ServletTestRedirector - Class in org.apache.cactus.server
-
Generic Servlet redirector that calls a test method on the server side.
- ServletTestRedirector() - Constructor for class org.apache.cactus.server.ServletTestRedirector
-
- ServletTestRunner - Class in org.apache.cactus.server.runner
-
Helper servlet to start a JUnit Test Runner in a webapp.
- ServletTestRunner() - Constructor for class org.apache.cactus.server.runner.ServletTestRunner
-
- ServletTestSuite - Class in org.apache.cactus
-
TestSuite
wrapper that wraps all the tests of the
suite in Cactus
ServletTestCase
objects.
- ServletTestSuite() - Constructor for class org.apache.cactus.ServletTestSuite
-
- ServletTestSuite(Class) - Constructor for class org.apache.cactus.ServletTestSuite
-
- ServletTestSuite(String) - Constructor for class org.apache.cactus.ServletTestSuite
-
- ServletURL - Class in org.apache.cactus
-
Simulate an HTTP URL by breaking it into its different parts.
- ServletURL() - Constructor for class org.apache.cactus.ServletURL
-
Default constructor.
- ServletURL(String, String, String, String, String, String) - Constructor for class org.apache.cactus.ServletURL
-
Creates the URL to simulate.
- ServletURL(String, String, String, String, String) - Constructor for class org.apache.cactus.ServletURL
-
Creates the URL to simulate, using the default HTTP protocol.
- ServletUtil - Class in org.apache.cactus.internal.server
-
All prupose utility methods for manipulating the Servlet API.
- ServletUtil() - Constructor for class org.apache.cactus.internal.server.ServletUtil
-
- session - Variable in class org.apache.cactus.ServletTestCase
-
Valid HttpSession
object that you can access from
the testXXX()
, setUp
and
tearDown()
methods.
- setAttribute(String, Object) - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
- setAttribute(String, Object) - Method in class org.apache.cactus.server.AbstractPageContextWrapper
-
- setAttribute(String, Object, int) - Method in class org.apache.cactus.server.AbstractPageContextWrapper
-
- setAttribute(String, Object) - Method in class org.apache.cactus.server.AbstractServletContextWrapper
-
- setAuthentication(Authentication) - Method in class org.apache.cactus.internal.BaseWebRequest
-
- setAuthentication(Authentication) - Method in interface org.apache.cactus.WebRequest
-
Sets the authentication object that will configure the http request
- setAutomaticSession(boolean) - Method in class org.apache.cactus.internal.WebRequestImpl
-
- setAutomaticSession(boolean) - Method in interface org.apache.cactus.WebRequest
-
- setAutoSession(String) - Method in class org.apache.cactus.internal.RequestDirectives
-
- setCharacterEncoding(String) - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper23
-
- setClassName(String) - Method in class org.apache.cactus.internal.RequestDirectives
-
- setComment(String) - Method in class org.apache.cactus.Cookie
-
If a user agent (web browser) presents this cookie to a user, the
cookie's purpose will be described using this comment.
- setConfigFile(File) - Method in class org.apache.cactus.extension.jetty.JettyTestSetup
-
Sets the configuration file to use for initializing Jetty.
- setConfiguration(Configuration) - Method in class org.apache.cactus.internal.BaseWebRequest
-
- setConnection(HttpURLConnection) - Method in class org.apache.cactus.internal.client.connector.http.HttpProtocolState
-
- setContentType(String) - Method in class org.apache.cactus.internal.BaseWebRequest
-
- setContentType(String) - Method in interface org.apache.cactus.WebRequest
-
Sets the content type that will be set in the http request
- setContextPath(String) - Method in class org.apache.cactus.ServletURL
-
Sets the webapp context path in the URL to simulate, ie this is the
name that will be returned by the
HttpServletRequest.getContextPath()
.
- setDelegatedTest(Test) - Method in class org.apache.cactus.internal.server.ServerTestCaseCaller
-
- setDomain(String) - Method in class org.apache.cactus.Cookie
-
Sets the cookie domain.
- setEncoding(String) - Method in class org.apache.cactus.internal.server.runner.XMLFormatter
-
- setExpectedAuthResponse(int) - Method in class org.apache.cactus.client.authentication.FormAuthentication
-
Set the expected HTTP response status code for an authentication request
which should be successful.
- setExpiryDate(Date) - Method in class org.apache.cactus.Cookie
-
Set the cookie expires date.
- setFilterChain(FilterChain) - Method in class org.apache.cactus.internal.server.FilterImplicitObjects
-
- setFilterConfig(FilterConfig) - Method in class org.apache.cactus.internal.server.FilterImplicitObjects
-
- setFilterConfig(FilterConfig) - Method in class org.apache.cactus.server.FilterTestRedirector
-
Provided so that it works with containers that do not support the
latest Filter spec yet (ex: Orion 1.5.2)
- setFilterName(String) - Method in class org.apache.cactus.server.FilterConfigWrapper
-
Sets the filter name.
- setForceShutdown(boolean) - Method in class org.apache.cactus.extension.jetty.JettyTestSetup
-
- setHttpServletRequest(HttpServletRequest) - Method in class org.apache.cactus.internal.server.AbstractWebImplicitObjects
-
- setHttpServletRequest(HttpServletRequest) - Method in interface org.apache.cactus.internal.server.WebImplicitObjects
-
- setHttpServletResponse(HttpServletResponse) - Method in class org.apache.cactus.internal.server.AbstractWebImplicitObjects
-
- setHttpServletResponse(HttpServletResponse) - Method in interface org.apache.cactus.internal.server.WebImplicitObjects
-
- setInitParameter(String, String) - Method in class org.apache.cactus.server.AbstractServletConfigWrapper
-
Sets a parameter as if it were set in the web.xml
file.
- setInitParameter(String, String) - Method in class org.apache.cactus.server.AbstractServletContextWrapper
-
Sets a parameter as if it were set in the web.xml
file
(using the <context-param> element).
- setInitParameter(String, String) - Method in class org.apache.cactus.server.FilterConfigWrapper
-
Sets a parameter as if it were set in the web.xml
file.
- setJspWriter(JspWriter) - Method in class org.apache.cactus.internal.server.JspImplicitObjects
-
- setMethodName(String) - Method in class org.apache.cactus.internal.RequestDirectives
-
- setName(String) - Method in class org.apache.cactus.client.authentication.AbstractAuthentication
-
Sets the user name.
- setName(String) - Method in class org.apache.cactus.Cookie
-
Sets the cookie name
- setName(String) - Method in class org.apache.cactus.internal.AbstractTestSuite
-
- setPageContext(PageContext) - Method in class org.apache.cactus.internal.server.JspImplicitObjects
-
- setPassword(String) - Method in class org.apache.cactus.client.authentication.AbstractAuthentication
-
Sets the user password of the Credential.
- setPath(String) - Method in class org.apache.cactus.Cookie
-
Sets the cookie path.
- setPathInfo(String) - Method in class org.apache.cactus.ServletURL
-
Sets the path info in the URL to simulate, ie this is the name that will
be returned by the HttpServletRequest.getPathInfo()
.
- setProtocol(String) - Method in class org.apache.cactus.ServletURL
-
Sets the protocol to simulate (either
ServletURL.PROTOCOL_HTTP
or
ServletURL.PROTOCOL_HTTPS
.
- setQueryString(String) - Method in class org.apache.cactus.ServletURL
-
Sets the Query string in the URL to simulate, ie this is the string that
will be returned by the
HttpServletResquest.getQueryString()
.
- setRedirectorName(String) - Method in class org.apache.cactus.internal.WebRequestImpl
-
- setRedirectorName(String) - Method in interface org.apache.cactus.WebRequest
-
Override the redirector Name defined in cactus.properties
.
- setRemoteHostName(String) - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
Simulates the remote host name(ie the client host name).
- setRemoteIPAddress(String) - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
Simulates the remote IP address (ie the client IP address).
- setRemoteUser(String) - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
-
Sets the remote user name to simulate.
- setResourceDir(File) - Method in class org.apache.cactus.extension.jetty.JettyTestSetup
-
Sets the directory in which Jetty will look for the web-application
resources.
- setSecure(boolean) - Method in class org.apache.cactus.Cookie
-
Indicates to the user agent that the cookie should only be sent
using a secure protocol (https).
- setSecurityCheckURL(URL) - Method in class org.apache.cactus.client.authentication.FormAuthentication
-
This sets the URL to use when attempting to log in.
- setServerName(String) - Method in class org.apache.cactus.ServletURL
-
Sets the server name (and port) in the URL to simulate, ie this is the
name that will be returned by the
HttpServletRequest.getServerName()
and
HttpServletRequest.getServerPort()
.
- setService(ServiceEnumeration) - Method in class org.apache.cactus.internal.RequestDirectives
-
- setServletConfig(ServletConfig) - Method in class org.apache.cactus.internal.server.ServletImplicitObjects
-
- setServletContext(ServletContext) - Method in class org.apache.cactus.internal.server.AbstractWebImplicitObjects
-
- setServletContext(ServletContext) - Method in interface org.apache.cactus.internal.server.WebImplicitObjects
-
- setServletName(String) - Method in class org.apache.cactus.server.AbstractServletConfigWrapper
-
Sets the servlet name.
- setServletPath(String) - Method in class org.apache.cactus.ServletURL
-
Sets the servlet path in the URL to simulate, ie this is the name that
will be returned by the HttpServletRequest.getServletPath()
.
- setSessionCookieName(String) - Method in class org.apache.cactus.client.authentication.FormAuthentication
-
Set the cookie name of the session to theName.
- setSuiteClassName(String) - Method in class org.apache.cactus.internal.server.runner.XMLFormatter
-
Sets the suite class name that was executed.
- setTestCaseFields(TestCase) - Method in class org.apache.cactus.internal.server.AbstractWebTestCaller
-
Sets the implicit object in the test case class
- setTestCaseFields(TestCase) - Method in class org.apache.cactus.internal.server.FilterTestCaller
-
- setTestCaseFields(TestCase) - Method in class org.apache.cactus.internal.server.JspTestCaller
-
- setTestCaseFields(TestCase) - Method in class org.apache.cactus.internal.server.ServletTestCaller
-
- setTotalDuration(long) - Method in class org.apache.cactus.internal.server.runner.XMLFormatter
-
Sets the duration it took to execute all the tests.
- setUp() - Method in class org.apache.cactus.extension.jetty.JettyTestSetup
-
Start an embedded Jetty server.
- setURL(String, String, String, String, String) - Method in class org.apache.cactus.internal.WebRequestImpl
-
- setURL(String, String, String, String, String) - Method in interface org.apache.cactus.WebRequest
-
Sets the simulated URL.
- setUserData(InputStream) - Method in class org.apache.cactus.internal.BaseWebRequest
-
- setUserData(InputStream) - Method in interface org.apache.cactus.WebRequest
-
Allow the user to send arbitrary data in the request body
- setValue(String) - Method in class org.apache.cactus.Cookie
-
Sets the cookie value
- setWrappedTest(Test) - Method in class org.apache.cactus.internal.server.ServerTestCaseCaller
-
- setWrappedTestName(String) - Method in class org.apache.cactus.internal.RequestDirectives
-
- setXslFileName(String) - Method in class org.apache.cactus.internal.server.runner.XMLFormatter
-
Sets the XSL stylesheet file name to put in the returned XML string
so that the browser will try to apply it (IE at least, I don't know
about the others).
- skipBody() - Method in class org.apache.cactus.extension.jsp.JspTagLifecycle.Interceptor
-
Method called when the body of the tag would be skipped.
- startTest(Test) - Method in class org.apache.cactus.internal.server.runner.WebappTestRunner
-
- startTest(Test) - Method in class org.apache.cactus.internal.server.runner.XMLFormatter
-
Event called by the base test runner when the test starts.
- StringUtil - Class in org.apache.cactus.internal.util
-
Various utility methods for string manipulation.
- StringUtil() - Constructor for class org.apache.cactus.internal.util.StringUtil
-
- tearDown() - Method in class org.apache.cactus.extension.jetty.JettyTestSetup
-
Stop the running Jetty server.
- TEST_ID_PARAM - Static variable in interface org.apache.cactus.internal.HttpServiceDefinition
-
Name of the parameter in the HTTP request that represents the unique id
of the test case (to ensure that the client-side test gets the correct
results).
- TEST_METHOD_PREFIX - Static variable in class org.apache.cactus.internal.client.ClientTestCaseCaller
-
The prefix of a test method.
- TEST_RESULTS - Static variable in class org.apache.cactus.internal.server.AbstractWebTestCaller
-
Name of the attribute in the application
scope that will
hold the results of the test.
- testAt(int) - Method in class org.apache.cactus.internal.AbstractTestSuite
-
- TESTCASE - Static variable in interface org.apache.cactus.internal.server.runner.XMLConstants
-
A single testcase element
- TestCaseImplementChecker - Class in org.apache.cactus.internal.util
-
Utilities to check TestCase implementation.
- TestCaseImplementError - Error in org.apache.cactus.internal.util
-
Represent an error around TestCase implementation.
- TestCaseImplementError(String) - Constructor for error org.apache.cactus.internal.util.TestCaseImplementError
-
Create a TestCaseImplementError
and set the error message
- testConnectivity(URL) - Method in class org.apache.cactus.extension.jetty.JettyTestSetup
-
Tests whether we are able to connect to the HTTP server identified by the
specified URL.
- TestController - Interface in org.apache.cactus.spi.server
-
Controller interface that simulates 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.
- testCount() - Method in class org.apache.cactus.internal.AbstractTestSuite
-
- testEnded(String) - Method in class org.apache.cactus.internal.server.runner.WebappTestRunner
-
Event called by the base test runner when the test ends.
- testFailed(int, Test, Throwable) - Method in class org.apache.cactus.internal.server.runner.WebappTestRunner
-
Event called by the base test runner when the test fails.
- tests() - Method in class org.apache.cactus.internal.AbstractTestSuite
-
- testStarted(String) - Method in class org.apache.cactus.internal.server.runner.WebappTestRunner
-
Event called by the base test runner when the test starts.
- TESTSUITE - Static variable in interface org.apache.cactus.internal.server.runner.XMLConstants
-
A single test suite results.
- TESTSUITES - Static variable in interface org.apache.cactus.internal.server.runner.XMLConstants
-
Root element for all test suites.
- toString() - Method in class org.apache.cactus.Cookie
-
- toString() - Method in class org.apache.cactus.internal.AbstractTestSuite
-
- toString() - Method in class org.apache.cactus.internal.BaseWebRequest
-
- toString() - Method in class org.apache.cactus.internal.ServiceEnumeration
-
Returns the string representation of the service.
- toString() - Method in class org.apache.cactus.internal.WebRequestImpl
-
- toString() - Method in class org.apache.cactus.internal.WebTestResult
-
- toString() - Method in class org.apache.cactus.ServletURL
-
- toXML(TestResult) - Method in class org.apache.cactus.internal.server.runner.XMLFormatter
-
Formats the test result as an XML string.
- toXml() - Method in class org.apache.cactus.internal.WebTestResult
-
- transform(Reader, Writer) - Method in class org.apache.cactus.internal.server.runner.XMLTransformer
-
Performs the actual transformation.
- WebappTestRunner - Class in org.apache.cactus.internal.server.runner
-
JUnit Test Runner that can load test cases that are in the classpath of
a webapp.
- WebappTestRunner() - Constructor for class org.apache.cactus.internal.server.runner.WebappTestRunner
-
- WebappTestSuiteLoader - Class in org.apache.cactus.internal.server.runner
-
Dynamic class loader to load classes from the webapp classpath.
- WebappTestSuiteLoader() - Constructor for class org.apache.cactus.internal.server.runner.WebappTestSuiteLoader
-
- WebConfiguration - Interface in org.apache.cactus.internal.configuration
-
Extends the generic Configuration
interface with methods
provided configuration information related to Web redirectors.
- webImplicitObjects - Variable in class org.apache.cactus.internal.server.AbstractWebTestCaller
-
The implicit objects (which will be used to set the test case fields
in the setTesCaseFields
method.
- WebImplicitObjects - Interface in org.apache.cactus.internal.server
-
Interface for implicit objects that exist
for all web requests (HttpServletRequest
,
HttpServletResponse
and ServletContext
).
- WebRequest - Interface in org.apache.cactus
-
Contains HTTP request data for a Cactus test case.
- WebRequestImpl - Class in org.apache.cactus.internal
-
Extends
BaseWebRequest
to add properties specific to the
Cactus Web Redirectors.
- WebRequestImpl() - Constructor for class org.apache.cactus.internal.WebRequestImpl
-
- WebRequestImpl(WebConfiguration) - Constructor for class org.apache.cactus.internal.WebRequestImpl
-
- WebResponse - Class in org.apache.cactus
-
Default web response implementation that provides a minimal
API for asserting returned output stream from the server side.
- WebResponse(WebRequest, HttpURLConnection) - Constructor for class org.apache.cactus.WebResponse
-
- WebResponseObjectFactory - Class in org.apache.cactus.internal.client
-
Constructs Web response objects.
- WebResponseObjectFactory(HttpURLConnection) - Constructor for class org.apache.cactus.internal.client.WebResponseObjectFactory
-
- WebTestResult - Class in org.apache.cactus.internal
-
Represent the result of the execution of the Test class by the
server redirector.
- WebTestResult() - Constructor for class org.apache.cactus.internal.WebTestResult
-
Constructor to call when the test was ok and no error was raised.
- WebTestResult(Throwable) - Constructor for class org.apache.cactus.internal.WebTestResult
-
Constructor to call when an exception was raised during the test.
- WebTestResult(String, String, String) - Constructor for class org.apache.cactus.internal.WebTestResult
-
Constructor used to reconstruct a WebTestResult object from its String
representation.
- WebTestResultParser - Class in org.apache.cactus.internal.client
-
Parse a string representing a Test result and transform it into a
WebTestResult
object.
- WebTestResultParser() - Constructor for class org.apache.cactus.internal.client.WebTestResultParser
-
- WRAPPED_CLASS_NAME_PARAM - Static variable in interface org.apache.cactus.internal.HttpServiceDefinition
-
Name of the parameter in the HTTP request that represents an optional
Test being wrapped by the class represented by CLASS_NAME_PARAM.