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

A

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.
AbstractDeployableFile - Class in org.apache.cactus.integration.api.deployable
Logic common to all deployable implementations (WAR and EAR deployments).
AbstractDeployableFile() - Constructor for class org.apache.cactus.integration.api.deployable.AbstractDeployableFile
 
AbstractEJBTestCaller - Class in org.apache.cactus.internal.server
Prototype of EJBRedirector for Cactus.
AbstractEJBTestCaller(EJBImplicitObjects) - Constructor for class org.apache.cactus.internal.server.AbstractEJBTestCaller
A constructor for the class.
AbstractEJBTestController - Class in org.apache.cactus.internal.server
Prototype of EJBRedirector for Cactus.
AbstractEJBTestController() - Constructor for class org.apache.cactus.internal.server.AbstractEJBTestController
 
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
Extends AbstractHttpServletRequestWrapper by adding the new methods of the Servlet 2.3 API specifications.
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.
AbstractJMSTestCaller - 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.
AbstractJMSTestCaller(MessageDrivenBeanImplicitObjects) - Constructor for class org.apache.cactus.internal.server.AbstractJMSTestCaller
 
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
Extends AbstractPageContextWrapper by adding the new methods of the Servlet 2.3 API specifications.
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
 
accept(File, String) - Method in class org.apache.cactus.eclipse.runner.common.JarFilenameFilter
 
AddCactusClassesCompletionProposal - Class in org.apache.cactus.eclipse.quickfix
CompletionProposal for adding the Cactus classes to the Project's classpath.
AddCactusClassesCompletionProposal(String, int, IJavaProject) - Constructor for class org.apache.cactus.eclipse.quickfix.AddCactusClassesCompletionProposal
Constructor.
addCargo(CargoElement) - Method in class org.apache.cactus.integration.ant.ContainerSet
Adds a nested generic container to the set of containers.
addConfiguredCactusproperty(PropertySet) - Method in class org.apache.cactus.integration.ant.CactusTask
Adds a set of properties that will be used as system properties either on the client side or on the server side.
addConfiguredCactuswar(CactifyWarTask) - Method in class org.apache.cactus.integration.ant.CactifyEarTask
 
addConfiguredEjbref(EjbRef) - Method in class org.apache.cactus.integration.ant.CactifyWarTask
Adds a configured EjbRef instance.
addConfiguredEjbref(EjbRef) - Method in class org.apache.cactus.integration.ant.CactusWar
Adds a configured EjbRef instance.
addConfiguredEjbref(EjbRef) - Method in class org.apache.cactus.maven2.mojos.CactifyWarMojo
Adds a configured EjbRef instance.
addConfiguredSysproperty(Environment.Variable) - Method in class org.apache.cactus.integration.ant.CactusTask
Called by Ant when the Variable object has been properly initialized.
addConfiguredXMLCatalog(XMLCatalog) - Method in class org.apache.cactus.integration.ant.CactifyWarTask
Adds an XML catalog to the internal catalog.
addConfiguredXMLCatalog(XMLCatalog) - Method in class org.apache.cactus.integration.ant.WebXmlMergeTask
Adds an XML catalog to the internal catalog.
addContainerSet(ContainerSet) - Method in class org.apache.cactus.integration.ant.CactusTask
Adds the nested containers element (only one is permitted).
addCookie(String, String) - Method in class org.apache.cactus.internal.BaseWebRequest
Adds a cookie to the request.
addCookie(String, String, String) - Method in class org.apache.cactus.internal.BaseWebRequest
Adds a cookie to the request.
addCookie(Cookie) - Method in class org.apache.cactus.internal.BaseWebRequest
Adds a cookie to the request.
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.
addFileset(FileSet) - Method in class org.apache.cactus.integration.maven.CactusScannerTag
Adds a set of files (nested fileset attribute).
addFilterRedirector(FilterRedirector) - Method in class org.apache.cactus.integration.ant.CactifyWarTask
Adds a Cactus filter test redirector.
addHeader(String, String) - Method in class org.apache.cactus.internal.BaseWebRequest
Adds a header to the request.
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.
addJspRedirector(JspRedirector) - Method in class org.apache.cactus.integration.ant.CactifyWarTask
Adds a Cactus JSP test redirector.
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
Adds a parameter to the request.
addParameter(String, String) - Method in class org.apache.cactus.internal.BaseWebRequest
Adds a parameter to the request.
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.
addRedirectorDefinitions(WebXml, List) - Method in class org.apache.cactus.integration.api.cactify.CactifyUtils
Adds the definitions corresponding to the nested redirector elements to the provided deployment descriptor.
addSecurity(WebXml) - Method in class org.apache.cactus.integration.api.cactify.Redirector
Adds the comma-separated list of security roles to a deployment descriptor.
addServletRedirector(ServletRedirector) - Method in class org.apache.cactus.integration.ant.CactifyWarTask
Adds a Cactus servlet test redirector.
addSysproperty(Environment.Variable) - Method in class org.apache.cactus.integration.ant.CactusTask
Adds a system property to both client side and server side JVMs.
addTask(Task) - Method in class org.apache.cactus.integration.ant.container.GenericContainer.Hook
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
Let the connector implementor clean up after the test.
afterTest(ProtocolState) - Method in class org.apache.cactus.internal.client.connector.http.JmsProtocolHandler
A method that gets executed after the test execution.
afterTest(ProtocolState) - Method in interface org.apache.cactus.spi.client.connector.ProtocolHandler
Let the connector implementor clean up after the test.
AntContainerManager - Class in org.apache.cactus.eclipse.runner.containers.ant
Implementation of IContainerManager based on Ant.
AntContainerManager(String, int, String, Hashtable, String) - Constructor for class org.apache.cactus.eclipse.runner.containers.ant.AntContainerManager
Constructor.
AntContainerProvider - Class in org.apache.cactus.eclipse.runner.containers.ant
Implementation of IContainerProvider that uses ant scripts to set up and launch containers.
AntContainerProvider(AntContainerManager, String, String) - Constructor for class org.apache.cactus.eclipse.runner.containers.ant.AntContainerProvider
 
apply(IDocument) - Method in class org.apache.cactus.eclipse.quickfix.AddCactusClassesCompletionProposal
Apply the proposal.
artifactId - Variable in class org.apache.cactus.maven2.mojos.CactifyWarMojo
ArtifactId of the artifact to be installed.
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.
AUTOSESSION_NAME_PARAM - Static variable in class org.apache.cactus.ServiceDefinition
Name of the parameter in the HTTP request that specify if a session should be automatically created for the user or not.

B

BaseConfiguration - Class in org.apache.cactus.internal.configuration
Provides access to the Cactus configuration parameters that are independent of any redirector.
BaseConfiguration() - Constructor for class org.apache.cactus.internal.configuration.BaseConfiguration
 
BaseWebRequest - Class in org.apache.cactus.internal
Contains all HTTP request data for a test case but independently of the fact that there is or there is not a Cactus redirector.
BaseWebRequest() - Constructor for class org.apache.cactus.internal.BaseWebRequest
Default constructor that requires that BaseWebRequest.setConfiguration(Configuration) be called before the methods requiring a configuration object.
BaseWebRequest(Configuration) - Constructor for class org.apache.cactus.internal.BaseWebRequest
 
BasicAuthentication - Class in org.apache.cactus.client.authentication
Basic Authentication support.
BasicAuthentication(String, String) - Constructor for class org.apache.cactus.client.authentication.BasicAuthentication
 
BeanImplicitObjects - Class in org.apache.cactus.internal.server
Prototype of EJBRedirector for Cactus.
BeanImplicitObjects() - Constructor for class org.apache.cactus.internal.server.BeanImplicitObjects
 
BEGIN_METHOD_PREFIX - Static variable in class org.apache.cactus.internal.client.ClientTestCaseCaller
The prefix of a begin test method.

C

CactifyActionDelegate - Class in org.apache.cactus.eclipse.runner.ui
Action delegate to cactify a project.
CactifyActionDelegate() - Constructor for class org.apache.cactus.eclipse.runner.ui.CactifyActionDelegate
 
CactifyEarMojo - Class in org.apache.cactus.maven2.mojos
A maven2 mojo that injects elements necessary to run Cactus tests into an existing EAR file.
CactifyEarMojo() - Constructor for class org.apache.cactus.maven2.mojos.CactifyEarMojo
 
CactifyEarTask - Class in org.apache.cactus.integration.ant
An Ant task that injects elements necessary to run Cactus tests into an existing EAR file.
CactifyEarTask() - Constructor for class org.apache.cactus.integration.ant.CactifyEarTask
 
CactifyUtils - Class in org.apache.cactus.integration.api.cactify
Util class for cactifying purposes.
CactifyUtils() - Constructor for class org.apache.cactus.integration.api.cactify.CactifyUtils
 
CactifyWarMojo - Class in org.apache.cactus.maven2.mojos
A maven2 mojo that injects elements necessary to run Cactus tests into an existing WAR file.
CactifyWarMojo() - Constructor for class org.apache.cactus.maven2.mojos.CactifyWarMojo
 
CactifyWarTask - Class in org.apache.cactus.integration.ant
An Ant task that injects elements necessary to run Cactus tests into an existing WAR file.
CactifyWarTask() - Constructor for class org.apache.cactus.integration.ant.CactifyWarTask
 
CACTUS_CLIENT_LIBRARY_PATH - Static variable in class org.apache.cactus.eclipse.runner.ui.CactusPlugin
Name of the client libraries folder
CACTUS_COMMON_LIBRARY_PATH - Static variable in class org.apache.cactus.eclipse.runner.ui.CactusPlugin
Name of the common libraries folder
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_LIBRARY_PATH - Static variable in class org.apache.cactus.eclipse.runner.ui.CactusPlugin
Path to the plugin's library directory
CACTUS_RUN_IMAGE - Static variable in class org.apache.cactus.eclipse.runner.ui.CactusPlugin
 
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.
CACTUS_VARIABLE_ECLIPSE_HOME - Static variable in class org.apache.cactus.eclipse.runner.ui.CactusPlugin
The location where Eclipse was installed;
CactusLaunchConfiguration - Class in org.apache.cactus.eclipse.runner.launcher
Provides a launcher to start Cactus tests.
CactusLaunchConfiguration() - Constructor for class org.apache.cactus.eclipse.runner.launcher.CactusLaunchConfiguration
 
CactusLaunchShortcut - Class in org.apache.cactus.eclipse.runner.launcher
Launch shortcut used to start the Cactus launch configuration on the current workbench selection.
CactusLaunchShortcut() - Constructor for class org.apache.cactus.eclipse.runner.launcher.CactusLaunchShortcut
 
CactusMessages - Class in org.apache.cactus.eclipse.runner.ui
Helper class to format text messages from the Cactus property resource bundle.
CactusPlugin - Class in org.apache.cactus.eclipse.runner.ui
The plug-in runtime class for the Cactus plug-in.
CactusPlugin(IPluginDescriptor) - Constructor for class org.apache.cactus.eclipse.runner.ui.CactusPlugin
 
CactusPreferencePage - Class in org.apache.cactus.eclipse.runner.ui
This class represents a preference page that is contributed to the Preferences dialog.
CactusPreferencePage() - Constructor for class org.apache.cactus.eclipse.runner.ui.CactusPreferencePage
Sets default plugin preferences.
CactusPreferences - Class in org.apache.cactus.eclipse.runner.ui
Central class for managing the Cactus preferences.
CactusPreferences() - Constructor for class org.apache.cactus.eclipse.runner.ui.CactusPreferences
 
CactusQuickFixProcessor - Class in org.apache.cactus.eclipse.quickfix
QuickFix processor to propose cactifying of the project.
CactusQuickFixProcessor() - Constructor for class org.apache.cactus.eclipse.quickfix.CactusQuickFixProcessor
 
CactusRuntimeException - Exception in org.apache.cactus.integration.api.exceptions
The custom cactus exception raised when internal cactus problem with the shared-api has happened.
CactusRuntimeException(String) - Constructor for exception org.apache.cactus.integration.api.exceptions.CactusRuntimeException
 
CactusRuntimeException(String, Exception) - Constructor for exception org.apache.cactus.integration.api.exceptions.CactusRuntimeException
 
CactusScanner - Class in org.apache.cactus.integration.maven
Process FileSet and extracts classes that are Cactus tests.
CactusScanner() - Constructor for class org.apache.cactus.integration.maven.CactusScanner
 
