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

A

AbstractChecker - class org.apache.anteater.test.meta.AbstractChecker.
Base class for Anteater FeatureChecker implementations.
AbstractChecker() - Constructor for class org.apache.anteater.test.meta.AbstractChecker
Constructor.
ActionTask - class org.apache.anteater.test.ActionTask.
Common class used to represent the common functionality of running multiple matchers on: the received request, while in the HTTP servlet the HTTP response, after a request has been sent to a server.
ActionTask() - Constructor for class org.apache.anteater.test.ActionTask
 
actionTaskError(String, Exception) - Method in class org.apache.anteater.test.log.XMLLogger
 
actionTaskError(String, Exception) - Method in class org.apache.anteater.test.log.ColourLogger
 
actionTaskError(String, Exception) - Method in class org.apache.anteater.test.log.TextLogger
 
actionTaskError(String, Exception) - Method in interface org.apache.anteater.test.log.Logger
Indicates that an error occurred before any of the tests were attempted.
actionTaskError(String, Exception) - Method in class org.apache.anteater.test.log.DebugLogger
 
actionTaskError(String, Exception) - Method in class org.apache.anteater.test.log.CompositeLogger
 
add(Groupable) - Method in class org.apache.anteater.test.Group
Add a Groupable Anteater object to this group.
addConfiguredContentEquals(ContentEquals) - Method in class org.apache.anteater.test.HttpRequest
Specify the HTTP body to post.
addConfiguredGroup(Group) - Method in class org.apache.anteater.test.Group
Set this object as the ancestor of a group.
addConfiguredHeader(Header) - Method in class org.apache.anteater.test.HttpRequest
Add a header to the request
addConfiguredLogger(LoggerFactory) - Method in class org.apache.anteater.test.ActionTask
 
addConfiguredMethod(Method) - Method in class org.apache.anteater.test.HttpRequest
Add a parameter to the request
addConfiguredParameter(Parameter) - Method in class org.apache.anteater.test.HttpRequest
Add a parameter to the request
addConfiguredSession(Session) - Method in class org.apache.anteater.test.ActionTask
 
addConfiguredUses(Uses) - Method in class org.apache.anteater.test.ActionTask
 
addContext(String, String, BaseTask) - Method in class org.apache.anteater.test.ServletContainer
 
addFeature(Feature) - Method in class org.apache.anteater.test.meta.Uses
Add a <feature> child element.
addHeader(Header) - Method in class org.apache.anteater.test.HttpMessage
 
addLogger(Logger) - Method in class org.apache.anteater.test.log.CompositeLogger
 
addLogger(LoggerFactory) - Method in class org.apache.anteater.test.Group
Add a <logger .../> to the group.
addMatch(Matcher) - Method in class org.apache.anteater.test.ActionTask
 
addMatcher(Matcher) - Method in class org.apache.anteater.test.MatcherSet
 
addNamespace(Namespace) - Method in class org.apache.anteater.test.ActionTask
 
addNamespace(Namespace) - Method in class org.apache.anteater.test.Group
Add a <namespace/> to the group.
addParameter(Parameter) - Method in class org.apache.anteater.test.HttpMessage
 
addProperty(Property) - Method in class org.apache.anteater.test.Group
Add an Ant Property to the group.
addSession(Session) - Method in class org.apache.anteater.test.Group
Add a <session/> to the group.
addTask(BaseTask) - Method in class org.apache.anteater.test.Group
Add a BaseTask, eg <httpRequest>, to the session.
addTask(Task) - Method in class org.apache.anteater.test.Matcher
 
addTask(Task) - Method in class org.apache.anteater.test.ContentHandlerTask
 
addText(String) - Method in class org.apache.anteater.test.SendResponse
Sets the body text.
addText(String) - Method in class org.apache.anteater.test.ContentHandlerTask
Used to directly set the text to compare the response against.
addText(String) - Method in class org.apache.anteater.test.MatcherTest
Sets the body text.
addText(String) - Method in class org.apache.anteater.test.matchers.Parameter
 
addText(String) - Method in class org.apache.anteater.test.matchers.ContentEquals
 
addText(String) - Method in class org.apache.anteater.test.matchers.XPath
 
addText(String) - Method in class org.apache.anteater.test.matchers.ResponseCode
 
addText(String) - Method in class org.apache.anteater.test.matchers.Regexp
Set the regular expression.
addText(String) - Method in class org.apache.anteater.test.matchers.Method
 
addText(String) - Method in class org.apache.anteater.test.matchers.Header
 
addUses(Uses) - Method in class org.apache.anteater.test.Group
 
applyRegexp(String, String, boolean, boolean) - Method in class org.apache.anteater.util.regexp.ORORegexpUtil
Applies a regexp pattern to a string, and returns whether the string contained the matched pattern.
applyRegexp(String, String, boolean, boolean) - Method in interface org.apache.anteater.util.regexp.RegexpUtil
Applies a regexp pattern to a string, and returns whether the string contained the matched pattern.
applyRegexp(String, String, boolean, boolean, boolean) - Method in class org.apache.anteater.util.regexp.ORORegexpUtil
Applies a regexp pattern to a string, and returns whether the string, or a part of the string, matched the pattern.
applyRegexp(String, String, boolean, boolean, boolean) - Method in interface org.apache.anteater.util.regexp.RegexpUtil
Applies a regexp pattern to a string, and returns whether the string, or a part of the string, matched the pattern.

B

Base64 - class org.apache.anteater.util.Base64.
This class provides encode/decode for RFC 2045 Base64 as defined by RFC 2045, N.
Base64() - Constructor for class org.apache.anteater.util.Base64
 
base64Decode(String) - Static method in class org.apache.anteater.util.Base64
 
BaseDataType - class org.apache.anteater.test.BaseDataType.
Root class for all the Anteater types.
BaseDataType() - Constructor for class org.apache.anteater.test.BaseDataType
 
BaseLogger - class org.apache.anteater.test.log.BaseLogger.
A basic Logger implementation.
BaseLogger.TestLog - class org.apache.anteater.test.log.BaseLogger.TestLog.
 
BaseLogger.TestLog(MatcherTest) - Constructor for class org.apache.anteater.test.log.BaseLogger.TestLog
 
BaseLogger() - Constructor for class org.apache.anteater.test.log.BaseLogger
 
baseName(String) - Static method in class org.apache.anteater.test.log.LoggerUtils
Return the file part of a URL.
BaseTask - class org.apache.anteater.test.BaseTask.
Root class for all the Anteater tasks.
BaseTask() - Constructor for class org.apache.anteater.test.BaseTask
 
Blob - class org.apache.anteater.test.matchers.Blob.
A binary object matcher.
Blob() - Constructor for class org.apache.anteater.test.matchers.Blob
 
body - Variable in class org.apache.anteater.test.SendResponse
 
bufferedCopy(InputStream, OutputStream) - Static method in class org.apache.anteater.util.IOUtil
Deprecated. Buffering streams is actively harmful! See the class description as to why. Use IOUtil.copy(InputStream, OutputStream) instead.

C

check() - Method in class org.apache.anteater.util.ImageInfo
Call this method after you have provided an input stream or file using ImageInfo.setInput(InputStream) or ImageInfo.setInput(DataInput).
checkers - Static variable in class org.apache.anteater.test.meta.FeatureCheckerFactory
 
checkerTable - Variable in class org.apache.anteater.test.meta.FeatureCheckerFactory
 
checkFeature(Feature) - Method in class org.apache.anteater.test.meta.JSSEChecker
 
checkFeature(Feature) - Method in class org.apache.anteater.test.meta.ExistenceChecker
 
checkFeature(Feature) - Method in class org.apache.anteater.test.meta.AbstractChecker
 
checkFeature(Feature) - Method in class org.apache.anteater.test.meta.ValueChecker
Check if the anteater.[feature.name] property has value [feature.value].
checkFeature(Feature) - Method in interface org.apache.anteater.test.meta.FeatureChecker
Check whether this Anteater installation has a feature.
checkFeature(Feature) - Method in class org.apache.anteater.test.meta.VersionChecker
 
CheckUses - class org.apache.anteater.test.meta.CheckUses.
Anteater Task that lets a script explicitly indicate where they want the features to be checked.
CheckUses() - Constructor for class org.apache.anteater.test.meta.CheckUses
 
close() - Method in class org.apache.anteater.util.TeeOutputStream
 
ColourLogger - class org.apache.anteater.test.log.ColourLogger.
Logger that writes Text log files with ANSI colour codes.
ColourLogger() - Constructor for class org.apache.anteater.test.log.ColourLogger
 
compare(String, String) - Static method in class org.apache.anteater.util.Utils
Resolve a reference to a resource.
compareWeak(String, String) - Static method in class org.apache.anteater.util.Utils
String comparison with precise error reporting, ignoring whitespace.
compatible(String, String, String) - Method in class org.apache.anteater.test.meta.VersionChecker
Checks if the script version is supported.
CompositeLogger - class org.apache.anteater.test.log.CompositeLogger.
A Logger that implements the Composite (GoF) pattern, by delegating method calls to a group of Loggers.
CompositeLogger() - Constructor for class org.apache.anteater.test.log.CompositeLogger
 
ContentEquals - class org.apache.anteater.test.matchers.ContentEquals.
Checks if the matchOn string is equal with another one.
ContentEquals() - Constructor for class org.apache.anteater.test.matchers.ContentEquals
 