CactusScannerTag - Class in org.apache.cactus.integration.maven
Cactus Jelly Tag that scans Ant FileSets and return a list of qualified class name that are Cactus TestCases (i.e.
CactusScannerTag() - Constructor for class org.apache.cactus.integration.maven.CactusScannerTag
Initializations.
CactusTagLibrary - Class in org.apache.cactus.integration.maven
Maven tag library for use in Jelly scripts.
CactusTagLibrary() - Constructor for class org.apache.cactus.integration.maven.CactusTagLibrary
Register Cactus jelly tags.
CactusTask - Class in org.apache.cactus.integration.ant
An Ant task that extends the optional JUnit task to provide support for in-container testing.
CactusTask() - Constructor for class org.apache.cactus.integration.ant.CactusTask
Constructor.
CactusTestCase - Interface in org.apache.cactus.internal
Common interface that must be implemented by all Cactus test cases.
CactusTestTask - Class in org.apache.cactus.integration.ant
An Ant task that extends the optional JUnit task to provide support for in-container testing.
CactusTestTask() - Constructor for class org.apache.cactus.integration.ant.CactusTestTask
Constructor.
CactusWar - Class in org.apache.cactus.integration.ant
Implements the nested element cactuswar of the cactifyear task.
CactusWar() - Constructor for class org.apache.cactus.integration.ant.CactusWar
 
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.
CargoElement - Class in org.apache.cactus.integration.ant
This is the element in the cactus task that holds the cargo properties, and in which the configuration for the cargo container is hold.
CargoElement() - Constructor for class org.apache.cactus.integration.ant.CargoElement
 
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.
checkPostAuthRequest(WebRequest, Configuration) - Method in class org.apache.cactus.client.authentication.FormAuthentication
 
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.
CLASS_NAME_PARAM - Static variable in class org.apache.cactus.ServiceDefinition
Name of the parameter in the HTTP request that represents the name of the Test class to call.
classifier - Variable in class org.apache.cactus.maven2.mojos.CactifyWarMojo
Classifier type of the artifact to be installed.
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
 
clear() - Method in class org.apache.cactus.integration.maven.CactusScanner
Remove all Cactus class names that were found in the Fileset.
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
 
clone() - Method in class org.apache.cactus.integration.api.deployable.AbstractDeployableFile
Clone the object.
clone() - Method in interface org.apache.cactus.integration.api.deployable.DeployableFile
Clone the object.
COMMAND_PREFIX - Static variable in interface org.apache.cactus.internal.HttpServiceDefinition
Prefix indicating that a String is an official Cactus command.
concatenateEntries(IClasspathEntry[], IClasspathEntry[]) - Static method in class org.apache.cactus.eclipse.runner.common.LibraryHelper
Concatenate two IClasspathEntry arrays.
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
Modifies the request so that it will carry authentication information.
configure(HttpState, HttpMethod, WebRequest, Configuration) - Method in class org.apache.cactus.client.authentication.FormAuthentication
Modifies the request so that it will carry authentication information.
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
Connects to the Cactus Redirector using HTTP.
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.
ContainerInfo - Class in org.apache.cactus.eclipse.runner.containers
Configuration information for containers.
ContainerRunner - Class in org.apache.cactus.container
Support class that handles the lifecycle of a container, which basically consists of startup and shutdown.
ContainerRunner(ContainerWrapper) - Constructor for class org.apache.cactus.container.ContainerRunner
Constructor.
ContainerSet - Class in org.apache.cactus.integration.ant
Ant data type that represents a set of J2EE containers.
ContainerSet() - Constructor for class org.apache.cactus.integration.ant.ContainerSet
 
ContainersPreferencePage - Class in org.apache.cactus.eclipse.runner.ui
This class represents a preference page for the containers that is contributed to the Cactus Preferences dialog.
ContainersPreferencePage() - Constructor for class org.apache.cactus.eclipse.runner.ui.ContainersPreferencePage
Sets default plugin container preferences.
ContainerWrapper - Class in org.apache.cactus.container
Class that wraps around an implementation of the Container interface and delegates all calls to the wrapped instance.
ContainerWrapper() - Constructor for class org.apache.cactus.container.ContainerWrapper
The default constructor.
ContainerWrapper(Container) - Constructor for class org.apache.cactus.container.ContainerWrapper
Constructor.
context - Variable in class org.apache.cactus.internal.server.AbstractWebImplicitObjects
The Context object.
context - Variable in class org.apache.cactus.JmsTestCase
Valid MessageDrivenContext object that you can access from the testXXX(), setUp and tearDown() methods.
CONTEXT_URL_HOST - Static variable in class org.apache.cactus.eclipse.runner.ui.CactusPreferences
The host component of the context URL preference.
CONTEXT_URL_PATH - Static variable in class org.apache.cactus.eclipse.runner.ui.CactusPreferences
The path component of the context URL preference.
CONTEXT_URL_PORT - Static variable in class org.apache.cactus.eclipse.runner.ui.CactusPreferences
The port component of the context URL preference.
CONTEXT_URL_SCHEME - Static variable in class org.apache.cactus.eclipse.runner.ui.CactusPreferences
The protocol scheme component of the context URL (either 'http' or 'https') preference.
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.
createAntLaunchConfiguration(String[], String) - Method in class org.apache.cactus.eclipse.runner.containers.ant.AntContainerManager
 
createAntTask(String) - Method in class org.apache.cactus.integration.ant.container.GenericContainer
Creates and returns a new instance of the Ant task mapped to the specified logical name using the org.apache.cactus.integration.ant.util.AntTaskFactory set.
createCactusTestCase(String, Test) - Method in class org.apache.cactus.internal.AbstractTestSuite
 
createCactusTestCase(String, Test) - Method in class org.apache.cactus.ServletTestSuite
createCargo() - Method in class org.apache.cactus.integration.ant.ContainerSet
 
createClasspath() - Method in class org.apache.cactus.integration.maven.CactusScannerTag
 
createContainerClasspath() - Method in class org.apache.cactus.integration.ant.CactusTask
Adds container classpath to the classpath that will be used for starting the container.
createContents(Composite) - Method in class org.apache.cactus.eclipse.webapp.internal.ui.WebAppConfigurationBlock
Returns the UI control for this block.
createContents(Composite) - Method in class org.apache.cactus.eclipse.webapp.internal.ui.WebAppPropertyPage
 
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.
createCoreException(String, Throwable) - Static method in class org.apache.cactus.eclipse.runner.ui.CactusPlugin
Helper method for other classes.
createCoreException(String, String, Throwable) - Static method in class org.apache.cactus.eclipse.runner.ui.CactusPlugin
Helper method for other classes.
createFieldEditors() - Method in class org.apache.cactus.eclipse.runner.ui.CactusPreferencePage
Creates the field editors.
createFieldEditors() - Method in class org.apache.cactus.eclipse.runner.ui.ContainersPreferencePage
Creates the field editors.
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.
createImageRegistry() - Method in class org.apache.cactus.eclipse.runner.ui.CactusPlugin
 
createLogger() - Method in class org.apache.cactus.maven2.mojos.CactifyWarMojo
Create a logger.
createProtocolHandler() - Method in class org.apache.cactus.FilterTestCase
Create a protocol handler instance that will be used to connect to the server side.
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.JmsTestCase
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
Create a protocol handler instance that will be used to connect to the server side.
createQueueConnection() - Static method in class org.apache.cactus.internal.client.jms.JmsClientHelper
Create a JMS Queue Connection to be able to send messages later on.
createQueueSender(String) - Static method in class org.apache.cactus.internal.client.jms.JmsClientHelper
Creates a Queue Sender to send JMS messages.
createRequest() - Method in class org.apache.cactus.internal.client.connector.http.HttpProtocolHandler
Create a request object that will be passed to the begin() and beginXXX() methods.
createRequest() - Method in class org.apache.cactus.internal.client.connector.http.JmsProtocolHandler
A method to create a request object.
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
Create a factory that is used by the core to create test response object that will be passed to the endXXX() and end() methods.
createResponseObjectFactory(ProtocolState) - Method in class org.apache.cactus.internal.client.connector.http.JmsProtocolHandler
TODO implement this method.
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.
createShutDown() - Method in class org.apache.cactus.integration.ant.container.GenericContainer
Creates a nested 'shutdown' element.
createStart() - Method in class org.apache.cactus.integration.ant.RunServerTestsTask
Creates a nested start element.
createStartUp() - Method in class org.apache.cactus.integration.ant.container.GenericContainer
Creates a nested 'startup' element.
createStop() - Method in class org.apache.cactus.integration.ant.RunServerTestsTask
Creates a nested stop element.
createTempFile(String, String, File, boolean) - Method in class org.apache.cactus.integration.ant.CactifyWarTask
A method to create the temporary files.
createTempFile(String, String, File, boolean) - Method in class org.apache.cactus.maven2.mojos.CactifyWarMojo
A method to create the temporary files.
createTest() - Method in class org.apache.cactus.integration.ant.RunServerTestsTask
Creates a nested test element.
createTestSuite(Class) - Method in class org.apache.cactus.internal.AbstractTestSuite
 
createTestSuite(Class) - Method in class org.apache.cactus.ServletTestSuite
createTextMessage(String) - Method in class org.apache.cactus.JmsRequest
Creates a text message with a text.
createTextMessage() - Method in class org.apache.cactus.JmsRequest
Creates an empty text message.
createTypeProposal() - Method in class org.apache.cactus.eclipse.quickfix.AddCactusClassesCompletionProposal
Create a type-proposal.
createWar(IProgressMonitor) - Method in class org.apache.cactus.eclipse.webapp.internal.WarBuilder
Creates the war file.
Credential - Class in org.apache.cactus.eclipse.runner.containers
Credentials (user name, password) passed to the container when performing administrative actions on it..
Credential() - Constructor for class org.apache.cactus.eclipse.runner.containers.Credential
 

D

debug(String) - Method in class org.apache.cactus.integration.api.cactify.CactifyUtils
Log debug the given message.
DefaultFilterConfiguration - Class in org.apache.cactus.internal.configuration
Provides access to the Cactus configuration parameters related to the Filter Redirector.
DefaultFilterConfiguration() - Constructor for class org.apache.cactus.internal.configuration.DefaultFilterConfiguration
 
DefaultHttpClient - Class in org.apache.cactus.internal.client.connector.http
Performs the steps necessary to run a test.
DefaultHttpClient(WebConfiguration) - Constructor for class org.apache.cactus.internal.client.connector.http.DefaultHttpClient
Initialize the Http client.
DefaultJspConfiguration - Class in org.apache.cactus.internal.configuration
Provides access to the Cactus configuration parameters related to the JSP Redirector.
DefaultJspConfiguration() - Constructor for class org.apache.cactus.internal.configuration.DefaultJspConfiguration
 
DefaultServletConfiguration - Class in org.apache.cactus.internal.configuration
Provides access to the Cactus configuration parameters related to the Servlet Redirector.
DefaultServletConfiguration() - Constructor for class org.apache.cactus.internal.configuration.DefaultServletConfiguration
 
delete(File) - Static method in class org.apache.cactus.eclipse.webapp.internal.WarBuilder
Removes the specified file or directory, and all subdirectories
Dependency - Class in org.apache.cactus.maven2.mojos
Dependency that we use for the lib folder add-on's.
Dependency() - Constructor for class org.apache.cactus.maven2.mojos.Dependency
 
deploy(String, URL, Credential, IProgressMonitor) - Method in class org.apache.cactus.eclipse.runner.containers.ant.AntContainerProvider
 
deploy(String, URL, Credential, IProgressMonitor) - Method in interface org.apache.cactus.eclipse.runner.containers.IContainerProvider
Deploy a webapp to the container.
deployableFile - Variable in class org.apache.cactus.integration.api.deployable.AbstractDeployableFile
The WAR or EAR file to deploy.
DeployableFile - Interface in org.apache.cactus.integration.api.deployable
Represents a component to deploy in a container.
destroy() - Method in class org.apache.cactus.server.FilterTestRedirector
Destroy the filter.
displayErrorMessage(String, String, IStatus) - Static method in class org.apache.cactus.eclipse.runner.ui.CactusPlugin
Displays an error dialog.
doCreateSession() - Method in class org.apache.cactus.internal.server.AbstractWebTestCaller
Create an HTTP Session and returns the response that contains the HTTP session as a cookie (unless URL rewriting is used in which case the jsesssionid cookie is not returned).
doCreateSession() - Method in class org.apache.cactus.internal.server.MessageDrivenBeanTestCaller
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class org.apache.cactus.server.FilterTestRedirector
Handle the request.
doGet(JspImplicitObjects) - Method in class org.apache.cactus.server.JspTestRedirector
Handles requests from the jspRedirector.jsp JSP Redirector.
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.apache.cactus.server.runner.ServletTestRunner
Starts the test suite passed as a HTTP parameter.
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.apache.cactus.server.ServletTestRedirector
Handle GET requests.
doGetResults() - Method in class org.apache.cactus.internal.server.AbstractWebTestCaller
Return the last test results in the HTTP response.
doGetResults() - Method in class org.apache.cactus.internal.server.MessageDrivenBeanTestCaller
 
doGetVersion() - Method in class org.apache.cactus.internal.server.AbstractWebTestCaller
Return the cactus version.
doGetVersion() - Method in class org.apache.cactus.internal.server.MessageDrivenBeanTestCaller
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class org.apache.cactus.server.ServletTestRedirector
Handle POST request.
doRunTest() - Method in class org.apache.cactus.internal.server.AbstractWebTestCaller
Run the connection test between client and server.
doRunTest() - Method in class org.apache.cactus.internal.server.MessageDrivenBeanTestCaller
 
doTag(XMLOutput) - Method in class org.apache.cactus.integration.maven.CactusScannerTag
 
doTest(WebRequest) - Method in class org.apache.cactus.internal.client.connector.http.DefaultHttpClient
Calls the test method indirectly by calling the Redirector servlet and then open a second HTTP connection to retrieve the test results.
doTest(JmsRequest) - Method in class org.apache.cactus.internal.client.jms.JmsClient
Calls the test method indirectly by calling the Redirector MDB (by sending a JMS Message on a queue it is listening to).
doTest() - Method in class org.apache.cactus.internal.server.AbstractEJBTestCaller
The "main" method of the test-case.
doTest() - Method in class org.apache.cactus.internal.server.AbstractWebTestCaller
Calls a test method.
doTest() - Method in class org.apache.cactus.internal.server.MessageDrivenBeanTestCaller
 

E

EarDeployableFile - Class in org.apache.cactus.integration.api.deployable
Represents an EAR file to deploy in a container.
EarDeployableFile() - Constructor for class org.apache.cactus.integration.api.deployable.EarDeployableFile
 
EarParser - Class in org.apache.cactus.integration.api.deployable
Parse an EAR descriptor to extract meaninful information for Cactus, the results being stored in a EarDeployableFile object.
EarParser() - Constructor for class org.apache.cactus.integration.api.deployable.EarParser
 
EclipseRunTests - Class in org.apache.cactus.eclipse.runner.containers.ant
This Ant task is used for running tests between container startup and shutdown.
EclipseRunTests() - Constructor for class org.apache.cactus.eclipse.runner.containers.ant.EclipseRunTests
 
ejbActivate() - Method in class org.apache.cactus.internal.server.EJBTestRedirectorBean
 
ejbCreate() - Method in class org.apache.cactus.internal.server.EJBTestRedirectorBean
Create method specified in EJB 1.1 section 6.10.3.
ejbCreate() - Method in class org.apache.cactus.spi.server.MessageDrivenBeanRedirector
Called by the container to create an instance of this Message Driven bean.
EJBImplicitObjects - Interface in org.apache.cactus.internal.server
Prototype of EJBRedirector for Cactus.
ejbPassivate() - Method in class org.apache.cactus.internal.server.EJBTestRedirectorBean
 
EjbRef - Class in org.apache.cactus.maven2.mojos
We extend the org.codehaus.cargo.module.ejb.EjbDef so that we can define custom ejbRefs in our pom.xml.
EjbRef() - Constructor for class org.apache.cactus.maven2.mojos.EjbRef
 
ejbRemove() - Method in class org.apache.cactus.internal.server.EJBTestRedirectorBean
 
ejbRemove() - Method in class org.apache.cactus.spi.server.MessageDrivenBeanRedirector
The container invokes this method when the instance is about to be discarded.
EJBRequest - Class in org.apache.cactus
Prototype of EJBRedirector for Cactus.
EJBRequest() - Constructor for class org.apache.cactus.EJBRequest
Default constructor.
EJBTestCaller - Class in org.apache.cactus.internal.server
Prototype of EJBRedirector for Cactus.
EJBTestCaller(EJBImplicitObjects) - Constructor for class org.apache.cactus.internal.server.EJBTestCaller
A constructor that takes the implicitObjects as a parameter.
EJBTestController - Class in org.apache.cactus.internal.server
Prototype of EJBRedirector for Cactus.
EJBTestController() - Constructor for class org.apache.cactus.internal.server.EJBTestController
 
EJBTestRedirectorBean - Class in org.apache.cactus.internal.server
Prototype of EJBRedirector for Cactus.
EJBTestRedirectorBean() - Constructor for class org.apache.cactus.internal.server.EJBTestRedirectorBean
No argument constructor needed by the Container
EJBTestResult - Class in org.apache.cactus.internal
Prototype of EJBRedirector for Cactus.
EJBTestResult() - Constructor for class org.apache.cactus.internal.EJBTestResult
Constructor to call when the test was ok and no error was raised.
EJBTestResult(Throwable) - Constructor for class org.apache.cactus.internal.EJBTestResult
Constructor to call when an exception was raised during the test.
EJBTestResult(String, String, String) - Constructor for class org.apache.cactus.internal.EJBTestResult
Constructor used to reconstruct a WebTestResult object from its String representation.
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
Deprecated. Use ServiceEnumeration.valueOf(java.lang.String) and identity comparison instead of this method
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.
execute() - Method in class org.apache.cactus.eclipse.runner.containers.ant.EclipseRunTests
Launches the Junit tests in Eclipse
execute() - Method in class org.apache.cactus.integration.ant.CactifyEarTask
execute() - Method in class org.apache.cactus.integration.ant.CactifyWarTask
execute() - Method in class org.apache.cactus.integration.ant.CactusTask
execute() - Method in class org.apache.cactus.integration.ant.CactusTestTask
execute() - Method in class org.apache.cactus.integration.ant.container.GenericContainer.Hook
Executes the hook by either calling the specified target, or invoking all nested tasks.
execute() - Method in class org.apache.cactus.integration.ant.RunServerTestsTask
execute() - Method in class org.apache.cactus.integration.ant.WebXmlMergeTask
execute() - Method in class org.apache.cactus.maven2.mojos.CactifyEarMojo
The "main" method of the mojo.
execute() - Method in class org.apache.cactus.maven2.mojos.CactifyWarMojo
The "main" method of the mojo.
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.

F

FAILURE - Static variable in interface org.apache.cactus.internal.server.runner.XMLConstants
The failure element (for a test case).
filterChain - Variable in class org.apache.cactus.FilterTestCase
Valid FilterChain object that you can access from the testXXX(), setUp and tearDown() methods.
filterChain - Variable in class org.apache.cactus.internal.server.FilterImplicitObjects
The Filter chain object.
FilterConfiguration - Interface in org.apache.cactus.internal.configuration
Provides access to the Cactus configuration parameters related to the Filter Redirector.
FilterConfigWrapper - Class in org.apache.cactus.server
Wrapper around FilterConfig which overrides the getServletContext() method to return our own wrapper around ServletContext.
FilterConfigWrapper(FilterConfig) - Constructor for class org.apache.cactus.server.FilterConfigWrapper
 
FilterImplicitObjects - 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 FilterTestCase).
FilterImplicitObjects() - Constructor for class org.apache.cactus.internal.server.FilterImplicitObjects
 
filterLine(String, String[]) - Static method in class org.apache.cactus.internal.util.StringUtil
 
FilterRedirector - Class in org.apache.cactus.integration.api.cactify
Implementation of Redirector for filter test redirectors.
FilterRedirector() - Constructor for class org.apache.cactus.integration.api.cactify.FilterRedirector
Default constructor.
FilterRedirector(Logger) - Constructor for class org.apache.cactus.integration.api.cactify.FilterRedirector
Constructor with owner task to set.
FilterRedirector - Class in org.apache.cactus.maven2.mojos
We extend the FilterRedirector so that we can define custom redirector definitions in the pom.xml.
FilterRedirector() - Constructor for class org.apache.cactus.maven2.mojos.FilterRedirector
 
filterRedirectorMapping - Variable in class org.apache.cactus.integration.api.deployable.AbstractDeployableFile
Filter mapping of the Cactus Filter redirector found in the warArchive WAR.
FilterTestCaller - 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.
FilterTestCaller(FilterImplicitObjects) - Constructor for class org.apache.cactus.internal.server.FilterTestCaller
 
FilterTestCase - Class in org.apache.cactus
Test classes that need access to valid Filter implicit objects (such as the FilterConfig and FilterChain objects) must subclass this class.
FilterTestCase() - Constructor for class org.apache.cactus.FilterTestCase
 
FilterTestCase(String) - Constructor for class org.apache.cactus.FilterTestCase
FilterTestCase(String, Test) - Constructor for class org.apache.cactus.FilterTestCase
FilterTestController - Class in org.apache.cactus.internal.server
Filter Controller that extracts the requested service from the HTTP request and executes the request by calling a FilterTestCaller.
FilterTestController() - Constructor for class org.apache.cactus.internal.server.FilterTestController
 
FilterTestRedirector - Class in org.apache.cactus.server
Generic Filter redirector that calls a test method on the server side.
FilterTestRedirector() - Constructor for class org.apache.cactus.server.FilterTestRedirector
 
findAttribute(String) - Method in class org.apache.cactus.server.AbstractPageContextWrapper
finish() - Method in class org.apache.cactus.eclipse.runner.containers.ant.EclipseRunTests
This method notifies the instance that tests are finished and that it can terminate.
FormAuthentication - Class in org.apache.cactus.client.authentication
Form-based authentication implementation.
FormAuthentication(String, String) - Constructor for class org.apache.cactus.client.authentication.FormAuthentication
 
forward(String) - Method in class org.apache.cactus.server.AbstractPageContextWrapper
forward(ServletRequest, ServletResponse) - Method in class org.apache.cactus.server.RequestDispatcherWrapper
Call the original RequestDispatcher forward() method but with the original HTTP request (not the simulation one which would make the servlet engine choke !).

G

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.
GenericContainer - Class in org.apache.cactus.integration.ant.container
A generic container that can be nested in the CactusTask to support complete customization of the container lifecycle from a build file.
GenericContainer() - Constructor for class org.apache.cactus.integration.ant.container.GenericContainer
 
GenericContainer.Hook - Class in org.apache.cactus.integration.ant.container
Class that represents the nested 'startup' and 'shutdown' elements.
GenericContainer.Hook() - Constructor for class org.apache.cactus.integration.ant.container.GenericContainer.Hook
 
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.
getAbsoluteDir() - Method in class org.apache.cactus.eclipse.webapp.internal.Webapp
 
getActiveWorkbenchShell() - Static method in class org.apache.cactus.eclipse.runner.ui.CactusPlugin
 
getActiveWorkbenchWindow() - Static method in class org.apache.cactus.eclipse.runner.ui.CactusPlugin
 
getAddEjbReferences() - Method in class org.apache.cactus.integration.ant.CactifyEarTask
 
getAdditionalProposalInfo() - Method in class org.apache.cactus.eclipse.quickfix.AddCactusClassesCompletionProposal
Get the proposal info.
getArchive() - Method in class org.apache.cactus.maven2.mojos.CactifyEarMojo
Getter method for the MavenArchiveConfiguration.
getArchive() - Method in class org.apache.cactus.maven2.mojos.CactifyWarMojo
Getter method for the MavenArchiveConfiguration.
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
 
getBaseURL() - Method in class org.apache.cactus.container.ContainerWrapper
getCactusClasspath() - Method in class org.apache.cactus.eclipse.runner.launcher.CactusLaunchConfiguration
 
getCactusClasspath() - Method in class org.apache.cactus.eclipse.runner.launcher.JettyCactusLaunchConfiguration
 
getCactusScanner() - Method in class org.apache.cactus.integration.maven.CactusScannerTag
 
getCactusVMArgs(IJavaProject) - Method in class org.apache.cactus.eclipse.runner.launcher.CactusLaunchConfiguration
 
getCactusVMArgs(IJavaProject) - Method in class org.apache.cactus.eclipse.runner.launcher.JettyCactusLaunchConfiguration
 
getCargoContainer() - Method in class org.apache.cactus.integration.ant.CargoElement
Creates, verifies and initializes the container.
getCargos() - Method in class org.apache.cactus.integration.ant.ContainerSet
Returns an iterator over the nested container elements, in the order they appear in the build file.
getCharacterEncoding() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
getClassName(String) - Method in class org.apache.cactus.EJBRequest
A method to get the name of the class as a request parameter.
getClasspath() - Method in class org.apache.cactus.eclipse.webapp.internal.Webapp
 
getClasspath() - Method in class org.apache.cactus.integration.maven.CactusScannerTag
 
getClientEntries() - Static method in class org.apache.cactus.eclipse.runner.common.LibraryHelper
 
getClientSideEntries() - Static method in class org.apache.cactus.eclipse.runner.common.LibraryHelper
 
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.
getCommonEntries() - Static method in class org.apache.cactus.eclipse.runner.common.LibraryHelper
 
getConfigFile() - Method in class org.apache.cactus.extension.jetty.Jetty5xTestSetup
 
getConfigFile() - Method in class org.apache.cactus.extension.jetty.Jetty6xTestSetup
 
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
 
getContainer() - Method in class org.apache.cactus.integration.ant.CargoElement
Override the method so that we use our container.
getContainerClasspath() - Method in class org.apache.cactus.container.ContainerWrapper
getContainerDir(String) - Static method in class org.apache.cactus.eclipse.runner.ui.CactusPreferences
 
getContainerHomes() - Static method in class org.apache.cactus.eclipse.runner.ui.CactusPreferences
 
getContainerIds() - Static method in class org.apache.cactus.eclipse.runner.ui.CactusPlugin
 
getContainerManager(boolean) - Static method in class org.apache.cactus.eclipse.runner.ui.CactusPlugin
Returns a container manager.
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() - Method in class org.apache.cactus.integration.ant.CactifyWarTask
Returns the context.
getContext() - Method in class org.apache.cactus.integration.ant.CactusWar
 
getContext() - Method in class org.apache.cactus.maven2.mojos.CactifyWarMojo
Returns the context.
getContext(String) - Method in class org.apache.cactus.server.AbstractServletContextWrapper
 
getContextInformation() - Method in class org.apache.cactus.eclipse.quickfix.AddCactusClassesCompletionProposal
Get the context information.
getContextPath() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
 
getContextPath() - Method in class org.apache.cactus.ServletURL
 
getContextURL() - Method in class org.apache.cactus.eclipse.runner.containers.ContainerInfo
Returns the contextURL.
getContextURL() - Static method in class org.apache.cactus.eclipse.runner.ui.CactusPreferences
 
getContextURL() - Method in class org.apache.cactus.internal.configuration.BaseConfiguration
 
getContextURL() - Method in interface org.apache.cactus.internal.configuration.Configuration
 
getContextURLPath() - Static method in class org.apache.cactus.eclipse.runner.ui.CactusPreferences
 
getContextURLPort() - Static method in class org.apache.cactus.eclipse.runner.ui.CactusPreferences
 
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
Deprecated. use CookieUtil.getCookieDomain(WebRequest, String)
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
Deprecated. use CookieUtil.getCookiePath(WebRequest, String)
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
Deprecated. use CookieUtil.getCookiePort(WebRequest, int)
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
 
getCorrections(IInvocationContext, IProblemLocation[]) - Method in class org.apache.cactus.eclipse.quickfix.CactusQuickFixProcessor
A method for getting the corrections.
getDateHeader(String) - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
getDefault() - Static method in class org.apache.cactus.eclipse.runner.ui.CactusPlugin
 
getDefault() - Static method in class org.apache.cactus.eclipse.webapp.internal.ui.WebappPlugin
Returns the shared instance.
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
 
getDependencyPath(MavenProject, Log) - Method in class org.apache.cactus.maven2.mojos.Dependency
We override this mothod.
getDestFile() - Method in class org.apache.cactus.maven2.mojos.CactifyEarMojo
Getter method for the destFile.
getDir() - Method in class org.apache.cactus.eclipse.webapp.internal.Webapp
 
getDisplay() - Static method in class org.apache.cactus.eclipse.runner.ui.CactusPlugin
 
getDisplayString() - Method in class org.apache.cactus.eclipse.quickfix.AddCactusClassesCompletionProposal
Get the display string.
getDomain() - Method in class org.apache.cactus.Cookie
Returns the domain of this cookie.
getEJBContext() - Method in class org.apache.cactus.internal.server.BeanImplicitObjects
Getter method for the ejb context.
getEJBContext() - Method in interface org.apache.cactus.internal.server.EJBImplicitObjects
Gettermethod for the ejb context.
getEJBRequest() - Method in class org.apache.cactus.internal.server.BeanImplicitObjects
Getter method for the ejb request.
getEJBRequest() - Method in interface org.apache.cactus.internal.server.EJBImplicitObjects
Getter method for the ejb request.
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.EJBTestResult
 
getExceptionClassName() - Method in class org.apache.cactus.internal.WebTestResult
 
getExceptionMessage() - Method in class org.apache.cactus.internal.EJBTestResult
 
getExceptionMessage() - Method in class org.apache.cactus.internal.WebTestResult
 
getExceptionStackTrace() - Method in class org.apache.cactus.internal.EJBTestResult
 
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.
getFile() - Method in class org.apache.cactus.integration.api.deployable.AbstractDeployableFile
getFile() - Method in interface org.apache.cactus.integration.api.deployable.DeployableFile
 
getFileName() - Method in class org.apache.cactus.integration.ant.CactifyWarTask
Gets the file name.
getFileName() - Method in class org.apache.cactus.integration.ant.CactusWar
 
getFileName() - Method in class org.apache.cactus.maven2.mojos.CactifyWarMojo
Gets the file name.
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
 
getFilterRedirectorMapping() - Method in class org.apache.cactus.integration.api.deployable.AbstractDeployableFile
Returns the first URL-pattern to which the Cactus filter redirector is mapped in the deployment descriptor.
getFilterRedirectorMapping() - Method in interface org.apache.cactus.integration.api.deployable.DeployableFile
Returns the first URL-pattern to which the Cactus filter redirector is mapped in the deployment descriptor.
getFormattedString(String, Object) - Static method in class org.apache.cactus.eclipse.runner.ui.CactusMessages
Gets a string from the resource bundle and formats it with one argument.
getFormattedString(String, Object[]) - Static method in class org.apache.cactus.eclipse.runner.ui.CactusMessages
Gets a string from the resource bundle and formats it with arguments.
getFormattedString(String, Object) - Static method in class org.apache.cactus.eclipse.webapp.internal.ui.WebappMessages
Gets a string from the resource bundle and formats it with one argument.
getFormattedString(String, Object[]) - Static method in class org.apache.cactus.eclipse.webapp.internal.ui.WebappMessages
Gets a string from the resource bundle and formats it with arguments.
getHeader(String) - Method in class org.apache.cactus.internal.BaseWebRequest
Returns the first value corresponding to this header's name.
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
Returns all the values associated with this header's name.
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
 