contentEquals(InputStream, InputStream) - Static method in class org.apache.anteater.util.IOUtil
Compare the contents of two Streams to determine if they are equal or not.
ContentHandler - interface org.apache.anteater.test.handlers.ContentHandler.
ContentHandlers are adapter classes that convert from an Object (usually Ant's 'Task' or 'Type') to a String.
ContentHandlerFactory - class org.apache.anteater.test.handlers.ContentHandlerFactory.
Factory for creating ContentHandler classes.
ContentHandlerFactory() - Constructor for class org.apache.anteater.test.handlers.ContentHandlerFactory
 
ContentHandlerTask - class org.apache.anteater.test.ContentHandlerTask.
A superclass which can magically convert certain nested Task types into body text.
ContentHandlerTask() - Constructor for class org.apache.anteater.test.ContentHandlerTask
 
contentType - Variable in class org.apache.anteater.test.SendResponse
 
contentURL - Variable in class org.apache.anteater.test.HttpRequest
The URL from which we retrieve contents to send with the request, eg a SOAP body.
cookies - Variable in class org.apache.anteater.test.Session
 
copy(byte[], OutputStream) - Static method in class org.apache.anteater.util.IOUtil
Copy bytes from a byte[] to an OutputStream.
copy(byte[], OutputStream, int) - Static method in class org.apache.anteater.util.IOUtil
Copy bytes from a byte[] to an OutputStream.
copy(byte[], Writer) - Static method in class org.apache.anteater.util.IOUtil
Copy and convert bytes from a byte[] to chars on a Writer.
copy(byte[], Writer, int) - Static method in class org.apache.anteater.util.IOUtil
Copy and convert bytes from a byte[] to chars on a Writer.
copy(byte[], Writer, String) - Static method in class org.apache.anteater.util.IOUtil
Copy and convert bytes from a byte[] to chars on a Writer, using the specified encoding.
copy(byte[], Writer, String, int) - Static method in class org.apache.anteater.util.IOUtil
Copy and convert bytes from a byte[] to chars on a Writer, using the specified encoding.
copy(InputStream, OutputStream) - Static method in class org.apache.anteater.util.IOUtil
Copy bytes from an InputStream to an OutputStream.
copy(InputStream, OutputStream, int) - Static method in class org.apache.anteater.util.IOUtil
Copy bytes from an InputStream to an OutputStream.
copy(InputStream, Writer) - Static method in class org.apache.anteater.util.IOUtil
Copy and convert bytes from an InputStream to chars on a Writer.
copy(InputStream, Writer, int) - Static method in class org.apache.anteater.util.IOUtil
Copy and convert bytes from an InputStream to chars on a Writer.
copy(InputStream, Writer, String) - Static method in class org.apache.anteater.util.IOUtil
Copy and convert bytes from an InputStream to chars on a Writer, using the specified encoding.
copy(InputStream, Writer, String, int) - Static method in class org.apache.anteater.util.IOUtil
Copy and convert bytes from an InputStream to chars on a Writer, using the specified encoding.
copy(Reader, OutputStream) - Static method in class org.apache.anteater.util.IOUtil
Serialize chars from a Reader to bytes on an OutputStream, and flush the OutputStream.
copy(Reader, OutputStream, int) - Static method in class org.apache.anteater.util.IOUtil
Serialize chars from a Reader to bytes on an OutputStream, and flush the OutputStream.
copy(Reader, Writer) - Static method in class org.apache.anteater.util.IOUtil
Copy chars from a Reader to a Writer.
copy(Reader, Writer, int) - Static method in class org.apache.anteater.util.IOUtil
Copy chars from a Reader to a Writer.
copy(String, OutputStream) - Static method in class org.apache.anteater.util.IOUtil
Serialize chars from a String to bytes on an OutputStream, and flush the OutputStream.
copy(String, OutputStream, int) - Static method in class org.apache.anteater.util.IOUtil
Serialize chars from a String to bytes on an OutputStream, and flush the OutputStream.
copy(String, Writer) - Static method in class org.apache.anteater.util.IOUtil
Copy chars from a String to a Writer.
create(Feature) - Method in class org.apache.anteater.test.meta.FeatureCheckerFactory
 
create(Project, String, String) - Static method in class org.apache.anteater.test.Namespace
A factory for creating Namespaces which have their 'project' field properly set.
create(Project, String, String) - Static method in class org.apache.anteater.test.matchers.Parameter
A factory for creating HTTP GET Parameters which have their 'project' field properly set.
create(Project, String, String) - Static method in class org.apache.anteater.test.matchers.Header
A factory for creating Headers which have their 'project' field properly set.
create(String) - Method in class org.apache.anteater.test.handlers.ContentHandlerFactory
 
createLogger() - Method in class org.apache.anteater.test.log.LoggerFactory
ActionTasks that wish to log should request a Log via this method.
createMatchObject() - Method in class org.apache.anteater.test.ActionTask
This lifecycle method is called during ActionTask.execute(), and should be used to create the object on which Matchers should match on.
createMatchObject() - Method in class org.apache.anteater.test.Listener
 
createMatchObject() - Method in class org.apache.anteater.test.HttpRequest
Create and return a HttpMessage containing the server's response, which the caller will then let the tester tasks loose on.
createMatchObject() - Method in class org.apache.anteater.test.FileRequest
make an HttpResponse from the contents of the file
createProxySocket(String, int, String, int) - Static method in class org.apache.anteater.util.SSLUtils
Create a SSL socket tunnelled through another.
createRegexpUtil() - Static method in class org.apache.anteater.util.regexp.RegexpUtilFactory
 
createSocket(String, int) - Static method in class org.apache.anteater.util.SSLUtils
Create a normal SSL socket.
createXMLOutput(Writer) - Method in class org.apache.anteater.test.handlers.JellyHandler
 

D

debug - Variable in class org.apache.anteater.test.BaseTask
Debug level for this task.
debug - Variable in class org.apache.anteater.test.BaseDataType
Debug level for this task.
debug(String) - Method in class org.apache.anteater.test.ServletContainer
 
debug(String) - Method in class org.apache.anteater.test.BaseTask
 
debug(String) - Method in class org.apache.anteater.test.BaseDataType
 
debug(String) - Static method in class org.apache.anteater.util.JarUtil
 
DebugLogger - class org.apache.anteater.test.log.DebugLogger.
A Logger that just prints println messages indicating which methods have been called.
DebugLogger() - Constructor for class org.apache.anteater.test.log.DebugLogger
 
debugWasSet - Variable in class org.apache.anteater.test.BaseTask
Whether debug was previously setup.
debugWasSet - Variable in class org.apache.anteater.test.BaseDataType
Whether debug was previously setup.
decode(byte[]) - Method in class org.apache.anteater.util.Base64
Decodes Base64 data into octects
DEFAULT_GROUP_NAME - Static variable in class org.apache.anteater.test.DefaultGroup
Ant Id by which the default group can be referred to.
DEFAULT_LOGDIR - Variable in class org.apache.anteater.test.log.XMLLogger
Directory relative to ${basedir} which will be the default location for log files, unless the 'todir' property is set.
DEFAULT_LOGDIR - Variable in class org.apache.anteater.test.log.BaseLogger
Directory relative to ${basedir} which will be the default location for log files, unless the 'todir' property is set.
DEFAULT_PROPERTIES_PATH - Static variable in class org.apache.anteater.test.DefaultGroup
 
DefaultGroup - class org.apache.anteater.test.DefaultGroup.
Default, primordial group, from which all others inherit.
Deploy - class org.apache.anteater.test.Deploy.
Task for deploying new web applications into the ServletContainer at runtime.
Deploy() - Constructor for class org.apache.anteater.test.Deploy
 
dispatch(HttpMessage, Project, Session, int, Boolean, Boolean, int, int) - Static method in class org.apache.anteater.test.HttpClient
Send the request to the specified URL.
docBase - Variable in class org.apache.anteater.test.Deploy
 

E

encode(byte[]) - Static method in class org.apache.anteater.util.Base64
Encodes hex octects into Base64
end() - Method in class org.apache.anteater.test.log.BaseLogger.TestLog
 
endActionTask(ActionTask) - Method in class org.apache.anteater.test.log.XMLLogger
 
endActionTask(ActionTask) - Method in class org.apache.anteater.test.log.ColourLogger
 
endActionTask(ActionTask) - Method in class org.apache.anteater.test.log.TextLogger
 
endActionTask(ActionTask) - Method in interface org.apache.anteater.test.log.Logger
Indicates that an ActionTask has ended.
endActionTask(ActionTask) - Method in class org.apache.anteater.test.log.DebugLogger
 
endActionTask(ActionTask) - Method in class org.apache.anteater.test.log.CompositeLogger
 
endActionTask(ActionTask) - Method in class org.apache.anteater.test.log.BaseLogger
 
endTest(MatcherTest) - Method in class org.apache.anteater.test.log.XMLLogger
 
endTest(MatcherTest) - Method in class org.apache.anteater.test.log.ColourLogger
 
endTest(MatcherTest) - Method in class org.apache.anteater.test.log.TextLogger
 
endTest(MatcherTest) - Method in interface org.apache.anteater.test.log.Logger
Indicates that a test against the retrieved response has completed.
endTest(MatcherTest) - Method in class org.apache.anteater.test.log.DebugLogger
 
endTest(MatcherTest) - Method in class org.apache.anteater.test.log.CompositeLogger
 
endTest(MatcherTest) - Method in class org.apache.anteater.test.log.BaseLogger
 
equals(Object) - Method in class org.apache.anteater.test.Listener
 
equals(Object) - Method in class org.apache.anteater.test.matchers.Parameter
 
equals(Object) - Method in class org.apache.anteater.test.matchers.ResponseCode
 
equals(Object) - Method in class org.apache.anteater.test.matchers.Method
 
equals(Object) - Method in class org.apache.anteater.test.matchers.Header
 
error - Variable in class org.apache.anteater.test.Matcher
If the test failed, was it an error?
execute() - Method in class org.apache.anteater.test.ActionTask
Main lifecycle method.
execute() - Method in class org.apache.anteater.test.Undeploy
 
execute() - Method in class org.apache.anteater.test.ServletContainerTask
 
execute() - Method in class org.apache.anteater.test.SendResponse
Retrieves the HttpServletResponse and Writer, and uses the contents of the file specified by SendResponse.setHref(java.lang.String) to write a response.
execute() - Method in class org.apache.anteater.test.MatcherSet
 
execute() - Method in class org.apache.anteater.test.Matcher
Run all the MatcherTest children of this instance.
execute() - Method in class org.apache.anteater.test.Listener
 
execute() - Method in class org.apache.anteater.test.Deploy
 
execute() - Method in class org.apache.anteater.test.ContentHandlerTask
For each nested task, locate a ContentHandler and use it to generate body text.
execute() - Method in class org.apache.anteater.test.meta.CheckUses
 
execute() - Method in class org.apache.anteater.tomcat.SimpleServletContainer
 
ExistenceChecker - class org.apache.anteater.test.meta.ExistenceChecker.
A FeatureChecker that specifies that a certain feature must exist.
ExistenceChecker() - Constructor for class org.apache.anteater.test.meta.ExistenceChecker
 
extractFile(File, File, InputStream, String, Date, boolean) - Static method in class org.apache.anteater.util.JarUtil
 

F

FALSE_MESSAGE - Static variable in class org.apache.anteater.test.matchers.Regexp
 
Feature - class org.apache.anteater.test.meta.Feature.
Class representing an Anteater feature; either some aspect of Anteater itself (eg version) or an 'optional' feature.
Feature() - Constructor for class org.apache.anteater.test.meta.Feature
 
Feature(String) - Constructor for class org.apache.anteater.test.meta.Feature
 
Feature(String, String) - Constructor for class org.apache.anteater.test.meta.Feature
 
FeatureChecker - interface org.apache.anteater.test.meta.FeatureChecker.
A FeatureChecker can validate whether a Feature is present in the current Anteater install.
FeatureCheckerFactory - class org.apache.anteater.test.meta.FeatureCheckerFactory.
Factory for creating FeatureChecker classes.
FeatureCheckerFactory() - Constructor for class org.apache.anteater.test.meta.FeatureCheckerFactory
 
features - Variable in class org.apache.anteater.test.meta.AbstractChecker
 
FileRequest - class org.apache.anteater.test.FileRequest.
Defines a request to return the contents of a file The file is read into the body of an HttpMessage object.
FileRequest() - Constructor for class org.apache.anteater.test.FileRequest
 
findNextRunCount(File, Map, String) - Static method in class org.apache.anteater.test.log.LoggerUtils
Look on the filesystem in directory baseDir for files with a ${run} value of [counter], and return [counter+1].
flush() - Method in class org.apache.anteater.util.TeeOutputStream
 
FORMAT_BMP - Static variable in class org.apache.anteater.util.ImageInfo
Return value of ImageInfo.getFormat() for BMP streams.
FORMAT_GIF - Static variable in class org.apache.anteater.util.ImageInfo
Return value of ImageInfo.getFormat() for GIF streams.
FORMAT_IFF - Static variable in class org.apache.anteater.util.ImageInfo
Return value of ImageInfo.getFormat() for IFF streams.
FORMAT_JPEG - Static variable in class org.apache.anteater.util.ImageInfo
Return value of ImageInfo.getFormat() for JPEG streams.
FORMAT_PBM - Static variable in class org.apache.anteater.util.ImageInfo
Return value of ImageInfo.getFormat() for PBM streams.
FORMAT_PCX - Static variable in class org.apache.anteater.util.ImageInfo
Return value of ImageInfo.getFormat() for PCX streams.
FORMAT_PGM - Static variable in class org.apache.anteater.util.ImageInfo
Return value of ImageInfo.getFormat() for PGM streams.
FORMAT_PNG - Static variable in class org.apache.anteater.util.ImageInfo
Return value of ImageInfo.getFormat() for PNG streams.
FORMAT_PPM - Static variable in class org.apache.anteater.util.ImageInfo
Return value of ImageInfo.getFormat() for PPM streams.
FORMAT_PSD - Static variable in class org.apache.anteater.util.ImageInfo
Return value of ImageInfo.getFormat() for PSD streams.
FORMAT_RAS - Static variable in class org.apache.anteater.util.ImageInfo
Return value of ImageInfo.getFormat() for RAS streams.
FORMAT_SWF - Static variable in class org.apache.anteater.util.ImageInfo
Return value of ImageInfo.getFormat() for SWF (Shockwave) streams.
FQCN - Static variable in class org.apache.anteater.test.log.LoggerUtils
Variable containing fully qualified classname of current task, e.g.

G

get(Object) - Method in class org.apache.anteater.util.Queue
 
get(Object, long) - Method in class org.apache.anteater.util.Queue
 
getAttributes(ActionTask) - Static method in class org.apache.anteater.test.log.LoggerUtils
 
getBitsPerPixel() - Method in class org.apache.anteater.util.ImageInfo
If ImageInfo.check() was successful, returns the image's number of bits per pixel.
getBody() - Method in class org.apache.anteater.test.HttpMessage
 
getCheckedFeatures() - Method in class org.apache.anteater.test.meta.JSSEChecker
 
getCheckedFeatures() - Method in class org.apache.anteater.test.meta.ExistenceChecker
 
getCheckedFeatures() - Method in class org.apache.anteater.test.meta.AbstractChecker
 
getCheckedFeatures() - Method in class org.apache.anteater.test.meta.ValueChecker
 
getCheckedFeatures() - Method in interface org.apache.anteater.test.meta.FeatureChecker
Gets an array of names of features that the implementing FeatureChecker can process.
getCheckedFeatures() - Method in class org.apache.anteater.test.meta.VersionChecker
 
getComment(int) - Method in class org.apache.anteater.util.ImageInfo
Returns the index'th comment retrieved from the image.
getContent(Object) - Method in class org.apache.anteater.test.SendResponse
Handle body tasks through the ContentHandler interface.
getContent(Object) - Method in interface org.apache.anteater.test.handlers.ContentHandler
Generate text content as a result of processing an object.
getContent(Object) - Method in class org.apache.anteater.test.handlers.JellyHandler
 
getCookieHeader(String) - Method in class org.apache.anteater.test.Session
Retrieve a 'Set-Cookie' header for the specified path.
getDataTypeName() - Method in class org.apache.anteater.test.BaseDataType
Sets the name used for this datatype instance.
getDebug() - Method in class org.apache.anteater.test.BaseTask
Return the debug level.
getDebug() - Method in class org.apache.anteater.test.BaseDataType
Return the debug level.
getDefaultGroup(Project) - Static method in class org.apache.anteater.test.DefaultGroup
Retrieve (possibly creating) the default group.
getDefaultPort() - Method in class org.apache.anteater.test.ServletContainer
Returns the first port declared with ServletContainer.setPort(java.lang.String) or DEFAULT_PORT.
getDocument() - Method in interface org.apache.anteater.test.XMLDocument
Get the DOM4J representation of the receiving object.
getDocument() - Method in class org.apache.anteater.test.HttpMessage
Assumes body contains an XML document, and returns a DOM4J Document object representation of it.
getDocumentAsString() - Method in interface org.apache.anteater.test.XMLDocument
Obtain the string representation of the XML document.
getDocumentAsString() - Method in class org.apache.anteater.test.HttpMessage
 
getErrorFlag() - Method in class org.apache.anteater.test.Matcher
Returns whether this matcher exited with an error, as opposed to a failure.
getFeatures() - Method in class org.apache.anteater.test.meta.Uses
Returns a List of Features that this Uses tag specifies.
getFilenameFormat(ActionTask) - Method in class org.apache.anteater.test.log.XMLLogger
Get the format for log files.
getFormat() - Method in class org.apache.anteater.util.ImageInfo
If ImageInfo.check() was successful, returns the image format as one of the FORMAT_xyz constants from this class.
getFormatName() - Method in class org.apache.anteater.util.ImageInfo
If ImageInfo.check() was successful, returns the image format's name.
getGroup() - Method in class org.apache.anteater.test.Group
Return our ancestor Group, or a DefaultGroup if we are group with id 'default'.
getGroup() - Method in class org.apache.anteater.test.DefaultGroup
Always returns null.
getGroup() - Method in class org.apache.anteater.test.BaseTask
 
getGroup() - Method in class org.apache.anteater.test.BaseDataType
 
getGroupValue(int) - Method in class org.apache.anteater.util.regexp.ORORegexpUtil
Retrieve part of the string that a regexp was applied to in ORORegexpUtil.applyRegexp(java.lang.String, java.lang.String, boolean, boolean), as specified by a regexp 'group', ie (..) notation.
getGroupValue(int) - Method in interface org.apache.anteater.util.regexp.RegexpUtil
Retrieve part of the string that a regexp was applied to in RegexpUtil.applyRegexp(java.lang.String, java.lang.String, boolean, boolean), as specified by a regexp 'group', ie (..) notation.
getHandledTypes() - Method in class org.apache.anteater.test.SendResponse
Specify the body tasks we are able to handle.
getHandledTypes() - Method in interface org.apache.anteater.test.handlers.ContentHandler
Gets an array of names of classes that the implementing ContentHandler can process.
getHandledTypes() - Method in class org.apache.anteater.test.handlers.JellyHandler
 
getHeader(String) - Method in class org.apache.anteater.test.HttpMessage
 
getHeaders() - Method in class org.apache.anteater.test.HttpMessage
 
getHeight() - Method in class org.apache.anteater.util.ImageInfo
If ImageInfo.check() was successful, returns one the image's vertical resolution in pixels.
getHost() - Method in class org.apache.anteater.test.HttpMessage
 
getHref() - Method in class org.apache.anteater.test.SendResponse
 
getHref() - Method in class org.apache.anteater.test.matchers.ContentEquals
Retrieve the user-specified href.
getId() - Method in class org.apache.anteater.test.ActionTask
Return a String identification of this HTTP action suitable for reporting.
getId() - Method in class org.apache.anteater.test.Listener
 
getId() - Method in class org.apache.anteater.test.HttpRequest
 
getId() - Method in class org.apache.anteater.test.Group
Retrieve the id which Ant refers to this object by.
getId() - Method in class org.apache.anteater.test.DefaultGroup
 
getId() - Method in class org.apache.anteater.test.FileRequest
 
getLoggers() - Method in class org.apache.anteater.test.Group
Retrieve Loggers.
getLoggers() - Method in class org.apache.anteater.test.DefaultGroup
 
getMatchOn() - Method in class org.apache.anteater.test.Matcher
 
getMatchOn() - Method in class org.apache.anteater.test.MatcherTest
 
getMethod() - Method in class org.apache.anteater.test.HttpMessage
 
getMimeType() - Method in class org.apache.anteater.util.ImageInfo
If ImageInfo.check() was successful, returns a String with the MIME type of the format.
getName() - Method in class org.apache.anteater.test.matchers.Parameter
 
getName() - Method in class org.apache.anteater.test.matchers.Header
 
getName() - Method in class org.apache.anteater.test.meta.Feature
 
getNamedUserProps(String, ArrayList, Project) - Static method in class org.apache.anteater.test.GroupUtils
Return a List of user properties (-Dfoo=bar, etc) whose names match those found in the specified list, in the specified group
getNamespace(ArrayList, String) - Static method in class org.apache.anteater.test.GroupUtils
Retrieves the Namespace from the specified list.
getNamespaces() - Method in class org.apache.anteater.test.Group
Return a set of Properties, representing those either native to this Group, or inherited from a subgroup.
getNamespaces() - Method in class org.apache.anteater.test.DefaultGroup
 
getNumberOfComments() - Method in class org.apache.anteater.util.ImageInfo
If ImageInfo.check() was successful and ImageInfo.setCollectComments(boolean) was called with true as argument, returns the number of comments retrieved from the input image stream / file.
getNumberOfImages() - Method in class org.apache.anteater.util.ImageInfo
Returns the number of images in the examined file.
getObjectModel() - Method in class org.apache.anteater.test.ActionTask
Return the live object model.
getOverwrite(ActionTask) - Method in class org.apache.anteater.test.log.XMLLogger
Decide whether we're meant to be clobbering old log files
getParameters() - Method in class org.apache.anteater.test.HttpMessage
 
getPassword() - Method in class org.apache.anteater.test.HttpMessage
 
getPath() - Method in class org.apache.anteater.test.HttpMessage
 
getPath() - Method in class org.apache.anteater.test.Listener
 
getPathId(ActionTask) - Static method in class org.apache.anteater.test.log.LoggerUtils
Return a String identification for this HTTP action suitable for inclusion in a filename.
getPhysicalHeightDpi() - Method in class org.apache.anteater.util.ImageInfo
Returns the physical height of this image in dots per inch (dpi).
getPhysicalHeightInch() - Method in class org.apache.anteater.util.ImageInfo
If ImageInfo.check() was successful, returns the physical width of this image in dpi (dots per inch) or -1 if no value could be found.
getPhysicalWidthDpi() - Method in class org.apache.anteater.util.ImageInfo
If ImageInfo.check() was successful, returns the physical width of this image in dpi (dots per inch) or -1 if no value could be found.
getPhysicalWidthInch() - Method in class org.apache.anteater.util.ImageInfo
Returns the physical width of an image in inches, or -1.0f if width information is not available.
getPort() - Method in class org.apache.anteater.test.HttpMessage
Returns the port number of this URL.
getPort() - Method in class org.apache.anteater.test.Listener
 
getPrefix() - Method in class org.apache.anteater.test.Namespace
Get the XML namespace prefix.
getProperties() - Method in class org.apache.anteater.test.ActionTask
Retrieves all Properties set for this task (from the group), plus a few 'virtual' properties, namely 'task.description', 'target.description' and 'project.description'.
getProperties() - Method in class org.apache.anteater.test.Group
Return a set of Properties, representing those either native to this Group, or inherited from a subgroup.
getProperties() - Method in class org.apache.anteater.test.DefaultGroup
 
getProperty(ActionTask, String) - Method in class org.apache.anteater.test.log.XMLLogger
Return a non-null value for a property.
getProperty(ArrayList, String) - Static method in class org.apache.anteater.test.GroupUtils
Retrieves the Property from the specified list.
getProperty(String) - Method in class org.apache.anteater.test.ActionTask
Retrieve the value of a specific property (set from a group).
getProperty(String) - Method in class org.apache.anteater.test.DefaultGroup
Retrieves the specified property, first looking in System.properties to use any user-specified value, and then looking in the default property list.
getPropertyAsInt(String) - Method in class org.apache.anteater.test.ActionTask
Retrieve the value of a specific property (set from a group) as an int
getProtocol() - Method in class org.apache.anteater.test.HttpMessage
 
getRef(Project) - Method in class org.apache.anteater.test.BaseDataType
Assuming this BaseDataType is a reference to a real one (has a refid attr), this method will return the one this points to.
getRegisteredListeners() - Method in class org.apache.anteater.test.ServletContainer
 
getRequestsQueue() - Method in class org.apache.anteater.test.ServletContainer
 
getResponseLine() - Method in class org.apache.anteater.test.HttpMessage
 
getResult() - Method in class org.apache.anteater.test.ActionTask
 
getResult() - Method in class org.apache.anteater.test.MatcherSet
 
getResult() - Method in class org.apache.anteater.test.Matcher
Retusn whether this matcher succeeded.
getResult() - Method in class org.apache.anteater.test.MatcherTest
 
getSelect() - Method in class org.apache.anteater.test.matchers.XPath
Get XPath.
getServletContainer() - Static method in class org.apache.anteater.test.ServletContainer
Factory method returning the currently active ServletContainer.
getSession() - Method in class org.apache.anteater.test.Group
 
getSocket(HttpMessage) - Static method in class org.apache.anteater.test.HttpClient
Creates and returns a normal or SSL socket, depending on the HttpMessage.isSecure() flag.
getSSLSocketFactory() - Static method in class org.apache.anteater.util.SSLUtils
Initializes an SSLSocketFactory which ignores most Certificate validation.
getText() - Method in class org.apache.anteater.test.SendResponse
Retrieves the body text.
getText() - Method in class org.apache.anteater.test.MatcherTest
Retrieves the body text.
getType() - Method in class org.apache.anteater.test.matchers.Parameter
 
getURI() - Method in class org.apache.anteater.test.Namespace
Get the XML namespace URI.
getURL() - Method in class org.apache.anteater.test.ActionTask
Return the URL associated with this task (that it implements or tests).
getURL() - Method in class org.apache.anteater.test.HttpMessage
Return the URL of the HTTP resource to request.
getURL() - Method in class org.apache.anteater.test.Listener
 
getURL() - Method in class org.apache.anteater.test.HttpRequest
 
getURL() - Method in class org.apache.anteater.test.FileRequest
 
getUser() - Method in class org.apache.anteater.test.HttpMessage
 
getUserProperty(String, String, Project) - Static method in class org.apache.anteater.test.GroupUtils
Retrieve a user property with a certain name and group from a Project
getUses() - Method in class org.apache.anteater.test.Group
 
getUses() - Method in class org.apache.anteater.test.DefaultGroup
 
getValue() - Method in class org.apache.anteater.test.matchers.Parameter
Get expected value.
getValue() - Method in class org.apache.anteater.test.matchers.ContentEquals
 
getValue() - Method in class org.apache.anteater.test.matchers.XPath
Get expected value.
getValue() - Method in class org.apache.anteater.test.matchers.ResponseCode
 
getValue() - Method in class org.apache.anteater.test.matchers.Method
Get expected method type.
getValue() - Method in class org.apache.anteater.test.matchers.Header
Get expected value.
getValue() - Method in class org.apache.anteater.test.meta.Feature
 
getValues() - Method in class org.apache.anteater.test.log.LoggerFactory.TypeAttribute
 
getWidth() - Method in class org.apache.anteater.util.ImageInfo
If ImageInfo.check() was successful, returns one the image's horizontal resolution in pixels.
Group - class org.apache.anteater.test.Group.
A Group is a scoping mechanism for Anteater data types and tasks.
GROUP_ID - Static variable in class org.apache.anteater.test.log.LoggerUtils
Variable containing the 'group identifier', eg 'default', in filesystem-friendly form.
GROUP_ID_RAW - Static variable in class org.apache.anteater.test.log.LoggerUtils
Variable containing the 'group identifier', eg 'default', in unescaped form.
Group() - Constructor for class org.apache.anteater.test.Group
 
Groupable - interface org.apache.anteater.test.Groupable.
Interface indicating that the implementor can be assigned a 'group'.
GroupUtils - class org.apache.anteater.test.GroupUtils.
Various static utility methods for manipulating lists of Properties and Namespaces.
GroupUtils() - Constructor for class org.apache.anteater.test.GroupUtils
 

H

haltonerror - Variable in class org.apache.anteater.test.ActionTask
 
handlerFactory - Variable in class org.apache.anteater.test.ContentHandlerTask
 
handlers - Static variable in class org.apache.anteater.test.handlers.ContentHandlerFactory
 
handlerTable - Variable in class org.apache.anteater.test.handlers.ContentHandlerFactory
 
hashCode() - Method in class org.apache.anteater.test.Listener
 
hashCode() - Method in class org.apache.anteater.test.matchers.Parameter
 
hashCode() - Method in class org.apache.anteater.test.matchers.ResponseCode
 
hashCode() - Method in class org.apache.anteater.test.matchers.Method
 
hashCode() - Method in class org.apache.anteater.test.matchers.Header
 
Header - class org.apache.anteater.test.matchers.Header.
Maintains an HTTP header.
Header() - Constructor for class org.apache.anteater.test.matchers.Header
 
Header(String, String) - Constructor for class org.apache.anteater.test.matchers.Header
Constructor.
headers - Variable in class org.apache.anteater.test.SendResponse
 
href - Variable in class org.apache.anteater.test.SendResponse
 
href - Variable in class org.apache.anteater.test.matchers.ContentEquals
Href to read body text from.
HttpClient - class org.apache.anteater.test.HttpClient.
HTTP operations on raw sockets using HttpMessage.
HttpMessage - class org.apache.anteater.test.HttpMessage.
Describes the common attributes of an HTTP request and response.
HttpMessage(HttpServletRequest) - Constructor for class org.apache.anteater.test.HttpMessage
Creates a new HttpMessage instance from an HttpServletRequest object.
HttpMessage(Project) - Constructor for class org.apache.anteater.test.HttpMessage
Creates a new HttpMessage instance.
HttpMessage(Project, InputStream) - Constructor for class org.apache.anteater.test.HttpMessage
 
HttpMessage(Project, InputStream, int) - Constructor for class org.apache.anteater.test.HttpMessage
Creates a new HttpMessage instance given an InputStream object to read an HTTP response from the server.
HttpMessage(Project, int) - Constructor for class org.apache.anteater.test.HttpMessage
Creates a new HttpMessage instance.
HttpRequest - class org.apache.anteater.test.HttpRequest.
Defines an HTTP request.
HttpRequest() - Constructor for class org.apache.anteater.test.HttpRequest
 

I

ignoreSpaces - Variable in class org.apache.anteater.test.matchers.ContentEquals
 
ignoreTags(String) - Static method in class org.apache.anteater.util.regexp.RegexpTransforms
Adds regexp patterns to ignore tags between text.
ImageInfo - class org.apache.anteater.util.ImageInfo.
Get file format, image resolution, number of bits per pixel and optionally number of images, comments and physical resolution from JPEG, GIF, BMP, PCX, PNG, IFF, RAS, PBM, PGM, PPM, PSD and SWF files (or input streams).
ImageInfo() - Constructor for class org.apache.anteater.util.ImageInfo
 
init() - Method in class org.apache.anteater.test.SendResponse
 
init() - Method in class org.apache.anteater.test.SOAPRequest
 
interpolate(Map, String) - Static method in class org.apache.anteater.util.Utils
Replace ${variables} in a string with values from a Map.
IOUtil - class org.apache.anteater.util.IOUtil.
General IO Stream manipulation.
isSecure() - Method in class org.apache.anteater.test.HttpMessage
Should operate over SSL?
isStarted() - Method in class org.apache.anteater.test.ServletContainer
Whether this Tomcat has been initialized and started.

J

JarUtil - class org.apache.anteater.util.JarUtil.
Utilities for playing with jars and wars.
JarUtil() - Constructor for class org.apache.anteater.util.JarUtil
 
JellyHandler - class org.apache.anteater.test.handlers.JellyHandler.
A ContentHandler that processes JellyTask objects, and returns a String containing the result of executing the task.
JellyHandler() - Constructor for class org.apache.anteater.test.handlers.JellyHandler
 
Jing - class org.apache.anteater.test.matchers.Jing.
Matcher based on James Clark's Jing tool for validating XML documents against the Relax NG schema language.
Jing() - Constructor for class org.apache.anteater.test.matchers.Jing
 
JSSEChecker - class org.apache.anteater.test.meta.JSSEChecker.
Checks whether the javax.net.ssl classes are available.
JSSEChecker() - Constructor for class org.apache.anteater.test.meta.JSSEChecker
 

L

LINE_NUM - Static variable in class org.apache.anteater.test.log.LoggerUtils
Variable containing line number of task that generated this log entry
Listener - class org.apache.anteater.test.Listener.
Starts listening for an incoming HTTP request.
Listener() - Constructor for class org.apache.anteater.test.Listener
 
Listener(int, String) - Constructor for class org.apache.anteater.test.Listener
 
ListenerProxyServlet - class org.apache.anteater.servlet.ListenerProxyServlet.
This is the servlet which is registered with Tomcat to receive all the incoming HTTP requests.
ListenerProxyServlet() - Constructor for class org.apache.anteater.servlet.ListenerProxyServlet
 
log(String) - Method in class org.apache.anteater.test.handlers.JellyHandler
 
logger - Variable in class org.apache.anteater.test.ActionTask
 
logger - Variable in class org.apache.anteater.test.MatcherSet
 
logger - Variable in class org.apache.anteater.test.Matcher
 
logger - Variable in class org.apache.anteater.test.MatcherTest
 
Logger - interface org.apache.anteater.test.log.Logger.
Callback-style logger interface.
LoggerFactory - class org.apache.anteater.test.log.LoggerFactory.
A LoggerFactory corresponds to a <logger> element in Anteater.
LoggerFactory.TypeAttribute - class org.apache.anteater.test.log.LoggerFactory.TypeAttribute.
Enumerated attribute with the values "plain" and "xml".
LoggerFactory.TypeAttribute() - Constructor for class org.apache.anteater.test.log.LoggerFactory.TypeAttribute
 
LoggerFactory.TypeAttribute(String) - Constructor for class org.apache.anteater.test.log.LoggerFactory.TypeAttribute
 
LoggerFactory() - Constructor for class org.apache.anteater.test.log.LoggerFactory
 
LoggerUtils - class org.apache.anteater.test.log.LoggerUtils.
Utility code for use by Loggers.
LoggerUtils() - Constructor for class org.apache.anteater.test.log.LoggerUtils
 

M

main(String[]) - Static method in class org.apache.anteater.test.ServletContainer
 
main(String[]) - Static method in class org.apache.anteater.util.ImageInfo
To use this class as a command line application, give it either some file names as parameters (information on them will be printed to standard output, one line per file) or call it with no parameters.
main(String[]) - Static method in class org.apache.anteater.util.JarUtil
 
main(String[]) - Static method in class org.apache.anteater.tomcat.SimpleServletContainer
 
makePath(String) - Static method in class org.apache.anteater.test.log.LoggerUtils
Returns a filesystem-friendly equivalent of a string.
matcher - Variable in class org.apache.anteater.test.MatcherTest
The container of this matcher.
Matcher - class org.apache.anteater.test.Matcher.
A Matcher corresponds to a <match> element, and describes a set of tests that need to be applied on an object.
Matcher() - Constructor for class org.apache.anteater.test.Matcher
 
matchers - Variable in class org.apache.anteater.test.MatcherSet
The list of Matcher instances.
matcherSet - Variable in class org.apache.anteater.test.ActionTask
 
matcherSet - Variable in class org.apache.anteater.test.Matcher
 
MatcherSet - class org.apache.anteater.test.MatcherSet.
MatcherSet maintains a set of Matchers to be applied on an object.
MatcherSet() - Constructor for class org.apache.anteater.test.MatcherSet
Creates a new MatcherSet instance.
MatcherTest - class org.apache.anteater.test.MatcherTest.
Matches an object against another.
MatcherTest() - Constructor for class org.apache.anteater.test.MatcherTest
 
matcherTests - Variable in class org.apache.anteater.test.Matcher
 
matcherTests - Variable in class org.apache.anteater.test.ContentHandlerTask
List of nested tasks.
matchOn - Variable in class org.apache.anteater.test.MatcherSet
The object to match on.
matchOn - Variable in class org.apache.anteater.test.Matcher
 
mergeNamespaces(ArrayList, ArrayList) - Static method in class org.apache.anteater.test.GroupUtils
Do the 'merging' of two sets of properties, preferring the second set.
mergeProps(ArrayList, ArrayList) - Static method in class org.apache.anteater.test.GroupUtils
Do the 'merging' of two sets of properties, preferring the second set.
mergeUses(ArrayList, ArrayList) - Static method in class org.apache.anteater.test.GroupUtils
Merge two lists of Features (requirements).
Method - class org.apache.anteater.test.matchers.Method.
Check the method (GET, POST etc.) in an incoming HTTP request.
Method() - Constructor for class org.apache.anteater.test.matchers.Method
 
MinimalLogger - class org.apache.anteater.test.log.MinimalLogger.
Logger that writes Text log files.
MinimalLogger() - Constructor for class org.apache.anteater.test.log.MinimalLogger
 

N

name - Variable in class org.apache.anteater.test.matchers.Parameter
 
name - Variable in class org.apache.anteater.test.matchers.Header
The name of the header.
name - Variable in class org.apache.anteater.test.meta.Feature
 
Namespace - class org.apache.anteater.test.Namespace.
Anteater representation of an XML namespace mapping.
Namespace() - Constructor for class org.apache.anteater.test.Namespace
No-arg constructor needed by Ant.
NAMESPACES_KEY - Static variable in interface org.apache.anteater.test.ObjectModel
Key identifying the entry in the #getObjectModel of the list of namespaces.
normalizeSpaces(String) - Static method in class org.apache.anteater.util.Utils
Utility to normalize whitespace in a String.
normalizeSpaces(String) - Static method in class org.apache.anteater.util.regexp.RegexpTransforms
Converts ' ' to '\s+'.

O

objectModel - Variable in class org.apache.anteater.test.SendResponse
 
objectModel - Variable in class org.apache.anteater.test.MatcherSet
The object model obtained from this object's container (usually a Listener or an HttpRequest).
objectModel - Variable in class org.apache.anteater.test.MatcherTest
The object model inherited from our container, usually a Matcher.
ObjectModel - interface org.apache.anteater.test.ObjectModel.
Classes that implement this interface are passed additional information, or the context in which they execute.
org.apache.anteater.servlet - package org.apache.anteater.servlet
This package contains the server-side part of the testing framework.
org.apache.anteater.test - package org.apache.anteater.test
This package contains the top-level tasks and API that define the testing framework.
org.apache.anteater.test.handlers - package org.apache.anteater.test.handlers
This package implements the ContentHandler adapter system for dynamically generating an Ant task's body.
org.apache.anteater.test.log - package org.apache.anteater.test.log
Anteater's logging system.
org.apache.anteater.test.matchers - package org.apache.anteater.test.matchers
This package contains implementations of matchers.
org.apache.anteater.test.meta - package org.apache.anteater.test.meta
Classes that deal with metadata about a script or Anteater itself.
org.apache.anteater.tomcat - package org.apache.anteater.tomcat
 
org.apache.anteater.util - package org.apache.anteater.util
This package contains various utility classes, many to do with the interaction between the servlet proxy and the rest of the testing framework.
org.apache.anteater.util.regexp - package org.apache.anteater.util.regexp
Utility classes for playing with regular expressions.
ORORegexpUtil - class org.apache.anteater.util.regexp.ORORegexpUtil.
A stateful regexp utility bean, implemented with the ORO library.
ORORegexpUtil() - Constructor for class org.apache.anteater.util.regexp.ORORegexpUtil
 

P

Parameter - class org.apache.anteater.test.matchers.Parameter.
Maintains and checks a single HTTP parameter.
Parameter() - Constructor for class org.apache.anteater.test.matchers.Parameter
 
Parameter(String, String, String) - Constructor for class org.apache.anteater.test.matchers.Parameter
 
parseHeaderLine(String) - Static method in class org.apache.anteater.test.matchers.Header
 
parseHeaders(BufferedReader) - Method in class org.apache.anteater.test.HttpMessage
Parse the incoming HTTP request headers.
parseHeadersAsString(String, HashMap) - Static method in class org.apache.anteater.test.matchers.Header
 
path - Variable in class org.apache.anteater.test.Undeploy
 
path - Variable in class org.apache.anteater.test.Deploy
 
pattern - Variable in class org.apache.anteater.test.matchers.Header
Regexp pattern that the header should match.
print(String) - Method in class org.apache.anteater.test.BaseTask
 
print(String) - Method in class org.apache.anteater.test.BaseDataType
 
printHeaders(HashMap) - Method in class org.apache.anteater.test.HttpMessage
Print a set of Headers.
println(String) - Method in class org.apache.anteater.test.ServletContainer
 
println(String) - Method in class org.apache.anteater.test.BaseTask
 
println(String) - Method in class org.apache.anteater.test.BaseDataType
 
PROPERTIES_KEY - Static variable in interface org.apache.anteater.test.ObjectModel
Key identifying the entry in the #getObjectModel of the list of properties.
property - Variable in class org.apache.anteater.test.MatcherTest
The Ant property name under which the value of the matching object should be stored.
ProxySocket - class org.apache.anteater.util.ProxySocket.
ProxySocket connects to a port on a machine through an HTTP Web proxy.
ProxySocket(String, int) - Constructor for class org.apache.anteater.util.ProxySocket
Creates a new ProxySocket instance.
put(Object) - Method in class org.apache.anteater.util.Queue
 

Q

Queue - class org.apache.anteater.util.Queue.
Queue to be used between two threads.
Queue() - Constructor for class org.apache.anteater.util.Queue
 

R

RAW_URL - Static variable in class org.apache.anteater.test.log.LoggerUtils
"raw-url" Variable containing unmodified request URL, e.g.
RAW_URL_NOPARAMS - Static variable in class org.apache.anteater.test.log.LoggerUtils
Variable containing request URL with request params stripped, e.g.
readBody(BufferedReader) - Method in class org.apache.anteater.test.HttpMessage
 
readUBits(int) - Method in class org.apache.anteater.util.ImageInfo
Read an unsigned value from the given number of bits
Regexp - class org.apache.anteater.test.matchers.Regexp.
Validates content against a regular expression.
Regexp() - Constructor for class org.apache.anteater.test.matchers.Regexp
 
Regexp(String, boolean, boolean, boolean) - Constructor for class org.apache.anteater.test.matchers.Regexp
 
RegexpTransforms - class org.apache.anteater.util.regexp.RegexpTransforms.
Utility class with methods for changing regexps.
RegexpUtil - interface org.apache.anteater.util.regexp.RegexpUtil.
Interface for regexp utility bean implementations.
RegexpUtilFactory - class org.apache.anteater.util.regexp.RegexpUtilFactory.
Factory for creating RegexpUtil classes.
RegexpUtilFactory() - Constructor for class org.apache.anteater.util.regexp.RegexpUtilFactory
 
registerChecker(FeatureChecker) - Method in class org.apache.anteater.test.meta.FeatureCheckerFactory
 
registerHandler(ContentHandler) - Method in class org.apache.anteater.test.handlers.ContentHandlerFactory
 
registerListener(Listener) - Method in class org.apache.anteater.test.ServletContainer
 
removeContext(String, BaseTask) - Method in class org.apache.anteater.test.ServletContainer
 
removeListener(Listener) - Method in class org.apache.anteater.test.ServletContainer
 
reqFeatures - Variable in class org.apache.anteater.test.ActionTask
 
reqFeatures - Variable in class org.apache.anteater.test.meta.Uses
A List of Features this uses tag specifies.
reqFeatures - Variable in class org.apache.anteater.test.meta.CheckUses
 
resolveContentURL(String) - Method in class org.apache.anteater.test.BaseTask
Retrieve the resource specified as an absolute URL or basedir-relative path.
responseCode - Variable in class org.apache.anteater.test.SendResponse
 
ResponseCode - class org.apache.anteater.test.matchers.ResponseCode.
Check the response code in the HTTP response.
ResponseCode() - Constructor for class org.apache.anteater.test.matchers.ResponseCode
 
result - Variable in class org.apache.anteater.test.ActionTask
 
result - Variable in class org.apache.anteater.test.MatcherSet
Whether all MatcherTests in this MatcherSet have passed or not.
result - Variable in class org.apache.anteater.test.Matcher
Did the test pass?
RUN - Static variable in class org.apache.anteater.test.log.LoggerUtils
Variable containing a counter that ensures the current filename will be unique within its directory.

S

SendResponse - class org.apache.anteater.test.SendResponse.
Sends an HTTP response back in the servlet thread.
SendResponse() - Constructor for class org.apache.anteater.test.SendResponse
 
service(ServletRequest, ServletResponse) - Method in class org.apache.anteater.servlet.SimpleClasspathServlet
 
service(ServletRequest, ServletResponse) - Method in class org.apache.anteater.servlet.ListenerProxyServlet
 
ServletContainer - class org.apache.anteater.test.ServletContainer.
Start an embedded Tomcat servlet container.
ServletContainer() - Constructor for class org.apache.anteater.test.ServletContainer
 
ServletContainerTask - class org.apache.anteater.test.ServletContainerTask.
Ant Task representation for the ServletContainer class.
ServletContainerTask() - Constructor for class org.apache.anteater.test.ServletContainerTask
 
session - Variable in class org.apache.anteater.test.ActionTask
 
Session - class org.apache.anteater.test.Session.
A minimalistic session object, for storing cookie headers between requests.
Session() - Constructor for class org.apache.anteater.test.Session
 
setAction(String) - Method in class org.apache.anteater.test.ServletContainerTask
Set the action you wish the servlet engine to perform.
setAction(String) - Method in class org.apache.anteater.test.SOAPRequest
 
setAssign(String) - Method in class org.apache.anteater.test.ActionTask
Set the name of a property which will be set in the project if this action task succeeds.
setAssign(String) - Method in class org.apache.anteater.test.Matcher
Set the name of a property which will be set in the project if this matcher succeeds.
setAssign(String) - Method in class org.apache.anteater.test.MatcherTest
 
setBody(String) - Method in class org.apache.anteater.test.HttpMessage
 
setCheckid(boolean) - Method in class org.apache.anteater.test.matchers.Jing
Handles the checkid attribute.
setClassname(String) - Method in class org.apache.anteater.test.log.LoggerFactory
Set name of class to be used as the formatter.
setCollectComments(boolean) - Method in class org.apache.anteater.util.ImageInfo
Specify whether textual comments are supposed to be extracted from input.
setCompactsyntax(boolean) - Method in class org.apache.anteater.test.matchers.Jing
Handles the compactsyntax attribute.
setContent(String) - Method in class org.apache.anteater.test.HttpMessage
Assumes the value of the content attribute is an href whose content is to be POSTed.
setContent(String) - Method in class org.apache.anteater.test.HttpRequest
Assumes the value of the content attribute is an href whose content is to be POSTed.
setContentType(String) - Method in class org.apache.anteater.test.SendResponse
Set MIME content type to label body contents as.
setCookie(Header) - Method in class org.apache.anteater.test.Session
Takes a "Set-Cookie" header and stores it for later use.
setDebug(int) - Method in class org.apache.anteater.test.ActionTask
 
setDebug(int) - Method in class org.apache.anteater.test.BaseTask
Set the debug level.
setDebug(int) - Method in class org.apache.anteater.test.BaseDataType
Set the debug level.
setDetermineImageNumber(boolean) - Method in class org.apache.anteater.util.ImageInfo
Specify whether the number of images in a file is to be determined - default is false.
setError(String, Exception) - Method in class org.apache.anteater.test.log.BaseLogger.TestLog
 
setExtension(String) - Method in class org.apache.anteater.test.matchers.Blob
 
setExtension(String) - Method in class org.apache.anteater.test.log.LoggerFactory
 
setExtension(String) - Method in interface org.apache.anteater.test.log.Logger
Set the extension of the log file (if any).
setExtension(String) - Method in class org.apache.anteater.test.log.CompositeLogger
 
setExtension(String) - Method in class org.apache.anteater.test.log.BaseLogger
 
setFailure(String, Exception) - Method in class org.apache.anteater.test.log.BaseLogger.TestLog
 
setFilenameFormat(String) - Method in class org.apache.anteater.test.log.LoggerFactory
 
setFilenameFormat(String) - Method in interface org.apache.anteater.test.log.Logger
Sets a template with which the names of log files are determined.
setFilenameFormat(String) - Method in class org.apache.anteater.test.log.CompositeLogger
 
setFilenameFormat(String) - Method in class org.apache.anteater.test.log.BaseLogger
 
setFollowRedirects(Boolean) - Method in class org.apache.anteater.test.HttpRequest
Whether to follow HTTP 302 redirects or not.
setGroup(Group) - Method in interface org.apache.anteater.test.Groupable
 
setGroup(Group) - Method in class org.apache.anteater.test.Group
Set the parent group of this group.
setGroup(Group) - Method in class org.apache.anteater.test.BaseTask
Sets the group that this task belongs to.
setGroup(Group) - Method in class org.apache.anteater.test.BaseDataType
Sets the group that this task belongs to.
setGroup(Group) - Method in class org.apache.anteater.test.meta.Uses
 
setGroup(Group) - Method in class org.apache.anteater.test.log.LoggerFactory
 
setGroup(Group) - Method in class org.apache.anteater.test.log.CompositeLogger
 
setGroup(int) - Method in class org.apache.anteater.test.matchers.XPath
Sets the regexp 'group number' whose match will be returned in the 'assign' variable.
setGroup(int) - Method in class org.apache.anteater.test.matchers.Regexp
Sets the regexp 'group number' whose match will be returned in the 'assign' variable.
setGroup(String) - Method in interface org.apache.anteater.test.Groupable
 
setGroup(String) - Method in class org.apache.anteater.test.BaseTask
Sets the group that this task belongs to.
setGroup(String) - Method in class org.apache.anteater.test.BaseDataType
Sets the group that this task belongs to.
setGroup(String) - Method in class org.apache.anteater.test.meta.Uses
 
setGroup(String) - Method in class org.apache.anteater.test.log.LoggerFactory
 
setGroup(String) - Method in class org.apache.anteater.test.log.CompositeLogger
 
setHaltonerror(Boolean) - Method in class org.apache.anteater.test.ActionTask
 
setHeaders(String) - Method in class org.apache.anteater.test.HttpMessage
 
setHeaders(String) - Method in class org.apache.anteater.test.HttpRequest
Add headers - string representation, will be parsed The value is a "|" separated list of headers to expect.
setHost(String) - Method in class org.apache.anteater.test.HttpMessage
 
setHost(String) - Method in class org.apache.anteater.test.HttpRequest
Server that will receive the request
setHref(String) - Method in class org.apache.anteater.test.HttpMessage
Set the URL specifying the resource for a HTTP request message.
setHref(String) - Method in class org.apache.anteater.test.SendResponse
Set the path of the file whose contents will constitute the HTTP body returned to the caller.
setHref(String) - Method in class org.apache.anteater.test.HttpRequest
Set the full URL to test.
setHref(String) - Method in class org.apache.anteater.test.matchers.ContentEquals
Location of a resource to test the returned contents for equality against.
setHttpMessageRequest(HttpMessage) - Method in class org.apache.anteater.test.Listener
Called by ListenerProxyServlet.
setHttpServletResponse(HttpServletResponse) - Method in class org.apache.anteater.test.Listener
Called by ListenerProxyServlet.
setId(String) - Method in class org.apache.anteater.test.Group
Set Ant id.
setIgnoreCase(boolean) - Method in class org.apache.anteater.test.matchers.Regexp
A boolean flag indicating whether case in the regexp is significant.
setIgnoreSpaces(boolean) - Method in class org.apache.anteater.test.matchers.ContentEquals
Set whether whitespace will be ignored when testing.
setIgnoreSpaces(boolean) - Method in class org.apache.anteater.test.matchers.XPath
Set whether whitespace will be ignored when testing.
setIgnoreSpaces(boolean) - Method in class org.apache.anteater.test.matchers.Regexp
Set whether whitespace will be ignored when testing.
setIgnoreTags(boolean) - Method in class org.apache.anteater.test.matchers.Regexp
Whether to ignore <tags> when making comparisons.
setInherits(String) - Method in class org.apache.anteater.test.Group
Set the parent group of this group.
setInput(DataInput) - Method in class org.apache.anteater.util.ImageInfo
Set the input stream to the argument stream (or file).
setInput(InputStream) - Method in class org.apache.anteater.util.ImageInfo
Set the input stream to the argument stream (or file).
setLogger(Logger) - Method in class org.apache.anteater.test.MatcherSet
 
setLogger(Logger) - Method in class org.apache.anteater.test.Matcher
Set the logger.
setLogger(Logger) - Method in class org.apache.anteater.test.MatcherTest
 
setMatcher(Matcher) - Method in class org.apache.anteater.test.MatcherTest
 
setMatcherSet(MatcherSet) - Method in class org.apache.anteater.test.Matcher
 
setMatchOn(Object) - Method in class org.apache.anteater.test.MatcherSet
 
setMatchOn(Object) - Method in class org.apache.anteater.test.Matcher
 
setMaxSpareThreads(int) - Method in class org.apache.anteater.test.ServletContainerTask
 
setMaxSpareThreads(int) - Method in class org.apache.anteater.test.ServletContainer
 
setMaxThreads(int) - Method in class org.apache.anteater.test.ServletContainerTask
 
setMaxThreads(int) - Method in class org.apache.anteater.test.ServletContainer
 
setMethod(String) - Method in class org.apache.anteater.test.HttpMessage
 
setMethod(String) - Method in class org.apache.anteater.test.HttpRequest
Set HTTP method, eg GET or POST.
setMimeType(String) - Method in class org.apache.anteater.test.matchers.Template
 
setMimeType(String) - Method in class org.apache.anteater.test.matchers.Blob
 
setMinSpareThreads(int) - Method in class org.apache.anteater.test.ServletContainerTask
 
setMinSpareThreads(int) - Method in class org.apache.anteater.test.ServletContainer
 
setMustMatch(boolean) - Method in class org.apache.anteater.test.matchers.Regexp
A boolean flag indicating whether the specified regexp must or mustn't match for the test to have passed.
setName(String) - Method in class org.apache.anteater.test.matchers.Parameter
 
setName(String) - Method in class org.apache.anteater.test.matchers.Header
 
setName(String) - Method in class org.apache.anteater.test.meta.Feature
Set feature name, eg 'jelly' .
setObjectModel(Map) - Method in class org.apache.anteater.test.SendResponse
 
setObjectModel(Map) - Method in interface org.apache.anteater.test.ObjectModel
Set the context in the receiving object.
setObjectModel(Map) - Method in class org.apache.anteater.test.MatcherSet
 
setObjectModel(Map) - Method in class org.apache.anteater.test.Matcher
 
setObjectModel(Map) - Method in class org.apache.anteater.test.MatcherTest
 
setOverwrite(boolean) - Method in interface org.apache.anteater.test.log.Logger
Set whether the logger should overwrite old log files from previous runs.
setOverwrite(boolean) - Method in class org.apache.anteater.test.log.CompositeLogger
 
setOverwrite(boolean) - Method in class org.apache.anteater.test.log.BaseLogger
 
setOverwrite(Boolean) - Method in class org.apache.anteater.test.log.LoggerFactory
 
setPassword(String) - Method in class org.apache.anteater.test.HttpMessage
 
setPassword(String) - Method in class org.apache.anteater.test.HttpRequest
 
setPath(String) - Method in class org.apache.anteater.test.HttpMessage
 
setPath(String) - Method in class org.apache.anteater.test.Undeploy
Context path of the webapp to undeploy.
setPath(String) - Method in class org.apache.anteater.test.Listener
 
setPath(String) - Method in class org.apache.anteater.test.HttpRequest
Set the 'path' in the HTTP request (part after the host and port).
setPath(String) - Method in class org.apache.anteater.test.Deploy
Context path to map to the webapp.
setPath(String) - Method in class org.apache.anteater.test.FileRequest
Filename to look into
setPattern(String) - Method in class org.apache.anteater.test.matchers.XPath
Sets a regexp pattern that the header should match.
setPattern(String) - Method in class org.apache.anteater.test.matchers.ResponseCode
 
setPattern(String) - Method in class org.apache.anteater.test.matchers.Regexp
Set the regular expression.
setPattern(String) - Method in class org.apache.anteater.test.matchers.Header
Sets a regexp pattern that the header should match.
setPort(int) - Method in class org.apache.anteater.test.HttpMessage
 
setPort(int) - Method in class org.apache.anteater.test.Listener
 
setPort(int) - Method in class org.apache.anteater.test.HttpRequest
 
setPort(String) - Method in class org.apache.anteater.test.ServletContainerTask
 
setPort(String) - Method in class org.apache.anteater.test.ServletContainer
 
setPrefix(String) - Method in class org.apache.anteater.test.Namespace
Set the XML namespace prefix.
setProject(Project) - Method in class org.apache.anteater.test.HttpMessage
 
setPropertyValue(String) - Method in class org.apache.anteater.test.MatcherTest
Called by subclasses to set the 'assign' property to a value from the matched object.
setProtocol(String) - Method in class org.apache.anteater.test.HttpMessage
Set HTTP protocol, typically HTTP/1.0 or HTTP/1.1.
setProtocol(String) - Method in class org.apache.anteater.test.HttpRequest
Set HTTP protocol, typically HTTP/1.0 or HTTP/1.1.
setQuery(String) - Method in class org.apache.anteater.test.HttpMessage
Parse the 'query' part of the URL, ie the bit after the '?', and store in variable "Parameter".
setRefid(Reference) - Method in class org.apache.anteater.test.BaseDataType
Makes this instance in effect a reference to another FileList instance.
setResponseCode(int) - Method in class org.apache.anteater.test.SendResponse
Set the HTTP response code to send to the client.
setResponseLine(String) - Method in class org.apache.anteater.test.HttpMessage
 
setResponseWriter(PipedWriter) - Method in class org.apache.anteater.test.Listener
Called by ListenerProxyServlet.
setRngfile(String) - Method in class org.apache.anteater.test.matchers.Jing
Handles the rngfile attribute.
setSecure(boolean) - Method in class org.apache.anteater.test.HttpMessage
Sets whether request/response should be made via SSL.
setSelect(String) - Method in class org.apache.anteater.test.matchers.XPath
Set XPath expression to apply to HTTP body content.
setSingleLine(boolean) - Method in class org.apache.anteater.test.matchers.Regexp
Whether .* matches newlines (\n).
setTimeout(int) - Method in class org.apache.anteater.test.Listener
 
setTimeout(String) - Method in class org.apache.anteater.test.HttpRequest
Set the HTTP request's socket timeout.
setTodir(File) - Method in class org.apache.anteater.test.log.LoggerFactory
Sets the directory to which log files will be written.
setTodir(File) - Method in interface org.apache.anteater.test.log.Logger
Set the destination directory for the log file (if any).
setTodir(File) - Method in class org.apache.anteater.test.log.CompositeLogger
 
setTodir(File) - Method in class org.apache.anteater.test.log.BaseLogger
 
setType(LoggerFactory.TypeAttribute) - Method in class org.apache.anteater.test.log.LoggerFactory
Quick way to use a standard formatter.
setType(String) - Method in class org.apache.anteater.test.matchers.Parameter
POST or GET - if not set the current method's type will be used.
setURI(String) - Method in class org.apache.anteater.test.Namespace
Set the XML namespace URI.
setUseFile(boolean) - Method in class org.apache.anteater.test.log.LoggerFactory
 
setUseFile(boolean) - Method in interface org.apache.anteater.test.log.Logger
Set whether the logger should log to a file (or stdout).
setUseFile(boolean) - Method in class org.apache.anteater.test.log.CompositeLogger
 
setUseFile(boolean) - Method in class org.apache.anteater.test.log.BaseLogger
 
setUser(String) - Method in class org.apache.anteater.test.HttpMessage
 
setUser(String) - Method in class org.apache.anteater.test.HttpRequest
 
setUseTidy(Boolean) - Method in class org.apache.anteater.test.HttpMessage
 
setUseTidy(Boolean) - Method in class org.apache.anteater.test.Listener
 
setUseTidy(Boolean) - Method in class org.apache.anteater.test.HttpRequest
Set whether to clean up the HTTP response body before applying tests.
setValue(String) - Method in class org.apache.anteater.test.ActionTask
Set the value to which the ActionTask.setAssign(java.lang.String) property will be set if this action task succeeds.
setValue(String) - Method in class org.apache.anteater.test.Matcher
Set the value to which the Matcher.setAssign(java.lang.String) property will be set if this matcher succeeds.
setValue(String) - Method in class org.apache.anteater.test.matchers.Parameter
 
setValue(String) - Method in class org.apache.anteater.test.matchers.XPath
Set String value we expect the XPath to evaluate to.
setValue(String) - Method in class org.apache.anteater.test.matchers.ResponseCode
 
setValue(String) - Method in class org.apache.anteater.test.matchers.Method
 
setValue(String) - Method in class org.apache.anteater.test.matchers.Header
 
setValue(String) - Method in class org.apache.anteater.test.meta.Feature
Set feature value, eg '1.2.3' .
setVersion(String) - Method in class org.apache.anteater.test.meta.Uses
Set the version that the script is written for.
setWebapp(File) - Method in class org.apache.anteater.test.Deploy
Path to the directory containing the unpacked webapp, or to a war file.
shutdownReader(Reader) - Static method in class org.apache.anteater.util.IOUtil
Unconditionally close an Reader.
shutdownStream(InputStream) - Static method in class org.apache.anteater.util.IOUtil
Unconditionally close an InputStream.
shutdownStream(OutputStream) - Static method in class org.apache.anteater.util.IOUtil
Unconditionally close an OutputStream.
shutdownWriter(Writer) - Static method in class org.apache.anteater.util.IOUtil
Unconditionally close an Writer.
SimpleClasspathServlet - class org.apache.anteater.servlet.SimpleClasspathServlet.
Servlet for working out what our deployment environment looks like.
SimpleClasspathServlet() - Constructor for class org.apache.anteater.servlet.SimpleClasspathServlet
 
SimpleServletContainer - class org.apache.anteater.tomcat.SimpleServletContainer.
Start an embedded Tomcat servlet container.
SimpleServletContainer() - Constructor for class org.apache.anteater.tomcat.SimpleServletContainer
 
size() - Method in class org.apache.anteater.test.log.CompositeLogger
 
size() - Method in class org.apache.anteater.util.Queue
 
SOAPRequest - class org.apache.anteater.test.SOAPRequest.
Simple extension to HTTPRequest to predefine SOAP type requests.
SOAPRequest() - Constructor for class org.apache.anteater.test.SOAPRequest
 
SSLUtils - class org.apache.anteater.util.SSLUtils.
SSL utility methods.
START_TOMCAT - Static variable in class org.apache.anteater.test.ServletContainerTask
 
start() - Method in class org.apache.anteater.test.ServletContainer
 
start() - Method in class org.apache.anteater.test.log.BaseLogger.TestLog
 
startActionTask(ActionTask) - Method in class org.apache.anteater.test.log.XMLLogger
 
startActionTask(ActionTask) - Method in class org.apache.anteater.test.log.MinimalLogger
 
startActionTask(ActionTask) - Method in class org.apache.anteater.test.log.ColourLogger
 
startActionTask(ActionTask) - Method in class org.apache.anteater.test.log.TextLogger
 
startActionTask(ActionTask) - Method in interface org.apache.anteater.test.log.Logger
Indicates that an ActionTask (aka HTTP operation) has started.
startActionTask(ActionTask) - Method in class org.apache.anteater.test.log.DebugLogger
 
startActionTask(ActionTask) - Method in class org.apache.anteater.test.log.CompositeLogger
 
startActionTask(ActionTask) - Method in class org.apache.anteater.test.log.BaseLogger
 
startTest(MatcherTest) - Method in class org.apache.anteater.test.log.XMLLogger
 
startTest(MatcherTest) - Method in class org.apache.anteater.test.log.ColourLogger
 
startTest(MatcherTest) - Method in class org.apache.anteater.test.log.TextLogger
 
startTest(MatcherTest) - Method in interface org.apache.anteater.test.log.Logger
Indicates the start of a test against the retrieved Response.
startTest(MatcherTest) - Method in class org.apache.anteater.test.log.DebugLogger
 
startTest(MatcherTest) - Method in class org.apache.anteater.test.log.CompositeLogger
 
startTest(MatcherTest) - Method in class org.apache.anteater.test.log.BaseLogger
 
STOP_TOMCAT - Static variable in class org.apache.anteater.test.ServletContainerTask
 
stop() - Method in class org.apache.anteater.test.ServletContainer
 
successProp - Variable in class org.apache.anteater.test.ActionTask
Property to set if this action task succeeds.
successProp - Variable in class org.apache.anteater.test.Matcher
Property to set if this match element's tests all succeed.
successVal - Variable in class org.apache.anteater.test.ActionTask
Value to set ActionTask.successProp to if this action task succeeds.
successVal - Variable in class org.apache.anteater.test.Matcher
Value to set Matcher.successProp to if this match element's tests all succeed.
synchBits() - Method in class org.apache.anteater.util.ImageInfo
Reset the bit buffer

T

TASKNAME - Static variable in class org.apache.anteater.test.log.LoggerUtils
"taskname" variable containing name of currently running Task, e.g.
TeeOutputStream - class org.apache.anteater.util.TeeOutputStream.
This class behaves just like an OutputStream, but it writes the output into two output streams.
TeeOutputStream(OutputStream[]) - Constructor for class org.apache.anteater.util.TeeOutputStream
 
TeeOutputStream(OutputStream, OutputStream) - Constructor for class org.apache.anteater.util.TeeOutputStream
 
Template - class org.apache.anteater.test.matchers.Template.
A template matcher, that you can base new matchers on.
Template() - Constructor for class org.apache.anteater.test.matchers.Template
 
testError(String, Exception) - Method in class org.apache.anteater.test.log.XMLLogger
 
testError(String, Exception) - Method in class org.apache.anteater.test.log.ColourLogger
 
testError(String, Exception) - Method in class org.apache.anteater.test.log.TextLogger
 
testError(String, Exception) - Method in interface org.apache.anteater.test.log.Logger
ActionTasks may fail unexpectedly, and these are classed as Errors and should be reported here.
testError(String, Exception) - Method in class org.apache.anteater.test.log.DebugLogger
 
testError(String, Exception) - Method in class org.apache.anteater.test.log.CompositeLogger
 
testError(String, Exception) - Method in class org.apache.anteater.test.log.BaseLogger
 
testFailure(String, Exception) - Method in class org.apache.anteater.test.log.XMLLogger
 
testFailure(String, Exception) - Method in class org.apache.anteater.test.log.ColourLogger
 
testFailure(String, Exception) - Method in class org.apache.anteater.test.log.TextLogger
 
testFailure(String, Exception) - Method in interface org.apache.anteater.test.log.Logger
If the ActionTask fails to validate the service, then a failure should be recorded via this method.
testFailure(String, Exception) - Method in class org.apache.anteater.test.log.DebugLogger
 
testFailure(String, Exception) - Method in class org.apache.anteater.test.log.CompositeLogger
 
testFailure(String, Exception) - Method in class org.apache.anteater.test.log.BaseLogger
 
testLog(String) - Method in class org.apache.anteater.test.log.XMLLogger
 
testLog(String) - Method in class org.apache.anteater.test.log.ColourLogger
 
testLog(String) - Method in class org.apache.anteater.test.log.TextLogger
 
testLog(String) - Method in interface org.apache.anteater.test.log.Logger
ActionTasks may log anything they think relevant to the user here.
testLog(String) - Method in class org.apache.anteater.test.log.DebugLogger
 
testLog(String) - Method in class org.apache.anteater.test.log.CompositeLogger
 
testLog(String) - Method in class org.apache.anteater.test.log.BaseLogger
 
TextLogger - class org.apache.anteater.test.log.TextLogger.
Logger that writes Text log files.
TextLogger() - Constructor for class org.apache.anteater.test.log.TextLogger
 
toByteArray(InputStream) - Static method in class org.apache.anteater.util.IOUtil
Get the contents of an InputStream as a byte[].
toByteArray(InputStream, int) - Static method in class org.apache.anteater.util.IOUtil
Get the contents of an InputStream as a byte[].
toByteArray(Reader) - Static method in class org.apache.anteater.util.IOUtil
Get the contents of a Reader as a byte[].
toByteArray(Reader, int) - Static method in class org.apache.anteater.util.IOUtil
Get the contents of a Reader as a byte[].
toByteArray(String) - Static method in class org.apache.anteater.util.IOUtil
Get the contents of a String as a byte[].
toByteArray(String, int) - Static method in class org.apache.anteater.util.IOUtil
Get the contents of a String as a byte[].
toString() - Method in class org.apache.anteater.test.HttpMessage
 
toString() - Method in class org.apache.anteater.test.Session
 
toString() - Method in class org.apache.anteater.test.Namespace
Debugging representation of the ns mapping.
toString() - Method in class org.apache.anteater.test.Listener
 
toString() - Method in class org.apache.anteater.test.Group
String representation of the group, for debugging.
toString() - Method in class org.apache.anteater.test.matchers.Parameter
 
toString() - Method in class org.apache.anteater.test.matchers.Template
 
toString() - Method in class org.apache.anteater.test.matchers.ContentEquals
 
toString() - Method in class org.apache.anteater.test.matchers.Blob
 
toString() - Method in class org.apache.anteater.test.matchers.XPath
 
toString() - Method in class org.apache.anteater.test.matchers.ResponseCode
 
toString() - Method in class org.apache.anteater.test.matchers.Regexp
 
toString() - Method in class org.apache.anteater.test.matchers.Method
 
toString() - Method in class org.apache.anteater.test.matchers.Header
 
toString() - Method in class org.apache.anteater.test.meta.Feature
String representation of the feature.
toString() - Method in class org.apache.anteater.test.meta.VersionChecker
 
toString(byte[]) - Static method in class org.apache.anteater.util.IOUtil
Get the contents of a byte[] as a String.
toString(byte[], int) - Static method in class org.apache.anteater.util.IOUtil
Get the contents of a byte[] as a String.
toString(byte[], String) - Static method in class org.apache.anteater.util.IOUtil
Get the contents of a byte[] as a String.
toString(byte[], String, int) - Static method in class org.apache.anteater.util.IOUtil
Get the contents of a byte[] as a String.
toString(HashMap) - Static method in class org.apache.anteater.test.matchers.Header
 
toString(InputStream) - Static method in class org.apache.anteater.util.IOUtil
Get the contents of an InputStream as a String.
toString(InputStream, int) - Static method in class org.apache.anteater.util.IOUtil
Get the contents of an InputStream as a String.
toString(InputStream, String) - Static method in class org.apache.anteater.util.IOUtil
Get the contents of an InputStream as a String.
toString(InputStream, String, int) - Static method in class org.apache.anteater.util.IOUtil
Get the contents of an InputStream as a String.
toString(Reader) - Static method in class org.apache.anteater.util.IOUtil
Get the contents of a Reader as a String.
toString(Reader, int) - Static method in class org.apache.anteater.util.IOUtil
Get the contents of a Reader as a String.
TRUE_MESSAGE - Static variable in class org.apache.anteater.test.matchers.Regexp
 
type - Variable in class org.apache.anteater.test.matchers.Parameter
 

U

Undeploy - class org.apache.anteater.test.Undeploy.
Task for undeploying applications from the ServletContainer at runtime.
Undeploy() - Constructor for class org.apache.anteater.test.Undeploy
 
unjar(File, File) - Static method in class org.apache.anteater.util.JarUtil
Unjar a jar file to a directory.
unjar(Project, String, String) - Static method in class org.apache.anteater.util.JarUtil
Unjar a jar file to a directory.
UNSET_BODY - Static variable in class org.apache.anteater.test.HttpMessage
 
UNSET_HOST - Static variable in class org.apache.anteater.test.HttpMessage
 
UNSET_PORT - Static variable in class org.apache.anteater.test.HttpMessage
 
UNSET_PROTOCOL - Static variable in class org.apache.anteater.test.HttpMessage
 
UNSET_TIMEOUT - Static variable in class org.apache.anteater.test.HttpClient
 
URL - Static variable in class org.apache.anteater.test.log.LoggerUtils
Variable containing a filesystem-friendly rendition of the request URL, minus the request params.
urlDecode(String) - Method in class org.apache.anteater.test.HttpMessage
 
urlEncode(String) - Method in class org.apache.anteater.test.HttpMessage
 
Uses - class org.apache.anteater.test.meta.Uses.
Collects a set of Features needed by a script.
Uses() - Constructor for class org.apache.anteater.test.meta.Uses
 
Utils - class org.apache.anteater.util.Utils.
Various utility methods.

V

validate() - Method in class org.apache.anteater.test.MatcherTest
Return true if this instance matches against the matchOn object of the matcher.
validate() - Method in class org.apache.anteater.test.matchers.Parameter
 
validate() - Method in class org.apache.anteater.test.matchers.Template
 
validate() - Method in class org.apache.anteater.test.matchers.ContentEquals
 
validate() - Method in class org.apache.anteater.test.matchers.Blob
 
validate() - Method in class org.apache.anteater.test.matchers.XPath
 
validate() - Method in class org.apache.anteater.test.matchers.ResponseCode
 
validate() - Method in class org.apache.anteater.test.matchers.Regexp
 
validate() - Method in class org.apache.anteater.test.matchers.Method
 
validate() - Method in class org.apache.anteater.test.matchers.Jing
 
validate() - Method in class org.apache.anteater.test.matchers.Header
 
value - Variable in class org.apache.anteater.test.matchers.Parameter
 
value - Variable in class org.apache.anteater.test.matchers.ContentEquals
 
value - Variable in class org.apache.anteater.test.matchers.Header
The value of the header.
value - Variable in class org.apache.anteater.test.meta.Feature
 
ValueChecker - class org.apache.anteater.test.meta.ValueChecker.
A FeatureChecker that checks if a feature property has a certain value.
ValueChecker() - Constructor for class org.apache.anteater.test.meta.ValueChecker
 
VersionChecker - class org.apache.anteater.test.meta.VersionChecker.
.
VersionChecker() - Constructor for class org.apache.anteater.test.meta.VersionChecker
 
VM_COUNT - Static variable in class org.apache.anteater.test.log.LoggerUtils
Variable containing a counter unique within this Java Virtual Machine.

W

write(byte[]) - Method in class org.apache.anteater.util.TeeOutputStream
 
write(byte[], int, int) - Method in class org.apache.anteater.util.TeeOutputStream
 
write(int) - Method in class org.apache.anteater.util.TeeOutputStream
 
writeTo(HttpServletResponse, Writer) - Method in class org.apache.anteater.test.SendResponse
Sends a response back to the HTTP client.
writeTo(OutputStream, Project) - Method in class org.apache.anteater.test.HttpMessage
 

X

XMLDocument - interface org.apache.anteater.test.XMLDocument.
Obtain the DOM4J representation of the receiving object.
XMLLogger - class org.apache.anteater.test.log.XMLLogger.
Logger that writes XML log files compatible (slightly extending) with those from the <junit> task's XML formatter.
XMLLogger() - Constructor for class org.apache.anteater.test.log.XMLLogger
 
XPath - class org.apache.anteater.test.matchers.XPath.
Assuming that the body of the HTTP message is an XML document, matches it using XPath.
XPath() - Constructor for class org.apache.anteater.test.matchers.XPath
 

_

_destDir - Variable in class org.apache.anteater.test.log.BaseLogger
 
_dt - Variable in class org.apache.anteater.test.log.BaseLogger
 
_errors - Variable in class org.apache.anteater.test.log.BaseLogger
 
_extension - Variable in class org.apache.anteater.test.log.BaseLogger
 
_failures - Variable in class org.apache.anteater.test.log.BaseLogger
 
_filenameFormat - Variable in class org.apache.anteater.test.log.BaseLogger
 
_group - Variable in class org.apache.anteater.test.matchers.XPath
Which group to set the assign variable to.
_group - Variable in class org.apache.anteater.test.matchers.Regexp
 
_id - Variable in class org.apache.anteater.test.Group
 
_ignoreCase - Variable in class org.apache.anteater.test.matchers.Regexp
 
_ignoreSpaces - Variable in class org.apache.anteater.test.matchers.XPath
Whether whitespace in the xpath expression's string value should be normalized in comparisons.
_ignoreSpaces - Variable in class org.apache.anteater.test.matchers.Regexp
 
_ignoreTags - Variable in class org.apache.anteater.test.matchers.Regexp
 
_loggers - Variable in class org.apache.anteater.test.Group
List of LoggerFactory objects.
_mimetype - Variable in class org.apache.anteater.test.matchers.Template
 
_mimetype - Variable in class org.apache.anteater.test.matchers.Blob
Regexp pattern that the xpath expression's string value should match.
_mustMatch - Variable in class org.apache.anteater.test.matchers.Regexp
 
_namespaces - Variable in class org.apache.anteater.test.Group
List of Namespace objects.
_overwrite - Variable in class org.apache.anteater.test.log.BaseLogger
 
_pattern - Variable in class org.apache.anteater.test.matchers.XPath
Regexp pattern that the xpath expression's string value should match.
_pattern - Variable in class org.apache.anteater.test.matchers.Regexp
 
_prefix - Variable in class org.apache.anteater.test.Namespace
 
_props - Variable in class org.apache.anteater.test.Group
List of Property objects.
_sessions - Variable in class org.apache.anteater.test.Group
List of Session objects.
_singleLine - Variable in class org.apache.anteater.test.matchers.Regexp
 
_t0 - Variable in class org.apache.anteater.test.log.BaseLogger
 
_tasks - Variable in class org.apache.anteater.test.Group
List of BaseTask objects.
_tasks - Variable in class org.apache.anteater.test.log.BaseLogger
 
_testLog - Variable in class org.apache.anteater.test.log.BaseLogger
 
_uri - Variable in class org.apache.anteater.test.Namespace
 
_useFile - Variable in class org.apache.anteater.test.log.BaseLogger
 
_uses - Variable in class org.apache.anteater.test.Group
List of Features required by this group's actions.

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

Ant Functional Tester -- see Project home page for details