getIClasspathEntry(IPath) - Static method in class org.apache.cactus.eclipse.runner.common.LibraryHelper
 
getIClasspathEntry(String) - Static method in class org.apache.cactus.eclipse.runner.common.LibraryHelper
 
getImage() - Method in class org.apache.cactus.eclipse.quickfix.AddCactusClassesCompletionProposal
Get the icon image for the proposal.
getInitialContext() - Static method in class org.apache.cactus.internal.client.jms.JmsClientHelper
 
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
getJetty() - Static method in class org.apache.cactus.eclipse.runner.ui.CactusPreferences
 
getJettyWebappPath() - Static method in class org.apache.cactus.eclipse.runner.containers.jetty.JettyContainerManager
 
getJettyXML() - Static method in class org.apache.cactus.eclipse.runner.ui.CactusPreferences
 
getJmsConnectionFactoryJndiName() - Static method in class org.apache.cactus.util.JmsConfiguration
 
getJndiInitialContextFactory() - Static method in class org.apache.cactus.util.JmsConfiguration
 
getJndiProviderURL() - Static method in class org.apache.cactus.util.JmsConfiguration
 
getJndiSecurityCredentials() - Static method in class org.apache.cactus.util.JmsConfiguration
 
getJndiSecurityPrincipal() - Static method in class org.apache.cactus.util.JmsConfiguration
 
getJndiUrlPkgPrefixes() - Static method in class org.apache.cactus.util.JmsConfiguration
 
getJspRedirectorMapping() - Method in class org.apache.cactus.integration.api.deployable.AbstractDeployableFile
Returns the first URL-pattern to which the Cactus JSP redirector is mapped in the deployment descriptor.
getJspRedirectorMapping() - Method in interface org.apache.cactus.integration.api.deployable.DeployableFile
Returns the first URL-pattern to which the Cactus JSP redirector is mapped in the deployment descriptor.
getJspWriter() - Method in class org.apache.cactus.internal.server.JspImplicitObjects
 
getJUnitLaunchConfigType() - Method in class org.apache.cactus.eclipse.runner.launcher.CactusLaunchShortcut
 
getLibPath() - Static method in class org.apache.cactus.eclipse.runner.common.LibraryHelper
 
getLocale() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
getLocales() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
getLogger() - Method in class org.apache.cactus.integration.api.cactify.CactifyUtils
Getter method for the logger.
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
getMessage() - Method in class org.apache.cactus.JmsRequest
 
getMessage() - Method in class org.apache.cactus.spi.server.MessageDrivenBeanImplicitObjects
 
getMessageDrivenBeanContext() - Method in class org.apache.cactus.spi.server.MessageDrivenBeanImplicitObjects
 
getMethod() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
getMethodName(String) - Method in class org.apache.cactus.EJBRequest
Getter method for the name of the test-method.
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.container.ContainerWrapper
getName() - Method in class org.apache.cactus.Cookie
 
getName() - Method in class org.apache.cactus.integration.ant.container.GenericContainer
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
getOutput() - Method in class org.apache.cactus.eclipse.webapp.internal.ui.WebAppConfigurationBlock
Returns the text entered in the output field.
getOutput() - Method in class org.apache.cactus.eclipse.webapp.internal.Webapp
 
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
Returns the first value corresponding to this parameter's name (provided this parameter is passed in the URL).
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
Returns the first value corresponding to this parameter's name (provided this parameter is passed in the request body - POST).
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
Returns all the values corresponding to this parameter's name (provided this parameter is passed in the URL).
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
Returns all the values corresponding to this parameter's name (provided this parameter is passed in the request body - POST).
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
 
getPluginId() - Static method in class org.apache.cactus.eclipse.runner.ui.CactusPlugin
 
getPluginId() - Static method in class org.apache.cactus.eclipse.webapp.internal.ui.WebappPlugin
 
getPort() - Method in class org.apache.cactus.container.ContainerWrapper
getPort() - Method in class org.apache.cactus.integration.ant.container.GenericContainer
Returns the port to which the container should listen.
getPort() - Method in class org.apache.cactus.ServletURL
Returns the port.
getProject() - Method in class org.apache.cactus.maven2.mojos.CactifyEarMojo
Getter method for the MavenProject.
getProject() - Method in class org.apache.cactus.maven2.mojos.CactifyWarMojo
Getter method for the MavenProject.
getProtocol() - Method in class org.apache.cactus.container.ContainerWrapper
getProtocol() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
getProtocol() - Method in class org.apache.cactus.ServletURL
 
getProxyPort() - Method in class org.apache.cactus.integration.ant.ContainerSet
Returns the proxy port, or -1 if no proxy port has been set.
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().
getQueue(String) - Static method in class org.apache.cactus.internal.client.jms.JmsClientHelper
Lookup a queue in JNDI.
getQueueConnnectionFactory() - Static method in class org.apache.cactus.internal.client.jms.JmsClientHelper
 
getQueueName() - Method in class org.apache.cactus.JmsRequest
 
getQueueSession() - Static method in class org.apache.cactus.internal.client.jms.JmsClientHelper
Return the Queue session that we will use to send all JMS messages (the Session is created if it is the first time this method is called).
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
 
getRelevance() - Method in class org.apache.cactus.eclipse.quickfix.AddCactusClassesCompletionProposal
Get the relevance of the proposal.
getRemoteAddr() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
 
getRemoteHost() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
 
getRemoteUser() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
 
getRequest() - Method in class org.apache.cactus.server.AbstractPageContextWrapper
 
getRequest() - Method in class org.apache.cactus.spi.server.MessageDrivenBeanImplicitObjects
Getter method for the request object.
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
getRequestQueue() - Method in class org.apache.cactus.spi.server.MessageDrivenBeanImplicitObjects
 
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
getResourceBundle() - Method in class org.apache.cactus.eclipse.webapp.internal.ui.WebappPlugin
Returns the plugin's resource bundle
getResourceDir() - Method in class org.apache.cactus.extension.jetty.Jetty5xTestSetup
 
getResourceDir() - Method in class org.apache.cactus.extension.jetty.Jetty6xTestSetup
 
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).
getResourceString(String) - Static method in class org.apache.cactus.eclipse.webapp.internal.ui.WebappPlugin
Returns the string from the plugin's resource bundle, or 'key' if not found.
getResponse() - Method in class org.apache.cactus.server.AbstractPageContextWrapper
getResponseObject(String, Request) - Method in class org.apache.cactus.internal.client.WebResponseObjectFactory
Constructs response object that are passed as parameter to endXXX() and global end methods.
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
 
getSelection(IDocument) - Method in class org.apache.cactus.eclipse.quickfix.AddCactusClassesCompletionProposal
Get the selection.
getServer() - Method in class org.apache.cactus.container.ContainerWrapper
getServerInfo() - Method in class org.apache.cactus.server.AbstractServletContextWrapper
getServerName() - Method in class org.apache.cactus.container.ContainerRunner
Returns the server name as reported in the 'Server' header of HTTP responses from the server.
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
 
getServletRedirectorMapping() - Method in class org.apache.cactus.integration.api.deployable.AbstractDeployableFile
Returns the first URL-pattern to which the Cactus servlet redirector is mapped in the deployment descriptor.
getServletRedirectorMapping() - Method in interface org.apache.cactus.integration.api.deployable.DeployableFile
Returns the first URL-pattern to which the Cactus servlet redirector is mapped in the deployment descriptor.
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
Gets an HTTP session id by calling the server side and retrieving the jsessionid cookie in the HTTP response.
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.
getShell() - Method in class org.apache.cactus.eclipse.runner.containers.ant.AntContainerManager
Convenience method to get the active Shell.
getSrcFile() - Method in class org.apache.cactus.maven2.mojos.CactifyEarMojo
Getter method for the srcFile.
getSrcFile() - Method in class org.apache.cactus.maven2.mojos.CactifyWarMojo
Returns the source file for cactification.
getStartUpWait() - Method in class org.apache.cactus.container.ContainerWrapper
getStatusCode() - Method in class org.apache.cactus.WebResponse
Returns the status code returned by the server.
getString(String) - Static method in class org.apache.cactus.eclipse.runner.ui.CactusMessages
Gets an unformatted string from the resource bundle.
getString(String) - Static method in class org.apache.cactus.eclipse.webapp.internal.ui.WebappMessages
Gets an unformatted string from the resource bundle.
getSuiteClassName() - Method in class org.apache.cactus.internal.server.runner.XMLFormatter
 
getTaskObject() - Method in class org.apache.cactus.integration.maven.CactusScannerTag
This method is called internally by Jelly to know on which object to call the TaskSource.setTaskProperty(java.lang.String, java.lang.Object) method.
getTempDir() - Static method in class org.apache.cactus.eclipse.runner.ui.CactusPreferences
 
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(MessageDrivenBeanImplicitObjects) - Method in class org.apache.cactus.internal.server.MessageDrivenBeanTestController
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.AbstractEJBTestCaller
 
getTestClassClass(String) - Method in class org.apache.cactus.internal.server.AbstractWebTestCaller
 
getTestClassInstance(String, String) - Method in class org.apache.cactus.internal.server.AbstractEJBTestCaller
A method to return an instance of the test-class.
getTestClassInstance(String, String, String) - Method in class org.apache.cactus.internal.server.AbstractWebTestCaller
 
getTestClassName() - Method in class org.apache.cactus.internal.server.AbstractEJBTestCaller
Getter method to return the name of the class being tested.
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.
getTestContext() - Method in class org.apache.cactus.container.ContainerWrapper
getTestContext() - Method in class org.apache.cactus.integration.api.deployable.AbstractDeployableFile
getTestContext() - Method in interface org.apache.cactus.integration.api.deployable.DeployableFile
 
getTestMethodName() - Method in class org.apache.cactus.internal.server.AbstractEJBTestCaller
Getter method to return the name of the test-method being executed.
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
 
getTimeout() - Method in class org.apache.cactus.integration.ant.ContainerSet
Returns the timeout after which connecting to a container will be given up, or -1 if no timeout has been set.
getToDir() - Method in class org.apache.cactus.container.ContainerWrapper
getTotalDurationAsString() - Method in class org.apache.cactus.internal.server.runner.XMLFormatter
 
getUriOfCactifiedWebModule(EarArchive) - Static method in class org.apache.cactus.integration.api.deployable.EarParser
Finds the web module in the EAR that contains the servlet test redirector, and returns the web-uri of the module found.
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
 
getValues() - Method in class org.apache.cactus.integration.api.version.Version
getWarArchive() - Method in class org.apache.cactus.integration.api.deployable.AbstractDeployableFile
getWarArchive() - Method in interface org.apache.cactus.integration.api.deployable.DeployableFile
 
getWebapp(IJavaProject) - Static method in class org.apache.cactus.eclipse.webapp.internal.ui.WebappPlugin
 
getWebappClasspath() - Method in class org.apache.cactus.eclipse.webapp.internal.ui.WebAppConfigurationBlock
Returns the array of jar entries selected in the libraryPage.
getWebappDir() - Method in class org.apache.cactus.eclipse.webapp.internal.ui.WebAppConfigurationBlock
Returns the text entered in the webapp field.
getWebRequest() - Method in class org.apache.cactus.WebResponse
 
getWebXML(File) - Static method in class org.apache.cactus.eclipse.webapp.internal.WarBuilder
 
getWorkspace() - Static method in class org.apache.cactus.eclipse.webapp.internal.ui.WebappPlugin
Returns the workspace instance.
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
 
groupId - Variable in class org.apache.cactus.maven2.mojos.CactifyWarMojo
GroupId of the artifact to be installed.

H

handlePageException(Exception) - Method in class org.apache.cactus.server.AbstractPageContextWrapper
handlePageException(Throwable) - Method in class org.apache.cactus.server.AbstractPageContextWrapper23
handleRequest(ImplicitObjects) - Method in class org.apache.cactus.internal.server.AbstractEJBTestController
 
handleRequest(ImplicitObjects) - Method in class org.apache.cactus.internal.server.AbstractWebTestController
Handles the incoming request by extracting the requested service and calling the correct method on a WebTestCaller.
handleRequest(ImplicitObjects) - Method in class org.apache.cactus.internal.server.MessageDrivenBeanTestController
This method is supposed to handle the request from the Redirector.
handleRequest(ImplicitObjects) - Method in interface org.apache.cactus.spi.server.TestController
Handles the incoming request by extracting the requested service and calling the correct test method.
hasCorrections(ICompilationUnit, int) - Method in class org.apache.cactus.eclipse.quickfix.CactusQuickFixProcessor
A method for getting only the corrections we need.
hasException() - Method in class org.apache.cactus.internal.EJBTestResult
 
hasException() - Method in class org.apache.cactus.internal.WebTestResult
 
hashCode() - Method in class org.apache.cactus.Cookie
Hash up name, value and domain into new hash.
hashCode() - Method in class org.apache.cactus.internal.ServiceEnumeration
Delegates to the java.lang.Object implementation.
HttpClientConnectionHelper - Class in org.apache.cactus.internal.client.connector.http
Implementation of ConnectionHelper using Jakarta Commons HttpClient.
HttpClientConnectionHelper(String) - Constructor for class org.apache.cactus.internal.client.connector.http.HttpClientConnectionHelper
 
HttpProbe - Class in org.apache.cactus.integration.ant.util
Support class that probes a URL.
HttpProbe(URL) - Constructor for class org.apache.cactus.integration.ant.util.HttpProbe
Constructor.
HttpProtocolHandler - Class in org.apache.cactus.internal.client.connector.http
Implementation for the HTTP protocol.
HttpProtocolHandler(WebConfiguration) - Constructor for class org.apache.cactus.internal.client.connector.http.HttpProtocolHandler
 
HttpProtocolState - Class in org.apache.cactus.internal.client.connector.http
HTTP-specific state information to be passed to the different ProtocolHandler lifecycle methods.
HttpProtocolState() - Constructor for class org.apache.cactus.internal.client.connector.http.HttpProtocolState
 
HttpServiceDefinition - Interface in org.apache.cactus.internal
Constants that define HTTP parameters required for defining a service that is performed by the ServletTestRedirector servlet.
HttpServletRequestWrapper - Class in org.apache.cactus.server
Encapsulation class for the Servlet 2.2 API HttpServletRequest.
HttpServletRequestWrapper(HttpServletRequest, ServletURL) - Constructor for class org.apache.cactus.server.HttpServletRequestWrapper
Construct an HttpServletRequest instance that delegates it's method calls to the request object passed as parameter and that uses the URL passed as parameter to simulate a URL from which the request would come from.
HttpSessionCookie - Class in org.apache.cactus
Cookie containing an HTTP Session id.
HttpSessionCookie(String, String, String) - Constructor for class org.apache.cactus.HttpSessionCookie
 
HttpUtil - Class in org.apache.cactus.internal.client.connector.http
Utility methods to manipulate HTTP requests.
HttpUtil() - Constructor for class org.apache.cactus.internal.client.connector.http.HttpUtil
 

I

IContainerManager - Interface in org.apache.cactus.eclipse.runner.containers
Interface for container providers management.
IContainerProvider - Interface in org.apache.cactus.eclipse.runner.containers
Interface for container configuration and startup.
ID_CACTUS_APPLICATION - Static variable in class org.apache.cactus.eclipse.runner.launcher.CactusLaunchConfiguration
Id under which the Cactus launch configuration has been registered.
ID_CACTUS_APPLICATION_JETTY - Static variable in class org.apache.cactus.eclipse.runner.launcher.JettyCactusLaunchConfiguration
Id under which the Cactus launch configuration has been registered.
ImplicitObjects - Interface in org.apache.cactus.spi.server
Tagging interface for implicit objects.
include(String) - Method in class org.apache.cactus.server.AbstractPageContextWrapper
include(ServletRequest, ServletResponse) - Method in class org.apache.cactus.server.RequestDispatcherWrapper
Call the original RequestDispatcher include() method but with the original HTTP request (not the simulation one which would make the servlet engine choke !).
info(String) - Method in class org.apache.cactus.integration.api.cactify.CactifyUtils
Log info the given message.
init() - Method in class org.apache.cactus.container.ContainerWrapper
init(int, String, Hashtable, String) - Method in class org.apache.cactus.eclipse.runner.containers.ant.AntContainerManager
Initializer.
init(IWorkbench) - Method in class org.apache.cactus.eclipse.runner.ui.CactusPreferencePage
 
init(IWorkbench) - Method in class org.apache.cactus.eclipse.runner.ui.ContainersPreferencePage
 
init(IWorkbench) - Method in class org.apache.cactus.eclipse.webapp.internal.ui.WebAppPropertyPage
 
init() - Method in class org.apache.cactus.eclipse.webapp.internal.Webapp
Initialize the web app properties with default values or stored values if they exist.
init() - Method in class org.apache.cactus.integration.ant.CactusTask
 
init() - Method in class org.apache.cactus.integration.ant.CactusTestTask
 
init(FilterConfig) - Method in class org.apache.cactus.server.FilterTestRedirector
Initialise this filter redirector.
init() - Method in class org.apache.cactus.server.runner.ServletTestRunner
Called by the container when the servlet is initialized.
initialize(boolean) - Static method in class org.apache.cactus.internal.configuration.ConfigurationInitializer
Read Cactus configuration files.
initialize() - Static method in class org.apache.cactus.internal.configuration.ConfigurationInitializer
Read Cactus configuration files.
initialize(Servlet, ServletRequest, ServletResponse, String, boolean, int, boolean) - Method in class org.apache.cactus.server.AbstractPageContextWrapper
initializeDefaultPreferences(IPreferenceStore) - Method in class org.apache.cactus.eclipse.runner.ui.CactusPlugin
Initializes all preferences to their default values.
initParameters - Variable in class org.apache.cactus.server.AbstractServletConfigWrapper
List of parameters set using the setInitParameter() method.
initParameters - Variable in class org.apache.cactus.server.AbstractServletContextWrapper
List of parameters set using the setInitParameter() method.
installer - Variable in class org.apache.cactus.maven2.mojos.CactifyWarMojo
 
invoke() - Method in class org.apache.cactus.extension.jsp.JspTagLifecycle
Invokes the tag with the provided interceptor.
IoUtil - Class in org.apache.cactus.internal.util
Various utility methods for manipulating IO streams.
IoUtil() - Constructor for class org.apache.cactus.internal.util.IoUtil
 
isAutoSession() - Method in class org.apache.cactus.internal.server.AbstractWebTestCaller
 
isAvailable(int) - Method in class org.apache.cactus.extension.jetty.Jetty5xTestSetup
Tests whether an HTTP return code corresponds to a valid connection to the test URL or not.
isAvailable(int) - Method in class org.apache.cactus.extension.jetty.Jetty6xTestSetup
Tests whether an HTTP return code corresponds to a valid connection to the test URL or not.
isEar() - Method in interface org.apache.cactus.integration.api.deployable.DeployableFile
Returns whether the deployable file is an enterprise application archive (EAR).
isEar() - Method in class org.apache.cactus.integration.api.deployable.EarDeployableFile
Returns whether the deployable file is an enterprise application archive (EAR).
isEar() - Method in class org.apache.cactus.integration.api.deployable.WarDeployableFile
Returns whether the deployable file is an enterprise application archive (EAR).
isEnabled() - Method in class org.apache.cactus.container.ContainerWrapper
isExcluded(String) - Method in class org.apache.cactus.container.ContainerWrapper
isExpired() - Method in class org.apache.cactus.Cookie
 
isRequestedSessionIdFromCookie() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
isRequestedSessionIdFromURL() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
isRequestedSessionIdFromUrl() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
isRequestedSessionIdValid() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
isRunning() - Method in class org.apache.cactus.extension.jetty.Jetty5xTestSetup
 
isRunning() - Method in class org.apache.cactus.extension.jetty.Jetty6xTestSetup
 
isSecure() - Method in class org.apache.cactus.Cookie
 
isSecure() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
isServer() - Method in class org.apache.cactus.integration.ant.util.PropertySet
 
isShutDownSet() - Method in class org.apache.cactus.integration.ant.container.GenericContainer
Returns whether a way to start the container has already been set, either as a target, or as a nested task container.
isStartUpSet() - Method in class org.apache.cactus.integration.ant.container.GenericContainer
Returns whether a way to stop the container has already been set, either as a target, or as a nested task container.
isToBeDiscarded() - Method in class org.apache.cactus.Cookie
 
isUserInRole(String) - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
isWar() - Method in interface org.apache.cactus.integration.api.deployable.DeployableFile
Returns whether the deployable file is a web-app archive (WAR).
isWar() - Method in class org.apache.cactus.integration.api.deployable.EarDeployableFile
Returns whether the deployable file is a web-app archive (WAR).
isWar() - Method in class org.apache.cactus.integration.api.deployable.WarDeployableFile
Returns whether the deployable file is a web-app archive (WAR).
iterator() - Method in class org.apache.cactus.integration.maven.CactusScanner
 

J

JarFilenameFilter - Class in org.apache.cactus.eclipse.runner.common
Filter for jar files.
JarFilenameFilter() - Constructor for class org.apache.cactus.eclipse.runner.common.JarFilenameFilter
 
JETTY - Static variable in class org.apache.cactus.eclipse.runner.ui.CactusPreferences
id for the Jetty container selection preference.
Jetty5xTestSetup - Class in org.apache.cactus.extension.jetty
Custom JUnit test setup to use to automatically start Jetty.
Jetty5xTestSetup(Test) - Constructor for class org.apache.cactus.extension.jetty.Jetty5xTestSetup
 
Jetty5xTestSetup(Test, Configuration, ServletConfiguration, FilterConfiguration) - Constructor for class org.apache.cactus.extension.jetty.Jetty5xTestSetup
 
Jetty6xTestSetup - Class in org.apache.cactus.extension.jetty
Custom JUnit test setup to use to automatically start Jetty.
Jetty6xTestSetup(Test) - Constructor for class org.apache.cactus.extension.jetty.Jetty6xTestSetup
 
Jetty6xTestSetup(Test, Configuration, ServletConfiguration, FilterConfiguration) - Constructor for class org.apache.cactus.extension.jetty.Jetty6xTestSetup
 
JETTY_XML - Static variable in class org.apache.cactus.eclipse.runner.ui.CactusPreferences
id for the jetty.xml location preference.
JettyCactusLaunchConfiguration - Class in org.apache.cactus.eclipse.runner.launcher
Provides a launcher to start Cactus tests.
JettyCactusLaunchConfiguration() - Constructor for class org.apache.cactus.eclipse.runner.launcher.JettyCactusLaunchConfiguration
 
JettyContainerManager - Class in org.apache.cactus.eclipse.runner.containers.jetty
Implementation of IContainerManager for the Jetty container.
JettyContainerManager() - Constructor for class org.apache.cactus.eclipse.runner.containers.jetty.JettyContainerManager
 
JmsClient - Class in org.apache.cactus.internal.client.jms
JMS class for performing the steps necessary to run a test.
JmsClient() - Constructor for class org.apache.cactus.internal.client.jms.JmsClient
 
JmsClientHelper - Class in org.apache.cactus.internal.client.jms
Helper class to send a JMS message.
JmsClientHelper() - Constructor for class org.apache.cactus.internal.client.jms.JmsClientHelper
 
JmsConfiguration - Class in org.apache.cactus.util
Provides access to the Cactus configuration parameters related to the JMS Redirector.
JmsConfiguration() - Constructor for class org.apache.cactus.util.JmsConfiguration
 
JmsProtocolHandler - Class in org.apache.cactus.internal.client.connector.http
The JMS protocol handler.
JmsProtocolHandler(JmsConfiguration) - Constructor for class org.apache.cactus.internal.client.connector.http.JmsProtocolHandler
 
JmsProtocolState - Class in org.apache.cactus.internal.client.connector.http
 
JmsProtocolState() - Constructor for class org.apache.cactus.internal.client.connector.http.JmsProtocolState
 
JmsRequest - Class in org.apache.cactus
Contains all JMS request data for a test case.
JmsRequest(QueueSession) - Constructor for class org.apache.cactus.JmsRequest
 
JmsTestCase - Class in org.apache.cactus
TestCase class to test Message Driven Beans (or any JMS listener for that matter).
JmsTestCase() - Constructor for class org.apache.cactus.JmsTestCase
 
JmsTestCase(String) - Constructor for class org.apache.cactus.JmsTestCase
Constructs a JUnit test case with the given name.
JmsTestCase(String, Test) - Constructor for class org.apache.cactus.JmsTestCase
Constructs a JUnit test case with the given name.
JspConfiguration - Interface in org.apache.cactus.internal.configuration
Provides access to the Cactus configuration parameters related to the JSP Redirector.
JspImplicitObjects - 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 JspTestCase).
JspImplicitObjects() - Constructor for class org.apache.cactus.internal.server.JspImplicitObjects
 
JspRedirector - Class in org.apache.cactus.integration.api.cactify
Implementation of Redirector for JSP test redirectors.
JspRedirector() - Constructor for class org.apache.cactus.integration.api.cactify.JspRedirector
Default constructor.
JspRedirector(Logger) - Constructor for class org.apache.cactus.integration.api.cactify.JspRedirector
Constructor with owner task to set.
JspRedirector - Class in org.apache.cactus.maven2.mojos
We extend the JspRedirector so that we can define custom redirector definitions in the pom.xml.
JspRedirector() - Constructor for class org.apache.cactus.maven2.mojos.JspRedirector
 
jspRedirectorMapping - Variable in class org.apache.cactus.integration.api.deployable.AbstractDeployableFile
JSP mapping of the Cactus JSP redirector found in the warArchive WAR.
JspTagLifecycle - Class in org.apache.cactus.extension.jsp
Convenience class that supports the testing of JSP tag by managing the tag's lifecycle as required by the JSP specification.
JspTagLifecycle(PageContext, Tag) - Constructor for class org.apache.cactus.extension.jsp.JspTagLifecycle
Constructor.
JspTagLifecycle.Interceptor - Class in org.apache.cactus.extension.jsp
Abstract class for intercepting the tag lifecycle.
JspTagLifecycle.Interceptor() - Constructor for class org.apache.cactus.extension.jsp.JspTagLifecycle.Interceptor
 
JspTestCaller - Class in org.apache.cactus.internal.server
Call the test method on the server side after assigning the JSP implicit objects using reflection.
JspTestCaller(JspImplicitObjects) - Constructor for class org.apache.cactus.internal.server.JspTestCaller
 
JspTestCase - Class in org.apache.cactus
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() - Constructor for class org.apache.cactus.JspTestCase
 
JspTestCase(String) - Constructor for class org.apache.cactus.JspTestCase
 
JspTestCase(String, Test) - Constructor for class org.apache.cactus.JspTestCase
 
JspTestController - Class in org.apache.cactus.internal.server
JSP Controller that extracts the requested service from the HTTP request and executes the request by calling a JspTestCaller.
JspTestController() - Constructor for class org.apache.cactus.internal.server.JspTestController
 
JspTestRedirector - Class in org.apache.cactus.server
Extension of the jspRedirector.jsp JSP Redirector in the java realm in order to provide a symmetry with the ServletRedirector and minimize the amount of java code in jspRedirector.jsp.
JspTestRedirector() - Constructor for class org.apache.cactus.server.JspTestRedirector
 
jspWriter - Variable in class org.apache.cactus.internal.server.JspImplicitObjects
The JSP redirector JspWriter object (same as pagecontext.getOut()).
JUnitVersionHelper - Class in org.apache.cactus.internal.util
Work around for some changes to the public JUnit API between different JUnit releases.
JUnitVersionHelper() - Constructor for class org.apache.cactus.internal.util.JUnitVersionHelper
 

L

launch(ILaunchConfiguration, String, ILaunch, IProgressMonitor) - Method in class org.apache.cactus.eclipse.runner.launcher.CactusLaunchConfiguration
 
LIB - Static variable in class org.apache.cactus.eclipse.webapp.internal.WarBuilder
Name of the lib directory
LibraryHelper - Class in org.apache.cactus.eclipse.runner.common
Helper class for library access.
LibraryHelper() - Constructor for class org.apache.cactus.eclipse.runner.common.LibraryHelper
 
load(String) - Method in class org.apache.cactus.internal.server.runner.WebappTestSuiteLoader
Try to load the test suite class using both the context class loader or the class loader that loaded this class.
loadClass(String, Class) - Static method in class org.apache.cactus.internal.util.ClassLoaderUtils
Try loading a class first by using the context class loader or by using the classloader of the referrer class if the context classloader failed to load the class.
loadClassFromContextClassLoader(String) - Static method in class org.apache.cactus.internal.util.ClassLoaderUtils
Try loading class using the Context class loader.
loadClassFromWebappClassLoader(String, Class) - Static method in class org.apache.cactus.internal.util.ClassLoaderUtils
Try loading class using the Webapp class loader.
loadDefaultValues() - Method in class org.apache.cactus.eclipse.webapp.internal.Webapp
Loads the default values of a webapp.
loadFromRequest(HttpServletRequest) - Static method in class org.apache.cactus.ServletURL
Creates a ServletURL object by loading it's values from the HTTP request.
loadPersistentValues() - Method in class org.apache.cactus.eclipse.webapp.internal.Webapp
Loads the persistent properties for this webapp.
loadPropertyResourceBundle(String, Class) - Static method in class org.apache.cactus.internal.util.ClassLoaderUtils
Try loading a resource bundle from either the context class loader or the.
loadSuiteClass(String) - Method in class org.apache.cactus.internal.server.runner.WebappTestRunner
Returns the loaded Class for a suite name.
loadValues() - Method in class org.apache.cactus.eclipse.webapp.internal.Webapp
Loads this webapp from the project properties.
localRepository - Variable in class org.apache.cactus.maven2.mojos.CactifyWarMojo
 
log(String) - Static method in class org.apache.cactus.eclipse.runner.ui.CactusPlugin
 
log(Throwable) - Static method in class org.apache.cactus.eclipse.runner.ui.CactusPlugin
 
log(IStatus) - Static method in class org.apache.cactus.eclipse.runner.ui.CactusPlugin
 
log(String, Throwable) - Method in class org.apache.cactus.server.AbstractServletContextWrapper
Intercept the log call and add the message to an internal vector of log messages that can then later be retrieved and asserted by the test case writer.
log(String) - Method in class org.apache.cactus.server.AbstractServletContextWrapper
Intercept the log call and add the message to an internal vector of log messages that can then later be retrieved and asserted by the test case writer.
log(Exception, String) - Method in class org.apache.cactus.server.AbstractServletContextWrapper
Deprecated. As of Java Servlet API 2.1, use AbstractServletContextWrapper.log(String message, Throwable throwable) instead. This method was originally defined to write an exception's stack trace and an explanatory error message to the servlet log file.
logger - Variable in class org.apache.cactus.integration.api.cactify.Redirector
Cargo logger - when used by Ant, AntLogger must instantiated, when used by Maven MavenLogger should be instantiated;

M

mapping - Variable in class org.apache.cactus.integration.api.cactify.Redirector
The URL pattern that the redirector will be mapped to.
mdbImplicitObjects - Variable in class org.apache.cactus.internal.server.AbstractJMSTestCaller
The implicit objects (which will be used to set the test case fields in the setTesCaseFields method.
mdbImplicitObjects - Variable in class org.apache.cactus.internal.server.MessageDrivenBeanTestCaller
The implicit objects (which will be used to set the test case fields in the setTesCaseFields method.
mergeInto(WebXml) - Method in class org.apache.cactus.integration.api.cactify.FilterRedirector
Merges the definition of the redirector into the provided deployment descriptor.
mergeInto(WebXml) - Method in class org.apache.cactus.integration.api.cactify.JspRedirector
Merges the definition of the redirector into the provided deployment descriptor.
mergeInto(WebXml) - Method in class org.apache.cactus.integration.api.cactify.Redirector
Merges the definition of the redirector into the provided deployment descriptor.
mergeInto(WebXml) - Method in class org.apache.cactus.integration.api.cactify.ServletRedirector
Merges the definition of the redirector into the provided deployment descriptor.
message - Variable in class org.apache.cactus.JmsTestCase
Valid Message object that you can access from the testXXX(), setUp and tearDown() methods.
MessageDrivenBeanImplicitObjects - Class in org.apache.cactus.spi.server
Implicit objects for the Message Driven Bean redirector.
MessageDrivenBeanImplicitObjects() - Constructor for class org.apache.cactus.spi.server.MessageDrivenBeanImplicitObjects
 
MessageDrivenBeanRedirector - Class in org.apache.cactus.spi.server
Generic Message Driven Bean redirector that calls a test method on the server side.
MessageDrivenBeanRedirector() - Constructor for class org.apache.cactus.spi.server.MessageDrivenBeanRedirector
 
MessageDrivenBeanTestCaller - 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.
MessageDrivenBeanTestCaller(MessageDrivenBeanImplicitObjects) - Constructor for class org.apache.cactus.internal.server.MessageDrivenBeanTestCaller
 
MessageDrivenBeanTestController - Class in org.apache.cactus.internal.server
MDB Controller that extracts the requested service from the JMS request and executes the request by calling a MessageDrivenBeanTestCaller.
MessageDrivenBeanTestController() - Constructor for class org.apache.cactus.internal.server.MessageDrivenBeanTestController
 
METHOD_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 method to call.
METHOD_NAME_PARAM - Static variable in class org.apache.cactus.ServiceDefinition
Name of the parameter in the HTTP request that represents the name of the Test method to call.

N

name - Variable in class org.apache.cactus.integration.api.cactify.Redirector
The name of the redirector.
newInstance(HttpServletRequest, ServletURL) - Static method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
newInstance(PageContext, ServletURL) - Static method in class org.apache.cactus.server.AbstractPageContextWrapper
newInstance(ServletConfig) - Static method in class org.apache.cactus.server.AbstractServletConfigWrapper
 
newInstance(ServletContext) - Static method in class org.apache.cactus.server.AbstractServletContextWrapper
 

O

objects - Variable in class org.apache.cactus.internal.server.AbstractEJBTestCaller
The ejb implicitObjects instance.
onMessage(Message) - Method in class org.apache.cactus.spi.server.MessageDrivenBeanRedirector
Receives a message from a JMS Queue and make it available to the test case.
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.container - package org.apache.cactus.container
 
org.apache.cactus.eclipse.quickfix - package org.apache.cactus.eclipse.quickfix
 
org.apache.cactus.eclipse.runner.common - package org.apache.cactus.eclipse.runner.common
 
org.apache.cactus.eclipse.runner.containers - package org.apache.cactus.eclipse.runner.containers
 
org.apache.cactus.eclipse.runner.containers.ant - package org.apache.cactus.eclipse.runner.containers.ant
 
org.apache.cactus.eclipse.runner.containers.jetty - package org.apache.cactus.eclipse.runner.containers.jetty
 
org.apache.cactus.eclipse.runner.launcher - package org.apache.cactus.eclipse.runner.launcher
 
org.apache.cactus.eclipse.runner.ui - package org.apache.cactus.eclipse.runner.ui
 
org.apache.cactus.eclipse.webapp.internal - package org.apache.cactus.eclipse.webapp.internal
 
org.apache.cactus.eclipse.webapp.internal.ui - package org.apache.cactus.eclipse.webapp.internal.ui
 
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.integration.ant - package org.apache.cactus.integration.ant
Contains the tasks and types provided for integration of Cactus with Ant.
org.apache.cactus.integration.ant.container - package org.apache.cactus.integration.ant.container
Contains classes and interfaces that constitute the support for container startup and shutdown in the Ant integration.
org.apache.cactus.integration.ant.util - package org.apache.cactus.integration.ant.util
Contains utility classes used by the Ant integration.
org.apache.cactus.integration.api.cactify - package org.apache.cactus.integration.api.cactify
 
org.apache.cactus.integration.api.deployable - package org.apache.cactus.integration.api.deployable
Contains classes that support deployment aspects like parsing deployment descriptors and extracting resources from deployment archives.
org.apache.cactus.integration.api.exceptions - package org.apache.cactus.integration.api.exceptions
 
org.apache.cactus.integration.api.version - package org.apache.cactus.integration.api.version
 
org.apache.cactus.integration.maven - package org.apache.cactus.integration.maven
 
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.client.jms - package org.apache.cactus.internal.client.jms
 
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.maven2.mojos - package org.apache.cactus.maven2.mojos
 
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.

P

packaging - Variable in class org.apache.cactus.maven2.mojos.CactifyWarMojo
Packaging type of the artifact to be installed.
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
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) - Constructor for class org.apache.cactus.server.PageContextWrapper
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.
parse(File) - Static method in class org.apache.cactus.integration.api.deployable.EarParser
Parse an EAR descriptor to extract meaninful information for Cactus.
parse(File) - Static method in class org.apache.cactus.integration.api.deployable.WarParser
Parse an WAR descriptor to extract meaninful information for Cactus.
parse(String) - Method in class org.apache.cactus.internal.client.WebTestResultParser
Parse a string and transform it into a WebTestResult object.
parseTestContext(EarArchive, String) - Static method in class org.apache.cactus.integration.api.deployable.EarParser
Find the test context from the EAR archive.
parseWebContext(File) - Static method in class org.apache.cactus.integration.api.deployable.WarParser
 
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
performDefaults() - Method in class org.apache.cactus.eclipse.webapp.internal.ui.WebAppPropertyPage
 
performOk() - Method in class org.apache.cactus.eclipse.webapp.internal.ui.WebAppPropertyPage
 
persist() - Method in class org.apache.cactus.eclipse.webapp.internal.Webapp
Saves this webapp in the project's properties
popBody() - Method in class org.apache.cactus.server.AbstractPageContextWrapper
POST_METHOD - Static variable in interface org.apache.cactus.WebRequest
POST Method identifier.
preparationDone() - Method in class org.apache.cactus.eclipse.runner.containers.ant.AntContainerManager
Sets the prepared flag.
prepare(IJavaProject) - Method in class org.apache.cactus.eclipse.runner.containers.ant.AntContainerManager
 
prepare(IJavaProject) - Method in interface org.apache.cactus.eclipse.runner.containers.IContainerManager
Prepares the container providers for Cactus tests
prepare(IJavaProject) - Method in class org.apache.cactus.eclipse.runner.containers.jetty.JettyContainerManager
 
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.
processFileSet(FileSet, Path) - Method in class org.apache.cactus.integration.maven.CactusScanner
Finds the Cactus test cases from a list of files.
projectVersion - Variable in class org.apache.cactus.maven2.mojos.CactifyWarMojo
Version of the artifact to be installed.
PropertySet - Class in org.apache.cactus.integration.ant.util
Ant element used to tell the Cactus task to load a properties file and passed its properties to the client side or server side JVMs.
PropertySet() - Constructor for class org.apache.cactus.integration.ant.util.PropertySet
 
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

R

readExceptionClassname(String) - Method in class org.apache.cactus.internal.client.WebTestResultParser
Read the WebTestResult.XML_EXCEPTION_CLASSNAME_ATTRIBUTE portion and extract the exception classname.
readExceptionMessage(String) - Method in class org.apache.cactus.internal.client.WebTestResultParser
Read the WebTestResult.XML_EXCEPTION_MESSAGE_ELEMENT portion and extract the exception message.
readExceptionStacktrace(String) - Method in class org.apache.cactus.internal.client.WebTestResultParser
Read the WebTestResult.XML_EXCEPTION_STACKTRACE_ELEMENT portion and extract the exception stacktrace.
readFully(HttpURLConnection) - Method in class org.apache.cactus.extension.jetty.Jetty5xTestSetup
Fully reads the input stream from the passed HTTP URL connection to prevent (harmless) server-side exception.
readFully(HttpURLConnection) - Method in class org.apache.cactus.extension.jetty.Jetty6xTestSetup
Fully reads the input stream from the passed HTTP URL connection to prevent (harmless) server-side exception.
readProperties() - Method in class org.apache.cactus.integration.ant.util.PropertySet
 
readRootElement(String) - Method in class org.apache.cactus.internal.client.WebTestResultParser
Read the WebTestResult.XML_ROOT_ELEMENT portion.
Redirector - Class in org.apache.cactus.integration.api.cactify
Abstract base class for nested redirector elements.
Redirector() - Constructor for class org.apache.cactus.integration.api.cactify.Redirector
Default constructor.
Redirector(Logger) - Constructor for class org.apache.cactus.integration.api.cactify.Redirector
Constructor with ownerTask.
refresh() - Method in class org.apache.cactus.eclipse.webapp.internal.ui.WebAppConfigurationBlock
Refreshes the control.
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.
roles - Variable in class org.apache.cactus.integration.api.cactify.Redirector
Comma-separated list of role names that should be granted access to the redirector.
run() - Method in class org.apache.cactus.eclipse.runner.containers.ant.EclipseRunTests
Launches Cactus tests.
run(IAction) - Method in class org.apache.cactus.eclipse.runner.ui.CactifyActionDelegate
 
run(TestResult) - Method in class org.apache.cactus.extension.jetty.Jetty5xTestSetup
Make sure that Jetty5xTestSetup.tearDown() is called if Jetty5xTestSetup.setUp() fails to start the container properly.
run(TestResult) - Method in class org.apache.cactus.extension.jetty.Jetty6xTestSetup
Make sure that Jetty6xTestSetup.tearDown() is called if Jetty6xTestSetup.setUp() fails to start the container properly.
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.
RunServerTestsTask - Class in org.apache.cactus.integration.ant
Task to automate running in-container unit test.
RunServerTestsTask() - Constructor for class org.apache.cactus.integration.ant.RunServerTestsTask
 
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
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.
runTest(Test, Test, Request) - Method in class org.apache.cactus.internal.client.connector.http.JmsProtocolHandler
The method that actually runs the tests.
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.

S

saveToRequest(WebRequest) - Method in class org.apache.cactus.ServletURL
Saves the current URL to a WebRequest object.
selectionChanged(IAction, ISelection) - Method in class org.apache.cactus.eclipse.runner.ui.CactifyActionDelegate
 
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.
SERVICE_NAME_PARAM - Static variable in class org.apache.cactus.ServiceDefinition
Name of the parameter in the HTTP request that specify the service asked to the Redirector Servlet.
ServiceDefinition - Class in org.apache.cactus
Constants that define HTTP parameters required for defining a service that is performed by the ServletTestRedirector servlet.
ServiceDefinition() - Constructor for class org.apache.cactus.ServiceDefinition
 
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.
ServletRedirector - Class in org.apache.cactus.integration.api.cactify
Implementation of Redirector for servlet test redirectors.
ServletRedirector() - Constructor for class org.apache.cactus.integration.api.cactify.ServletRedirector
Default constructor.
ServletRedirector(Logger) - Constructor for class org.apache.cactus.integration.api.cactify.ServletRedirector
Constructor with owner task to set.
ServletRedirector - Class in org.apache.cactus.maven2.mojos
We extend the ServletRedirector so that we can define custom redirector definitions in the pom.xml.
ServletRedirector() - Constructor for class org.apache.cactus.maven2.mojos.ServletRedirector
 
servletRedirectorMapping - Variable in class org.apache.cactus.integration.api.deployable.AbstractDeployableFile
Servlet mapping of the Cactus Servlet redirector found in the warArchive WAR.
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.
setActivePart(IAction, IWorkbenchPart) - Method in class org.apache.cactus.eclipse.runner.ui.CactifyActionDelegate
 
setAddEjbReferences(boolean) - Method in class org.apache.cactus.integration.ant.CactifyEarTask
Indicates whether or not ejb references should be added.
setAntTaskFactory(AntTaskFactory) - Method in class org.apache.cactus.integration.ant.container.GenericContainer
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
Sets the authentication object that will configure the http request.
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
setCheckInterval(long) - Method in class org.apache.cactus.container.ContainerRunner
Sets the time interval to sleep between polling the container.
setClassName(String, String) - Method in class org.apache.cactus.EJBRequest
A method to set the name of the class as a request parameter.
setClassName(String) - Method in class org.apache.cactus.internal.RequestDirectives
 
setClasspath(IClasspathEntry[]) - Method in class org.apache.cactus.eclipse.webapp.internal.Webapp
Sets the classpath.
setClasspath(Path) - Method in class org.apache.cactus.integration.maven.CactusScannerTag
Sets the classapth in which we will look for Cactus test cases.
setClasspathRef(Reference) - Method in class org.apache.cactus.integration.maven.CactusScannerTag
Sets the classpath in which we will look for Cactus test cases, using a reference.
setClasspathref(String) - Method in class org.apache.cactus.integration.maven.CactusScannerTag
Sets the classpath in which we will look for Cactus test cases, using a String reference.
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.Jetty5xTestSetup
Sets the configuration file to use for initializing Jetty.
setConfigFile(File) - Method in class org.apache.cactus.extension.jetty.Jetty6xTestSetup
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
 
setContainer(Container) - Method in class org.apache.cactus.container.ContainerWrapper
 
setContainerClasspath(String[]) - Method in class org.apache.cactus.container.ContainerWrapper
setContentType(String) - Method in class org.apache.cactus.internal.BaseWebRequest
Sets the content type that will be set in the http request.
setContentType(String) - Method in interface org.apache.cactus.WebRequest
Sets the content type that will be set in the http request.
setContext(String) - Method in class org.apache.cactus.integration.ant.CactifyWarTask
Sets the context.
setContext(String) - Method in class org.apache.cactus.integration.ant.CactusWar
 
setContext(String) - Method in class org.apache.cactus.maven2.mojos.CactifyWarMojo
Sets the context.
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().
setContextURL(URL) - Method in class org.apache.cactus.eclipse.runner.containers.ContainerInfo
Sets the contextURL.
setContextURL(String) - Method in class org.apache.cactus.integration.ant.CactusTestTask
Sets the context url that will be tested.
setDelegatedTest(Test) - Method in class org.apache.cactus.internal.server.ServerTestCaseCaller
 
setDestFile(File) - Method in class org.apache.cactus.integration.ant.CactusWar
Setter method for the destination file.
setDestFile(File) - Method in class org.apache.cactus.integration.ant.WebXmlMergeTask
The destination file where the result of the merge are stored.
setDestFile(File) - Method in class org.apache.cactus.maven2.mojos.CactifyWarMojo
Setter method for the destFile.
setDir(String) - Method in class org.apache.cactus.eclipse.webapp.internal.Webapp
Sets the dir.
setDomain(String) - Method in class org.apache.cactus.Cookie
Sets the cookie domain.
setEarFile(File) - Method in class org.apache.cactus.integration.ant.CactusTask
Sets the enterprise application archive that will be tested.
setEarFile(File) - Method in class org.apache.cactus.integration.ant.CactusTestTask
Sets the enterprise application archive that will be tested.
setEclipseRunner(EclipseRunTests) - Method in class org.apache.cactus.eclipse.runner.containers.ant.AntContainerManager
 
setEclipseRunner(EclipseRunTests) - Method in class org.apache.cactus.eclipse.runner.containers.ant.AntContainerProvider
 
setEJBContext(SessionContext) - Method in class org.apache.cactus.internal.server.BeanImplicitObjects
Setter method for the ejb context.
setEJBContext(SessionContext) - Method in interface org.apache.cactus.internal.server.EJBImplicitObjects
Setter method for the session context.
setEJBRequest(EJBRequest) - Method in class org.apache.cactus.internal.server.BeanImplicitObjects
Setter method for the ejb request.
setEJBRequest(EJBRequest) - Method in interface org.apache.cactus.internal.server.EJBImplicitObjects
Setter method for the ejb request.
setEncoding(String) - Method in class org.apache.cactus.integration.ant.WebXmlMergeTask
Sets the encoding of the resulting XML file.
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.
setFile(File) - Method in class org.apache.cactus.integration.api.deployable.AbstractDeployableFile
 
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.
setFilterRedirectorMapping(String) - Method in class org.apache.cactus.integration.api.deployable.AbstractDeployableFile
 
setForce(boolean) - Method in class org.apache.cactus.integration.ant.WebXmlMergeTask
Sets whether the merge should be performed even when the destination file is up to date.
setForceShutdown(boolean) - Method in class org.apache.cactus.extension.jetty.Jetty5xTestSetup
 
setForceShutdown(boolean) - Method in class org.apache.cactus.extension.jetty.Jetty6xTestSetup
 
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
 
setIncludeCactusJars(boolean) - Method in class org.apache.cactus.integration.ant.CactifyWarTask
Sets whether the cactus jars should be included or not.
setIndent(boolean) - Method in class org.apache.cactus.integration.ant.WebXmlMergeTask
Whether the result XML file should be indented for better readability.
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.
setJspRedirectorMapping(String) - Method in class org.apache.cactus.integration.api.deployable.AbstractDeployableFile
 
setJspWriter(JspWriter) - Method in class org.apache.cactus.internal.server.JspImplicitObjects
 
setLogger(Logger) - Method in class org.apache.cactus.container.ContainerRunner
Sets the log to write to.
setLogger(Logger) - Method in class org.apache.cactus.container.ContainerWrapper
 
setLogger(Logger) - Method in class org.apache.cactus.integration.api.cactify.CactifyUtils
Setter method for the logger.
setLogs(File) - Method in class org.apache.cactus.integration.ant.CactusTestTask
Sets the Logs.
setMapping(String) - Method in class org.apache.cactus.integration.api.cactify.Redirector
Sets the URL pattern that the redirector should be mapped to.
setMergeFile(File) - Method in class org.apache.cactus.integration.ant.WebXmlMergeTask
The descriptor to merge into the original file.
setMergeWebXml(File) - Method in class org.apache.cactus.integration.ant.CactifyWarTask
The descriptor to merge into the original file.
setMessage(Message) - Method in class org.apache.cactus.spi.server.MessageDrivenBeanImplicitObjects
Sets the JMS Message as retrieved by the Cactus redirector.
setMessageDrivenBeanContext(MessageDrivenContext) - Method in class org.apache.cactus.spi.server.MessageDrivenBeanImplicitObjects
Sets the Message Driven Bean context as set by the J2EE container.
setMessageDrivenContext(MessageDrivenContext) - Method in class org.apache.cactus.spi.server.MessageDrivenBeanRedirector
Sets the Message context (automatically called by the container).
setMethodName(String, String) - Method in class org.apache.cactus.EJBRequest
A method to set the name of the test-method.
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.integration.ant.container.GenericContainer
Sets the name of the container for logging purposes.
setName(String) - Method in class org.apache.cactus.integration.api.cactify.Redirector
Sets the name of the redirector.
setName(String) - Method in class org.apache.cactus.internal.AbstractTestSuite
setOutput(String) - Method in class org.apache.cactus.eclipse.webapp.internal.Webapp
Sets the output.
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().
setPort(int) - Method in class org.apache.cactus.integration.ant.container.GenericContainer
Sets the port to which the container should listen.
setProject(Project) - Method in class org.apache.cactus.integration.maven.CactusScanner
 
setProject(MavenProject) - Method in class org.apache.cactus.maven2.mojos.CactifyWarMojo
Setter method for the MavenProject.
setPropertiesFile(File) - Method in class org.apache.cactus.integration.ant.util.PropertySet
 
setProtocol(String) - Method in class org.apache.cactus.ServletURL
Sets the protocol to simulate (either ServletURL.PROTOCOL_HTTP or ServletURL.PROTOCOL_HTTPS.
setProxyPort(int) - Method in class org.apache.cactus.integration.ant.ContainerSet
Sets the proxy port which will be used by the test caller instead of the real container port.
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().
setQueueName(String) - Method in class org.apache.cactus.JmsRequest
Sets the Queue name to use to send the JMS message.
setRedirectorName(String) - Method in class org.apache.cactus.internal.WebRequestImpl
Override the redirector Name defined in cactus.properties.
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.
setRequest(JmsRequest) - Method in class org.apache.cactus.spi.server.MessageDrivenBeanImplicitObjects
Setter method for the jms request object.
setRequestQueue(Queue) - Method in class org.apache.cactus.spi.server.MessageDrivenBeanImplicitObjects
Setter for the queue that we are about to post our request to.
setResourceDir(File) - Method in class org.apache.cactus.extension.jetty.Jetty5xTestSetup
Sets the directory in which Jetty will look for the web-application resources.
setResourceDir(File) - Method in class org.apache.cactus.extension.jetty.Jetty6xTestSetup
Sets the directory in which Jetty will look for the web-application resources.
setRoles(String) - Method in class org.apache.cactus.integration.api.cactify.Redirector
Sets the comma-separated list of role names that should be granted access to the redirector.
setRunLocal(boolean) - Method in class org.apache.cactus.integration.ant.CactusTestTask
Sets the scope of the test.
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.
setSelectedProject(IJavaProject) - Method in class org.apache.cactus.eclipse.runner.ui.CactifyActionDelegate
 
setServer(boolean) - Method in class org.apache.cactus.integration.ant.util.PropertySet
 
setServerName(String) - Method in class org.apache.cactus.integration.ant.CactusTestTask
Sets the server host that will be tested.
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().
setServletPort(String) - Method in class org.apache.cactus.integration.ant.CactusTestTask
Sets the servlet port that will be tested.
setServletRedirectorMapping(String) - Method in class org.apache.cactus.integration.api.deployable.AbstractDeployableFile
 
setSessionContext(SessionContext) - Method in class org.apache.cactus.internal.server.EJBTestRedirectorBean
 
setSessionCookieName(String) - Method in class org.apache.cactus.client.authentication.FormAuthentication
Set the cookie name of the session to theName.
setShutDownTarget(String) - Method in class org.apache.cactus.integration.ant.container.GenericContainer
Sets the target to call to stop the server.
setShutDownWait(long) - Method in class org.apache.cactus.container.ContainerRunner
Sets the time to wait after the container has been shut down.
setSrcFile(File) - Method in class org.apache.cactus.integration.ant.CactifyEarTask
 
setSrcFile(File) - Method in class org.apache.cactus.integration.ant.CactifyWarTask
Sets the web application archive that should be cactified.
setSrcFile(File) - Method in class org.apache.cactus.integration.ant.WebXmlMergeTask
The original web deployment descriptor into which the new elements will be merged.
setSrcFile(File) - Method in class org.apache.cactus.maven2.mojos.CactifyWarMojo
Sets the source file for cactification.
setStartTarget(String) - Method in class org.apache.cactus.integration.ant.RunServerTestsTask
Sets the target to call to start the server.
setStartUpTarget(String) - Method in class org.apache.cactus.integration.ant.container.GenericContainer
Sets the target to call to start the server.
setStopTarget(String) - Method in class org.apache.cactus.integration.ant.RunServerTestsTask
Sets the target to call to stop the server.
setSuiteClassName(String) - Method in class org.apache.cactus.internal.server.runner.XMLFormatter
Sets the suite class name that was executed.
setSystemProperties(Map) - Method in class org.apache.cactus.container.ContainerWrapper
setTarget(String) - Method in class org.apache.cactus.integration.ant.container.GenericContainer.Hook
Sets the target to call.
setTaskProperty(String, Object) - Method in class org.apache.cactus.integration.maven.CactusScannerTag
setTestCaseFields(AbstractCactusTestCase) - Method in class org.apache.cactus.internal.server.AbstractEJBTestCaller
Setter method to set the test-case fields.
setTestCaseFields(TestCase) - Method in class org.apache.cactus.internal.server.AbstractWebTestCaller
Sets the implicit object in the test case class.
setTestCaseFields(AbstractCactusTestCase) - Method in class org.apache.cactus.internal.server.EJBTestCaller
A constructor that takes the instance of the test-case as a parameter.
setTestCaseFields(TestCase) - Method in class org.apache.cactus.internal.server.FilterTestCaller
Sets the implicit object in the test case class.
setTestCaseFields(TestCase) - Method in class org.apache.cactus.internal.server.JspTestCaller
Sets the implicit object in the test case class.
setTestCaseFields(TestCase) - Method in class org.apache.cactus.internal.server.MessageDrivenBeanTestCaller
setTestCaseFields(TestCase) - Method in class org.apache.cactus.internal.server.ServletTestCaller
Sets the implicit object in the test case class.
setTestContext(String) - Method in class org.apache.cactus.integration.api.deployable.AbstractDeployableFile
setTestContext(String) - Method in interface org.apache.cactus.integration.api.deployable.DeployableFile
 
setTestTarget(String) - Method in class org.apache.cactus.integration.ant.RunServerTestsTask
Sets the target to call to run the tests.
setTestURL(URL) - Method in class org.apache.cactus.integration.ant.RunServerTestsTask
Sets the URL to call for testing if the server is running.
setTimeout(long) - Method in class org.apache.cactus.container.ContainerRunner
Sets the timeout after which to stop trying to call the container.
setTimeout(long) - Method in class org.apache.cactus.integration.ant.CactusTestTask
 
setTimeout(long) - Method in class org.apache.cactus.integration.ant.ContainerSet
Sets the timeout after which connecting to a container will be given up.
setTimeout(long) - Method in class org.apache.cactus.integration.ant.RunServerTestsTask
 
setToDir(File) - Method in class org.apache.cactus.integration.ant.CactusTestTask
Sets the test report dir.
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.Jetty5xTestSetup
Start an embedded Jetty server.
setUp() - Method in class org.apache.cactus.extension.jetty.Jetty6xTestSetup
Start an embedded Jetty server.
setupLogs() - Method in class org.apache.cactus.integration.ant.CactusTestTask
Set up the logs.
setURL(URL) - Method in class org.apache.cactus.container.ContainerRunner
Sets the HTTP/HTTPS URL that will be continuously pinged to check if the container is running.
setURL(String, String, String, String, String) - Method in class org.apache.cactus.internal.WebRequestImpl
Sets the simulated URL.
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
Allow the user to send arbitrary data in the request body.
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.
setVar(String) - Method in class org.apache.cactus.integration.maven.CactusScannerTag
Sets the name of the variable exported by this tag.
setVersion(Version) - Method in class org.apache.cactus.integration.ant.CactifyWarTask
Sets the web-app version to use when creating a WAR file from scratch.
setVersion(Version) - Method in class org.apache.cactus.integration.ant.CactusWar
Sets the web-app version to use when creating a WAR file from scratch.
setVersion(Version) - Method in class org.apache.cactus.maven2.mojos.CactifyWarMojo
Sets the web-app version to use when creating a WAR file from scratch.
setWarArchive(WarArchive) - Method in class org.apache.cactus.integration.api.deployable.AbstractDeployableFile
 
setWarArchiver(WarArchiver) - Method in class org.apache.cactus.maven2.mojos.CactifyWarMojo
Setter for the warArchiver so that the cactifyearmojo can set it.
setWarFile(File) - Method in class org.apache.cactus.integration.ant.CactusTask
Sets the web application archive that will be tested.
setWarFile(File) - Method in class org.apache.cactus.integration.ant.CactusTestTask
Sets the web application archive that will be tested.
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).
shutDown() - Method in class org.apache.cactus.container.ContainerWrapper
shutDown() - Method in class org.apache.cactus.integration.ant.container.GenericContainer
Shuts down the container by delegating to the shutdown hook.
shutDownContainer() - Method in class org.apache.cactus.container.ContainerRunner
Method called by the task to perform the stopping of the container.
skipBody() - Method in class org.apache.cactus.extension.jsp.JspTagLifecycle.Interceptor
Method called when the body of the tag would be skipped.
start(ContainerInfo, IProgressMonitor) - Method in class org.apache.cactus.eclipse.runner.containers.ant.AntContainerProvider
 
start(ContainerInfo, IProgressMonitor) - Method in interface org.apache.cactus.eclipse.runner.containers.IContainerProvider
Starts the container.
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.
startUp() - Method in class org.apache.cactus.container.ContainerWrapper
startUp() - Method in class org.apache.cactus.integration.ant.container.GenericContainer
Starts up the container by delegating to the startup hook.
startUpContainer() - Method in class org.apache.cactus.container.ContainerRunner
Method called by the task to perform the startup of the container.
stop(ContainerInfo, IProgressMonitor) - Method in class org.apache.cactus.eclipse.runner.containers.ant.AntContainerProvider
 
stop(ContainerInfo, IProgressMonitor) - Method in interface org.apache.cactus.eclipse.runner.containers.IContainerProvider
Stops the container.
StringUtil - Class in org.apache.cactus.internal.util
Various utility methods for string manipulation.
StringUtil() - Constructor for class org.apache.cactus.internal.util.StringUtil
 

T

tearDown() - Method in class org.apache.cactus.eclipse.runner.containers.ant.AntContainerManager
Tears down the Cactus tests
tearDown() - Method in interface org.apache.cactus.eclipse.runner.containers.IContainerManager
Tears down the container providers
tearDown() - Method in class org.apache.cactus.eclipse.runner.containers.jetty.JettyContainerManager
 
tearDown() - Method in class org.apache.cactus.extension.jetty.Jetty5xTestSetup
Stop the running Jetty server.
tearDown() - Method in class org.apache.cactus.extension.jetty.Jetty6xTestSetup
Stop the running Jetty server.
TEMP_DIR - Static variable in class org.apache.cactus.eclipse.runner.ui.CactusPreferences
The temp directory used by the plugin to set up containers.
test(EJBRequest) - Method in class org.apache.cactus.internal.server.EJBTestRedirectorBean
The "main" method of the redirector object.
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.container.ContainerRunner
Tests whether we are able to connect to the HTTP server identified by the specified URL.
testConnectivity(URL) - Method in class org.apache.cactus.extension.jetty.Jetty5xTestSetup
Tests whether we are able to connect to the HTTP server identified by the specified URL.
testConnectivity(URL) - Method in class org.apache.cactus.extension.jetty.Jetty6xTestSetup
Tests whether we are able to connect to the HTTP server identified by the specified URL.
testConnectivity() - Method in class org.apache.cactus.integration.ant.util.HttpProbe
Tests whether we are able to connect to the HTTP server identified by the specified URL.
testContext - Variable in class org.apache.cactus.integration.api.deployable.AbstractDeployableFile
Webapp context path containing the Cactus tests.
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, String) - Method in class org.apache.cactus.eclipse.runner.launcher.CactusLaunchConfiguration
 
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, String, String, String) - Method in class org.apache.cactus.eclipse.runner.launcher.CactusLaunchConfiguration
 
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.
testReran(String, String, String, int, String) - Method in class org.apache.cactus.eclipse.runner.launcher.CactusLaunchConfiguration
 
testRunEnded(long) - Method in class org.apache.cactus.eclipse.runner.launcher.CactusLaunchConfiguration
Test run has ended so we tear down the container setup.
testRunStarted(int) - Method in class org.apache.cactus.eclipse.runner.launcher.CactusLaunchConfiguration
 
testRunStopped(long) - Method in class org.apache.cactus.eclipse.runner.launcher.CactusLaunchConfiguration
If test run has stopped we have to do the same thing as if the test run had ended normally.
testRunTerminated() - Method in class org.apache.cactus.eclipse.runner.launcher.CactusLaunchConfiguration
If test run has been terminated we have to do the same thing as if the test run had ended normally.
tests() - Method in class org.apache.cactus.internal.AbstractTestSuite
testStarted(String, String) - Method in class org.apache.cactus.eclipse.runner.launcher.CactusLaunchConfiguration
 
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.
testTreeEntry(String) - Method in class org.apache.cactus.eclipse.runner.launcher.CactusLaunchConfiguration
 
timeout(long, long) - Method in class org.apache.cactus.integration.ant.util.HttpProbe
In thread tests whether we are able to connect to the HTTP server identified by the specified URL.
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.EJBTestResult
 
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() - Method in class org.apache.cactus.internal.EJBTestResult
 
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.

U

undeploy(String, Credential, IProgressMonitor) - Method in class org.apache.cactus.eclipse.runner.containers.ant.AntContainerProvider
 
undeploy(String, Credential, IProgressMonitor) - Method in interface org.apache.cactus.eclipse.runner.containers.IContainerProvider
UnDeploy a webapp to the container.
UniqueGenerator - Class in org.apache.cactus.internal.util
Generates a quasi-unique id for a test case.
UniqueGenerator() - Constructor for class org.apache.cactus.internal.util.UniqueGenerator
 
update(String, String, IClasspathEntry[]) - Method in class org.apache.cactus.eclipse.webapp.internal.ui.WebAppConfigurationBlock
Refreshes the control with the given values.
url - Variable in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
The URL to simulate.
url - Variable in class org.apache.cactus.server.AbstractPageContextWrapper
The URL to simulate.
URL_CONTEXT_PATH_PARAM - Static variable in class org.apache.cactus.ServletURL
Name of the parameter in the HTTP request that represents the context path in the URL to simulate.
URL_PATH_INFO_PARAM - Static variable in class org.apache.cactus.ServletURL
Name of the parameter in the HTTP request that represents the Path Info in the URL to simulate.
URL_PROTOCOL_PARAM - Static variable in class org.apache.cactus.ServletURL
Name of the parameter in the HTTP request that represents the protocol (HTTP, HTTPS, etc) in the URL to simulate.
URL_QUERY_STRING_PARAM - Static variable in class org.apache.cactus.ServletURL
Name of the parameter in the HTTP request that represents the Query String in the URL to simulate.
URL_SERVER_NAME_PARAM - Static variable in class org.apache.cactus.ServletURL
Name of the parameter in the HTTP request that represents the Server name (+ port) in the URL to simulate.
URL_SERVLET_PATH_PARAM - Static variable in class org.apache.cactus.ServletURL
Name of the parameter in the HTTP request that represents the Servlet Path in the URL to simulate.
UrlUtil - Class in org.apache.cactus.internal.util
Various utility methods for URL manipulation.
UrlUtil() - Constructor for class org.apache.cactus.internal.util.UrlUtil
 

V

valueOf(String) - Static method in class org.apache.cactus.internal.ServiceEnumeration
Returns the enumeration instance corresponding to the provided service name.
Version - Class in org.apache.cactus.integration.api.version
Enumeration for the version attribute.
Version() - Constructor for class org.apache.cactus.integration.api.version.Version
 
Version - Class in org.apache.cactus.internal.configuration
Provides the Cactus version at runtime.
Version() - Constructor for class org.apache.cactus.internal.configuration.Version
 
VERSION - Static variable in class org.apache.cactus.internal.configuration.Version
The Cactus version string which will be resolved by the project build file.
version - Variable in class org.apache.cactus.maven2.mojos.CactifyWarMojo
Version of the web.xml to create.
VM_ARG_SEPARATOR - Static variable in class org.apache.cactus.eclipse.runner.launcher.CactusLaunchConfiguration
Separator between VM arguments

W

warArchive - Variable in class org.apache.cactus.integration.api.deployable.AbstractDeployableFile
WAR deployment descriptor as a java object.
WarBuilder - Class in org.apache.cactus.eclipse.webapp.internal
Helper class for creating War files.
WarBuilder(IJavaProject) - Constructor for class org.apache.cactus.eclipse.webapp.internal.WarBuilder
 
WarDeployableFile - Class in org.apache.cactus.integration.api.deployable
Represents a WAR file to deploy in a container.
WarDeployableFile() - Constructor for class org.apache.cactus.integration.api.deployable.WarDeployableFile
 
warn(String) - Method in class org.apache.cactus.integration.api.cactify.CactifyUtils
Log warn the given message.
WarParser - Class in org.apache.cactus.integration.api.deployable
Parse an WAR descriptor to extract meaninful information for Cactus, the results being stored in a WarDeployableFile object.
WarParser() - Constructor for class org.apache.cactus.integration.api.deployable.WarParser
 
Webapp - Class in org.apache.cactus.eclipse.webapp.internal
Represents a web application for a given project.
Webapp(IJavaProject) - Constructor for class org.apache.cactus.eclipse.webapp.internal.Webapp
 
WebAppConfigurationBlock - Class in org.apache.cactus.eclipse.webapp.internal.ui
UI block which shows a list of jar entries.
WebAppConfigurationBlock(Shell, IJavaProject, String, String, IClasspathEntry[]) - Constructor for class org.apache.cactus.eclipse.webapp.internal.ui.WebAppConfigurationBlock
Constructor.
WebappMessages - Class in org.apache.cactus.eclipse.webapp.internal.ui
Helper class to format text messages from the Cactus property resource bundle.
WebappPlugin - Class in org.apache.cactus.eclipse.webapp.internal.ui
The main plugin class to be used in the desktop.
WebappPlugin(IPluginDescriptor) - Constructor for class org.apache.cactus.eclipse.webapp.internal.ui.WebappPlugin
The constructor.
WebAppPropertyPage - Class in org.apache.cactus.eclipse.webapp.internal.ui
Property page for the web application.
WebAppPropertyPage() - Constructor for class org.apache.cactus.eclipse.webapp.internal.ui.WebAppPropertyPage
 
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).
WEBINF - Static variable in class org.apache.cactus.eclipse.webapp.internal.WarBuilder
Name of the WEB-INF directory
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
Default constructor that requires that BaseWebRequest.setConfiguration(Configuration) be called before the methods requiring a configuration object.
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
 
WEBXML - Static variable in class org.apache.cactus.eclipse.webapp.internal.WarBuilder
Name of the web.xml file
WebXmlMergeTask - Class in org.apache.cactus.integration.ant
Ant task that can merge the definitions from two web deployment descriptors into one descriptor.
WebXmlMergeTask() - Constructor for class org.apache.cactus.integration.ant.WebXmlMergeTask
 
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.

X

XML_EXCEPTION_CLASSNAME_ATTRIBUTE - Static variable in class org.apache.cactus.internal.EJBTestResult
Name of Exception XML attribute that contains the exception classname (see EJBTestResult.toXml()).
XML_EXCEPTION_CLASSNAME_ATTRIBUTE - Static variable in class org.apache.cactus.internal.WebTestResult
Name of Exception XML attribute that contains the exception classname (see WebTestResult.toXml()).
XML_EXCEPTION_ELEMENT - Static variable in class org.apache.cactus.internal.EJBTestResult
Name of Exception XML tag (see EJBTestResult.toXml()).
XML_EXCEPTION_ELEMENT - Static variable in class org.apache.cactus.internal.WebTestResult
Name of Exception XML tag (see WebTestResult.toXml()).
XML_EXCEPTION_MESSAGE_ELEMENT - Static variable in class org.apache.cactus.internal.EJBTestResult
Name of Exception Message XML tag (see EJBTestResult.toXml()).
XML_EXCEPTION_MESSAGE_ELEMENT - Static variable in class org.apache.cactus.internal.WebTestResult
Name of Exception Message XML tag (see WebTestResult.toXml()).
XML_EXCEPTION_STACKTRACE_ELEMENT - Static variable in class org.apache.cactus.internal.EJBTestResult
Name of Exception Stacktrace XML tag (see EJBTestResult.toXml()).
XML_EXCEPTION_STACKTRACE_ELEMENT - Static variable in class org.apache.cactus.internal.WebTestResult
Name of Exception Stacktrace XML tag (see WebTestResult.toXml()).
XML_ROOT_ELEMENT - Static variable in class org.apache.cactus.internal.EJBTestResult
Name of Root XML tag (see EJBTestResult.toXml()).
XML_ROOT_ELEMENT - Static variable in class org.apache.cactus.internal.WebTestResult
Name of Root XML tag (see WebTestResult.toXml()).
XMLConstants - Interface in org.apache.cactus.internal.server.runner
XML constants for outputting the JUnit test results in XML.
XMLFormatter - Class in org.apache.cactus.internal.server.runner
Format the test results in XML.
XMLFormatter() - Constructor for class org.apache.cactus.internal.server.runner.XMLFormatter
 
XMLTransformer - Class in org.apache.cactus.internal.server.runner
Helper class that handles the transformation of the XML test results to some output format determined by a stylesheet.
XMLTransformer(InputStream) - Constructor for class org.apache.cactus.internal.server.runner.XMLTransformer
Constructor.

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

Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.