Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 93463 invoked from network); 27 Jan 2002 20:21:11 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 27 Jan 2002 20:21:11 -0000 Received: (qmail 27821 invoked by uid 97); 27 Jan 2002 20:19:58 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 27466 invoked by uid 97); 27 Jan 2002 20:19:52 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 29925 invoked by uid 97); 27 Jan 2002 04:47:00 -0000 Date: 27 Jan 2002 04:46:47 -0000 Message-ID: <20020127044647.33650.qmail@icarus.apache.org> From: dion@apache.org To: jakarta-commons-cvs@apache.org Subject: cvs commit: jakarta-commons/latka/webpages/api stylesheet.css serialized-form.html packages.html package-list overview-summary.html overview-frame.html index.html index-all.html constant-values.html allclasses-noframe.html allclasses-frame.html X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N dion 02/01/26 20:46:47 Added: latka/webpages/api stylesheet.css serialized-form.html packages.html package-list overview-summary.html overview-frame.html index.html index-all.html constant-values.html allclasses-noframe.html allclasses-frame.html Log: Initial build Revision Changes Path 1.1 jakarta-commons/latka/webpages/api/stylesheet.css Index: stylesheet.css =================================================================== /* Javadoc style sheet */ /* Define colors, fonts and other style attributes here to override the defaults */ /* Page background color */ body { background-color: #FFFFFF } /* Table colors */ .TableHeadingColor { background: #CCCCFF } /* Dark mauve */ .TableSubHeadingColor { background: #EEEEFF } /* Light mauve */ .TableRowColor { background: #FFFFFF } /* White */ /* Font used in left-hand frame lists */ .FrameTitleFont { font-size: 10pts; font-family: Helvetica, Arial, san-serif } .FrameHeadingFont { font-size: 10pts; font-family: Helvetica, Arial, san-serif } .FrameItemFont { font-size: 10pts; font-family: Helvetica, Arial, san-serif } /* Example of smaller, sans-serif font in frames */ /* .FrameItemFont { font-size: 10pt; font-family: Helvetica, Arial, sans-serif } */ /* Navigation bar fonts and colors */ .NavBarCell1 { background-color:#EEEEFF;}/* Light mauve */ .NavBarCell1Rev { background-color:#00008B;}/* Dark Blue */ .NavBarFont1 { font-family: Arial, Helvetica, sans-serif; color:#000000;} .NavBarFont1Rev { font-family: Arial, Helvetica, sans-serif; color:#FFFFFF;} .NavBarCell2 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;} .NavBarCell3 { font-family: Arial, Helvetica, sans-serif; background-color:#FFFFFF;} 1.1 jakarta-commons/latka/webpages/api/serialized-form.html Index: serialized-form.html =================================================================== Serialized Form

Serialized Form


Package org.apache.commons.latka

Class org.apache.commons.latka.LatkaException implements Serializable

Serialized Fields

_wrappedException

  java.lang.Exception _wrappedException

Class org.apache.commons.latka.ValidationException implements Serializable

Serialized Fields

_label

  java.lang.String _label
User's description of the test/assertion


_reason

  java.lang.String _reason
Why the test/assertion failed



Copyright © 2001 Apache Software Foundation. Documenation generated January 26 2002. 1.1 jakarta-commons/latka/webpages/api/packages.html Index: packages.html =================================================================== Jakarta Commons Latka Functional Testing Suite


The front page has been relocated.Please see:
          Frame version
          Non-frame version.
1.1 jakarta-commons/latka/webpages/api/package-list Index: package-list =================================================================== org.apache.commons.latka org.apache.commons.latka.event org.apache.commons.latka.http org.apache.commons.latka.junit org.apache.commons.latka.util org.apache.commons.latka.util.xml org.apache.commons.latka.validators org.apache.commons.latka.xml 1.1 jakarta-commons/latka/webpages/api/overview-summary.html Index: overview-summary.html =================================================================== Overview (Jakarta Commons Latka Functional Testing Suite)

Jakarta Commons Latka Functional Testing Suite

Packages
org.apache.commons.latka  
org.apache.commons.latka.event  
org.apache.commons.latka.http  
org.apache.commons.latka.junit  
org.apache.commons.latka.util  
org.apache.commons.latka.util.xml  
org.apache.commons.latka.validators  
org.apache.commons.latka.xml  

 



Copyright © 2001 Apache Software Foundation. Documenation generated January 26 2002. 1.1 jakarta-commons/latka/webpages/api/overview-frame.html Index: overview-frame.html =================================================================== Overview (Jakarta Commons Latka Functional Testing Suite)
All Classes

Packages
org.apache.commons.latka
org.apache.commons.latka.event
org.apache.commons.latka.http
org.apache.commons.latka.junit
org.apache.commons.latka.util
org.apache.commons.latka.util.xml
org.apache.commons.latka.validators
org.apache.commons.latka.xml

  1.1 jakarta-commons/latka/webpages/api/index.html Index: index.html =================================================================== Jakarta Commons Latka Functional Testing Suite <H2> Frame Alert</H2> <P> This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. <BR> Link to<A HREF="overview-summary.html">Non-frame version.</A> 1.1 jakarta-commons/latka/webpages/api/index-all.html Index: index-all.html =================================================================== Index (Jakarta Commons Latka Functional Testing Suite)
A B C D E F G H I J L M O P R S T V W X _


A

AbstractReporter - class org.apache.commons.latka.AbstractReporter.
The base class for several 'reporters'.
AbstractReporter() - Constructor for class org.apache.commons.latka.AbstractReporter
 
addCookie(String, String, String, String) - Method in interface org.apache.commons.latka.http.Session
Adds a cookie to all HTTP requests whose domain and path match (according to RFC2109).
addCookie(String, String, String, String) - Method in class org.apache.commons.latka.http.SessionImpl
Adds a cookie to all HTTP requests whose domain and path match (according to RFC2109).
addHeader(String, String) - Method in interface org.apache.commons.latka.http.RequestHeaders
Add a header to the request
addHeader(String, String) - Method in interface org.apache.commons.latka.http.Request
Sets a request header.
addHeader(String, String) - Method in class org.apache.commons.latka.http.RequestImpl
Set a header in the request
addHeader(String, String) - Method in class org.apache.commons.latka.http.RequestHeadersImpl
 
addHttpClientParameter(String, String) - Method in class org.apache.commons.latka.http.RequestImpl
Associate a parameter with this request.
addListener(LatkaEventListener) - Method in class org.apache.commons.latka.event.LatkaEventPublisher
 
addParameter(String, String) - Method in class org.apache.commons.latka.http.ParametersImpl
 
addParameter(String, String) - Method in interface org.apache.commons.latka.http.Parameters
Add a parameter to the request
addParameter(String, String) - Method in interface org.apache.commons.latka.http.Request
Associate a parameter with this request.
addParameter(String, String) - Method in class org.apache.commons.latka.http.RequestImpl
 

B

BaseRequestEvent - class org.apache.commons.latka.event.BaseRequestEvent.
The base class for request events fired by latka.
BaseRequestEvent(Request, Response) - Constructor for class org.apache.commons.latka.event.BaseRequestEvent
Store the request, response and session for later retrieval
BaseValidator - class org.apache.commons.latka.validators.BaseValidator.
 
BaseValidator() - Constructor for class org.apache.commons.latka.validators.BaseValidator
 
BaseValidator(String) - Constructor for class org.apache.commons.latka.validators.BaseValidator
 
BasicDelegateHandler - class org.apache.commons.latka.util.xml.BasicDelegateHandler.
Typically, you will want to use DelegateHandlerImpl as your base class, not this one.
BasicDelegateHandler() - Constructor for class org.apache.commons.latka.util.xml.BasicDelegateHandler
 
broadcastEvent(LatkaEvent) - Method in class org.apache.commons.latka.event.LatkaEventPublisher
 
broadcastEvent(LatkaEvent, LatkaEventListener) - Method in class org.apache.commons.latka.event.LatkaEventPublisher
 
buildRequest(Attributes) - Method in class org.apache.commons.latka.xml.RequestHandler
 
ByteLengthHandler - class org.apache.commons.latka.validators.ByteLengthHandler.
 
ByteLengthHandler() - Constructor for class org.apache.commons.latka.validators.ByteLengthHandler
 
ByteLengthValidator - class org.apache.commons.latka.validators.ByteLengthValidator.
 
ByteLengthValidator() - Constructor for class org.apache.commons.latka.validators.ByteLengthValidator
 
ByteLengthValidator(int, int) - Constructor for class org.apache.commons.latka.validators.ByteLengthValidator
 
ByteLengthValidator(String) - Constructor for class org.apache.commons.latka.validators.ByteLengthValidator
 
ByteLengthValidator(String, int, int) - Constructor for class org.apache.commons.latka.validators.ByteLengthValidator
 

C

characters(char[], int, int) - Method in class org.apache.commons.latka.xml.ParameterHandler
 
closeConnection() - Method in class org.apache.commons.latka.http.RequestImpl
 
compare(String, String) - Method in class org.apache.commons.latka.validators.GoldenFileValidator
 
compareWeak(String, String) - Method in class org.apache.commons.latka.validators.GoldenFileValidator
 
CookieHandler - class org.apache.commons.latka.validators.CookieHandler.
 
CookieHandler() - Constructor for class org.apache.commons.latka.validators.CookieHandler
 
CookieValidator - class org.apache.commons.latka.validators.CookieValidator.
CookieValidator validates cookie existence and/or value in an HTTP session.
CookieValidator() - Constructor for class org.apache.commons.latka.validators.CookieValidator
 
CookieValidator(String) - Constructor for class org.apache.commons.latka.validators.CookieValidator
 
CookieValidator(String, String) - Constructor for class org.apache.commons.latka.validators.CookieValidator
 
CookieValidator(String, String, String) - Constructor for class org.apache.commons.latka.validators.CookieValidator
 
countTestCases() - Method in class org.apache.commons.latka.junit.JUnitTestAdapter
Provides access, post-parsing, of the number of request elements in the Latka Suite
createRequest(String, URL, int, boolean) - Method in interface org.apache.commons.latka.http.Session
 
createRequest(String, URL, int, boolean) - Method in class org.apache.commons.latka.http.SessionImpl
Creates a request object with the specified URL and HTTP Method.
createRequest(URL, int) - Method in interface org.apache.commons.latka.http.Session
Creates a request object with the specified URL and HTTP Method.
createRequest(URL, int) - Method in class org.apache.commons.latka.http.SessionImpl
Creates a request object with the specified URL and HTTP Method.
createRequestElement(RequestEvent) - Method in class org.apache.commons.latka.XMLReporter
Utility method that converts a RequestEvent object to its corresponding element in the JDOM object.
createTestFromFile(File) - Static method in class org.apache.commons.latka.junit.JUnitTestAdapter
Create a Test from a Java file
createTestFromFile(String) - Static method in class org.apache.commons.latka.junit.JUnitTestAdapter
Create a Test from a Latka file
createTestFromResource(String) - Static method in class org.apache.commons.latka.junit.JUnitTestAdapter
Create a Test from a resource accessible via the class loader
createTestFromURL(String) - Static method in class org.apache.commons.latka.junit.JUnitTestAdapter
Create a Test from a String containing a URL whose contents are in Latka's XML format
createTestFromURL(URL) - Static method in class org.apache.commons.latka.junit.JUnitTestAdapter
Create a Test from a URL whose contents are in Latka's XML format
Credentials - interface org.apache.commons.latka.http.Credentials.
Used for authentication
CredentialsImpl - class org.apache.commons.latka.http.CredentialsImpl.
Concrete Implementation of Credentials
CredentialsImpl(String, String) - Constructor for class org.apache.commons.latka.http.CredentialsImpl
Create credentials given user name and password

D

delegate() - Method in class org.apache.commons.latka.util.xml.BasicDelegateHandler
 
delegate(String, String, String, Attributes) - Method in class org.apache.commons.latka.util.xml.BasicDelegateHandler
 
delegate(String, String, String, Attributes) - Method in interface org.apache.commons.latka.util.xml.DelegateHandler
 
DelegateHandler - interface org.apache.commons.latka.util.xml.DelegateHandler.
 
DelegateHandlerImpl - class org.apache.commons.latka.util.xml.DelegateHandlerImpl.
A BasicDelegateHandler with convenient constructors.
DelegateHandlerImpl(XMLReader) - Constructor for class org.apache.commons.latka.util.xml.DelegateHandlerImpl
Create a DelegateHandler that releases to the current ContentHandler of the specified XMLReader
DelegateHandlerImpl(XMLReader, ContentHandler) - Constructor for class org.apache.commons.latka.util.xml.DelegateHandlerImpl
Create a DelegateHandler that releases to a specific ContentHandler
didRequestSucceed(Request) - Method in class org.apache.commons.latka.AbstractReporter
Check to see if a particular Request succeeded or failed.
didRequestSucceed(Request) - Method in interface org.apache.commons.latka.event.LatkaEventInfo
Check to see if a particular Request succeeded or failed.
didSessionSucceed(Session) - Method in class org.apache.commons.latka.AbstractReporter
Check to see if a particular Session succeeded or failed.
didSessionSucceed(Session) - Method in interface org.apache.commons.latka.event.LatkaEventInfo
Check to see if a particular Session succeeded or failed.
didSuiteSucceed() - Method in class org.apache.commons.latka.AbstractReporter
Returns true if all Requests in the suite succeed.
didSuiteSucceed() - Method in interface org.apache.commons.latka.event.LatkaEventInfo
Returns true if all Requests in the suite succeed.

E

endElement(String, String, String) - Method in class org.apache.commons.latka.xml.RequestHandler
 
endElement(String, String, String) - Method in class org.apache.commons.latka.xml.SessionHandler
 
endElement(String, String, String) - Method in class org.apache.commons.latka.xml.RequestHeaderHandler
 
endElement(String, String, String) - Method in class org.apache.commons.latka.xml.ParameterHandler
 
endElement(String, String, String) - Method in class org.apache.commons.latka.xml.SuiteHandler
 
endElement(String, String, String) - Method in class org.apache.commons.latka.xml.ValidationReflectionHandler
 
error(SAXParseException) - Method in class org.apache.commons.latka.xml.LatkaHandler
 
error(SAXParseException) - Method in class org.apache.commons.latka.xml.ValidationHandler
 
execute() - Method in interface org.apache.commons.latka.http.Request
Execute this HTTP request.
execute() - Method in class org.apache.commons.latka.http.RequestImpl
 
executeRequest() - Method in class org.apache.commons.latka.xml.RequestHandler
Executes the request.

F

fail() - Method in class org.apache.commons.latka.validators.BaseValidator
 
fail(String) - Method in class org.apache.commons.latka.validators.BaseValidator
 
FALSE_MESSAGE - Static variable in class org.apache.commons.latka.validators.XPathValidator
 
FALSE_MESSAGE - Static variable in class org.apache.commons.latka.validators.RegexpValidator
 
findVariables(Suite) - Method in class org.apache.commons.latka.xml.XMLPreprocessor
Given an XML suite, find the names of all variables that must be set in the LatkaProperties.
FindVariablesHandler - class org.apache.commons.latka.xml.FindVariablesHandler.
This handler is used by the XMLPreprocessor.getVariablesFromEntities(InputSource) method to read the external entities of an XML suite and find any variables referenced there.
FindVariablesHandler() - Constructor for class org.apache.commons.latka.xml.FindVariablesHandler
 
followRedirects() - Method in interface org.apache.commons.latka.http.Request
Whether or not this request will instruct HttpClient to follow local redirects automatically.
followRedirects() - Method in class org.apache.commons.latka.http.RequestImpl
 

G

generateSession(Attributes) - Method in class org.apache.commons.latka.xml.SessionHandler
Checks the session_id and returns a cached SessionImpl if the id has been used previously
getByteLength() - Method in interface org.apache.commons.latka.http.Response
Returns the length of the Response stream (as bytes), or -1 if no stream is available
getByteLength() - Method in class org.apache.commons.latka.http.ResponseImpl
 
getCookieValue(String) - Method in interface org.apache.commons.latka.http.Session
Returns the value of cookie name.
getCookieValue(String) - Method in class org.apache.commons.latka.http.SessionImpl
Returns the value of cookie name.
getDocument() - Method in class org.apache.commons.latka.XMLReporter
Returns the XML Document produced by this listener
getDocumentAsString() - Method in class org.apache.commons.latka.XMLReporter
Returns the test report converted from JDOM to a text string.
getError() - Method in class org.apache.commons.latka.event.RequestErrorEvent
provides access to the Throwable representing the request error
getException() - Method in class org.apache.commons.latka.LatkaException
Get a wrapped exception
getFailedResponses() - Method in class org.apache.commons.latka.AbstractReporter
 
getFailedResponses() - Method in interface org.apache.commons.latka.event.LatkaEventInfo
Returns a List of all responses that failed validation.
getHeader(String) - Method in interface org.apache.commons.latka.http.Response
Check a response header.
getHeader(String) - Method in class org.apache.commons.latka.http.ResponseImpl
 
getHeaders() - Method in interface org.apache.commons.latka.http.RequestHeaders
Returns a list of all the headers for the request.
getHeaders() - Method in interface org.apache.commons.latka.http.Request
Get the headers for the request, so that they can be copied to another request if necessary.
getHeaders() - Method in class org.apache.commons.latka.http.RequestImpl
 
getHeaders() - Method in class org.apache.commons.latka.http.RequestHeadersImpl
 
getHttpMethod() - Method in class org.apache.commons.latka.http.RequestImpl
Returns a constant representing the http method (get, post, etc.) being used by this request.
getLabel() - Method in class org.apache.commons.latka.ValidationException
User's description of the test/assertion
getLabel() - Method in class org.apache.commons.latka.validators.BaseValidator
 
getLabel() - Method in interface org.apache.commons.latka.http.Request
Assigns a text label to this request.
getLabel() - Method in class org.apache.commons.latka.http.RequestImpl
 
getLocalVariables(Reader) - Method in class org.apache.commons.latka.xml.XMLPreprocessor
 
getLocalVariables(String) - Method in class org.apache.commons.latka.xml.XMLPreprocessor
Read the text and find the names of all variables that must be set in the LatkaProperties.
getMessage() - Method in class org.apache.commons.latka.ValidationException
 
getMethod() - Method in interface org.apache.commons.latka.http.Request
Return the constant representing the HTTP method to use in this request
getMethod() - Method in class org.apache.commons.latka.http.RequestImpl
 
getParameters() - Method in class org.apache.commons.latka.http.ParametersImpl
 
getParameters() - Method in interface org.apache.commons.latka.http.Parameters
Returns a list of all the parameters for the request.
getParameters() - Method in interface org.apache.commons.latka.http.Request
Get the parameters for the request, so that they can be copied to another request if necessary.
getParameters() - Method in class org.apache.commons.latka.http.RequestImpl
 
getPassword() - Method in interface org.apache.commons.latka.http.Credentials
return the user's password
getPassword() - Method in class org.apache.commons.latka.http.CredentialsImpl
return the user's password
getProperties() - Static method in class org.apache.commons.latka.LatkaProperties
Returns the unique Properties object for the current Thread.
getReader() - Method in class org.apache.commons.latka.Suite
The reader containing the Latka XML suite
getReason() - Method in class org.apache.commons.latka.ValidationException
Why the test/assertion failed
getReferer() - Method in class org.apache.commons.latka.http.SessionImpl
The URL of the last request that was executed.
getRequest() - Method in class org.apache.commons.latka.event.BaseRequestEvent
 
getRequest() - Method in interface org.apache.commons.latka.event.RequestEvent
the request the event is about
getRequest() - Method in interface org.apache.commons.latka.http.Response
The request that generated this response
getRequest() - Method in class org.apache.commons.latka.http.ResponseImpl
 
getRequestTiming() - Method in interface org.apache.commons.latka.http.Request
The amount of time it took to execute the request in milliseconds, or -1 if the request has not been executed successfully
getRequestTiming() - Method in class org.apache.commons.latka.http.RequestImpl
 
getResource() - Method in interface org.apache.commons.latka.http.Response
 
getResource() - Method in class org.apache.commons.latka.http.ResponseImpl
 
getResponse() - Method in class org.apache.commons.latka.event.BaseRequestEvent
 
getResponse() - Method in interface org.apache.commons.latka.event.RequestEvent
the response associated with the event's request
getResponse() - Method in class org.apache.commons.latka.xml.ValidationHandler
 
getSession() - Method in class org.apache.commons.latka.event.BaseRequestEvent
 
getSession() - Method in interface org.apache.commons.latka.event.RequestEvent
the session the event took place within
getSession() - Method in interface org.apache.commons.latka.http.Request
Retrieve the session associated with this request.
getSession() - Method in class org.apache.commons.latka.http.RequestImpl
Retrieve the session associated with this request.
getStatusCode() - Method in interface org.apache.commons.latka.http.Response
 
getStatusCode() - Method in class org.apache.commons.latka.http.ResponseImpl
 
getStream() - Method in interface org.apache.commons.latka.http.Response
Get the actual bytes returned by the web server
getStream() - Method in class org.apache.commons.latka.http.ResponseImpl
 
getTagName() - Method in class org.apache.commons.latka.xml.ValidationHandler
 
getURL() - Method in class org.apache.commons.latka.Suite
URL containing the test suite.
getURL() - Method in interface org.apache.commons.latka.http.Request
Gets the URL that Latka will attempt to contact.
getURL() - Method in class org.apache.commons.latka.http.RequestImpl
 
getUserName() - Method in interface org.apache.commons.latka.http.Credentials
return the user's name
getUserName() - Method in class org.apache.commons.latka.http.CredentialsImpl
return the user's name
getValidationException() - Method in class org.apache.commons.latka.event.RequestFailedEvent
get the validation exception provided on construction
getVariables() - Method in class org.apache.commons.latka.xml.FindVariablesHandler
After the parse is complete, this method returns the unique variables referenced in the external entities.
getVariablesFromEntities(InputSource) - Method in class org.apache.commons.latka.xml.XMLPreprocessor
This method uses a special SAX handler to recurse through the entities of a Latka Suite, finding all the variables that are referenced.
GoldenFileValidator - class org.apache.commons.latka.validators.GoldenFileValidator.
Compare the response with a golden file.
GoldenFileValidator(File) - Constructor for class org.apache.commons.latka.validators.GoldenFileValidator
 
GoldenFileValidator(String, File) - Constructor for class org.apache.commons.latka.validators.GoldenFileValidator
 

H

handlerForClass(String) - Method in class org.apache.commons.latka.xml.ValidationReflectionHandler
 
HtmlPrettyPrintWriter - class org.apache.commons.latka.HtmlPrettyPrintWriter.
Provides more attractive HTML formatting for the runtime output of Latka.
HtmlPrettyPrintWriter(Writer) - Constructor for class org.apache.commons.latka.HtmlPrettyPrintWriter
 
HTTP_METHOD_GET - Static variable in interface org.apache.commons.latka.http.Request
An integer representing the HTTP GET method
HTTP_METHOD_HEAD - Static variable in interface org.apache.commons.latka.http.Request
An integer representing the HTTP POST method
HTTP_METHOD_POST - Static variable in interface org.apache.commons.latka.http.Request
An integer representing the HTTP POST method
HTTP_PORT - Static variable in class org.apache.commons.latka.http.RequestImpl
Standard HTTP Port
HTTPS_PORT - Static variable in class org.apache.commons.latka.http.RequestImpl
Standard HTTPS Port

I

identityTransform(Suite) - Method in class org.apache.commons.latka.xml.XMLPreprocessor
Given a Latka suite, resolve all the entites (bot _not_ the Latka variables), and return one flattened XML document.
init(XMLReader) - Method in class org.apache.commons.latka.util.xml.BasicDelegateHandler
Create a DelegateHandler that releases to the current ContentHandler of the specified XMLReader
init(XMLReader, ContentHandler) - Method in class org.apache.commons.latka.util.xml.BasicDelegateHandler
Create a DelegateHandler that releases to a specific ContentHandler
instance() - Static method in class org.apache.commons.latka.xml.XMLPreprocessor
Get an instance of this singleton class

J

JUnitEventReporter - class org.apache.commons.latka.junit.JUnitEventReporter.
A Latka reporter that takes the various latka events and adapts them into JUnit Tests.
JUnitEventReporter(TestResult) - Constructor for class org.apache.commons.latka.junit.JUnitEventReporter
Create a JUnitEventReporter, storing the JUnit Test results in the provided object
JUnitTestAdapter - class org.apache.commons.latka.junit.JUnitTestAdapter.
A JUnit Test which is created by wrapping a Latka Suite
JUnitTestAdapter(Suite, int) - Constructor for class org.apache.commons.latka.junit.JUnitTestAdapter
Create a Test from a Latka suite and a number of tests

L

Latka - class org.apache.commons.latka.Latka.
This is the primary class for executing Latka functional tests.
LATKA_USAGE - Static variable in class org.apache.commons.latka.Latka
 
Latka() - Constructor for class org.apache.commons.latka.Latka
 
LatkaEvent - interface org.apache.commons.latka.event.LatkaEvent.
 
LatkaEventInfo - interface org.apache.commons.latka.event.LatkaEventInfo.
An extension to LatkaEventListener that stores the success or failure of all requests.
LatkaEventListener - interface org.apache.commons.latka.event.LatkaEventListener.
Event listener used during the execution of Latka tests.
LatkaEventPublisher - class org.apache.commons.latka.event.LatkaEventPublisher.
 
LatkaEventPublisher() - Constructor for class org.apache.commons.latka.event.LatkaEventPublisher
 
LatkaException - exception org.apache.commons.latka.LatkaException.
Latka throws this exception to the client whenever a problem occurs that is not covered by one of the standard JDK exceptions (validation errors, SAX problems, etc.)
LatkaException(Exception) - Constructor for class org.apache.commons.latka.LatkaException
Wrapped exception.
LatkaException(String) - Constructor for class org.apache.commons.latka.LatkaException
Standard exception
LatkaHandler - class org.apache.commons.latka.xml.LatkaHandler.
 
LatkaHandler(XMLReader) - Constructor for class org.apache.commons.latka.xml.LatkaHandler
 
LatkaProperties - class org.apache.commons.latka.LatkaProperties.
Stores properties for Latka.
LatkaProperties() - Constructor for class org.apache.commons.latka.LatkaProperties
 
LatkaVariableEntityResolver - class org.apache.commons.latka.xml.LatkaVariableEntityResolver.
 
LatkaVariableEntityResolver() - Constructor for class org.apache.commons.latka.xml.LatkaVariableEntityResolver
 
loadDefaultProps() - Static method in class org.apache.commons.latka.LatkaProperties
Loads the default Properties from the first "latka.properties" file located encountered in the classpath.
loadPropsFromClasspath(String) - Static method in class org.apache.commons.latka.LatkaProperties
 
loadUserProps() - Static method in class org.apache.commons.latka.LatkaProperties
 
log - Static variable in class org.apache.commons.latka.xml.RequestHeaderHandler
 
log - Static variable in class org.apache.commons.latka.xml.ValidationReflectionHandler
 
log - Static variable in class org.apache.commons.latka.util.xml.BasicDelegateHandler
 
log(String) - Method in class org.apache.commons.latka.validators.GoldenFileValidator
 

M

main(String[]) - Static method in class org.apache.commons.latka.Latka
Execute a single test suite via the command line interface.
MAX_MESSAGE - Static variable in class org.apache.commons.latka.validators.ByteLengthValidator
 
MaxRequestTimeHandler - class org.apache.commons.latka.validators.MaxRequestTimeHandler.
 
MaxRequestTimeHandler() - Constructor for class org.apache.commons.latka.validators.MaxRequestTimeHandler
 
MaxRequestTimeValidator - class org.apache.commons.latka.validators.MaxRequestTimeValidator.
 
MaxRequestTimeValidator() - Constructor for class org.apache.commons.latka.validators.MaxRequestTimeValidator
 
MaxRequestTimeValidator(String) - Constructor for class org.apache.commons.latka.validators.MaxRequestTimeValidator
 
MaxRequestTimeValidator(String, int) - Constructor for class org.apache.commons.latka.validators.MaxRequestTimeValidator
 
MESSAGE - Static variable in class org.apache.commons.latka.validators.StatusCodeValidator
 
MESSAGE - Static variable in class org.apache.commons.latka.validators.MaxRequestTimeValidator
 
MESSAGE_INVALID_TEST - Static variable in class org.apache.commons.latka.validators.CookieValidator
 
MESSAGE_NONEXISTENT_COOKIE - Static variable in class org.apache.commons.latka.validators.CookieValidator
 
MESSAGE_UNEQUAL_VALUES - Static variable in class org.apache.commons.latka.validators.CookieValidator
 
MIN_MESSAGE - Static variable in class org.apache.commons.latka.validators.ByteLengthValidator
 

O

openConnection() - Method in class org.apache.commons.latka.http.RequestImpl
opens an HTTP connection.
org.apache.commons.latka - package org.apache.commons.latka
 
org.apache.commons.latka.event - package org.apache.commons.latka.event
 
org.apache.commons.latka.http - package org.apache.commons.latka.http
 
org.apache.commons.latka.junit - package org.apache.commons.latka.junit
 
org.apache.commons.latka.util - package org.apache.commons.latka.util
 
org.apache.commons.latka.util.xml - package org.apache.commons.latka.util.xml
 
org.apache.commons.latka.validators - package org.apache.commons.latka.validators
 
org.apache.commons.latka.xml - package org.apache.commons.latka.xml
 

P

ParameterHandler - class org.apache.commons.latka.xml.ParameterHandler.
 
ParameterHandler(XMLReader, Request) - Constructor for class org.apache.commons.latka.xml.ParameterHandler
 
Parameters - interface org.apache.commons.latka.http.Parameters.
 
ParametersImpl - class org.apache.commons.latka.http.ParametersImpl.
 
ParametersImpl() - Constructor for class org.apache.commons.latka.http.ParametersImpl
Protected access, parameters can only be copied from request to request.
parse(InputSource) - Static method in class org.apache.commons.latka.junit.JUnitTestAdapter
Parse the Latka XML document to count the requests
preprocessXml(Suite) - Method in class org.apache.commons.latka.xml.XMLPreprocessor
Processes a Suite, preparing it for the final XML processing.
print(String) - Method in class org.apache.commons.latka.HtmlPrettyPrintWriter
 
printFailure(Request, Exception) - Method in class org.apache.commons.latka.xml.RequestHandler
 
printWrappedExceptions(LatkaException) - Static method in class org.apache.commons.latka.LatkaException
Print a wrapped exception to stdout and, in the case of SAXExceptions, an additional wrapped exception.

R

recordSuccess(RequestEvent, boolean) - Method in class org.apache.commons.latka.AbstractReporter
Record the "success status" of a request event.
RegexpHandler - class org.apache.commons.latka.validators.RegexpHandler.
 
RegexpHandler() - Constructor for class org.apache.commons.latka.validators.RegexpHandler
 
RegexpValidator - class org.apache.commons.latka.validators.RegexpValidator.
 
RegexpValidator() - Constructor for class org.apache.commons.latka.validators.RegexpValidator
 
RegexpValidator(String) - Constructor for class org.apache.commons.latka.validators.RegexpValidator
 
RegexpValidator(String, String, boolean, boolean) - Constructor for class org.apache.commons.latka.validators.RegexpValidator
 
release() - Method in class org.apache.commons.latka.util.xml.BasicDelegateHandler
 
release() - Method in interface org.apache.commons.latka.util.xml.DelegateHandler
 
release(String, String, String) - Method in class org.apache.commons.latka.util.xml.BasicDelegateHandler
 
release(String, String, String, Attributes) - Method in class org.apache.commons.latka.util.xml.BasicDelegateHandler
 
Request - interface org.apache.commons.latka.http.Request.
A Latka Request represents a request from an HTTP server.
requestError(RequestEvent) - Method in class org.apache.commons.latka.XMLReporter
 
requestError(RequestEvent) - Method in class org.apache.commons.latka.AbstractReporter
Invoked if a request error occurs.
requestError(RequestEvent) - Method in class org.apache.commons.latka.SimpleReporter
 
requestError(RequestEvent) - Method in class org.apache.commons.latka.event.LatkaEventPublisher
 
requestError(RequestEvent) - Method in interface org.apache.commons.latka.event.LatkaEventListener
Invoked if a request error occurs.
requestError(RequestEvent) - Method in class org.apache.commons.latka.junit.JUnitEventReporter
Process a Latka request error
RequestErrorEvent - class org.apache.commons.latka.event.RequestErrorEvent.
An event that represents an error that occurred processing a request
RequestErrorEvent(Request, Response, Throwable) - Constructor for class org.apache.commons.latka.event.RequestErrorEvent
Create an event from the request, response and some Throwable
RequestEvent - interface org.apache.commons.latka.event.RequestEvent.
The basic set of methods available on all Latka events
requestFailed(RequestEvent) - Method in class org.apache.commons.latka.XMLReporter
 
requestFailed(RequestEvent) - Method in class org.apache.commons.latka.AbstractReporter
Invoked if the request failed.
requestFailed(RequestEvent) - Method in class org.apache.commons.latka.SimpleReporter
 
requestFailed(RequestEvent) - Method in class org.apache.commons.latka.event.LatkaEventPublisher
 
requestFailed(RequestEvent) - Method in interface org.apache.commons.latka.event.LatkaEventListener
Invoked if the request failed.
requestFailed(RequestEvent) - Method in class org.apache.commons.latka.junit.JUnitEventReporter
Process a Latka request failure
RequestFailedEvent - class org.apache.commons.latka.event.RequestFailedEvent.
An event for when a request fails
RequestFailedEvent(Request, Response, ValidationException) - Constructor for class org.apache.commons.latka.event.RequestFailedEvent
Create a new request failed event
RequestHandler - class org.apache.commons.latka.xml.RequestHandler.
 
RequestHandler(XMLReader, Session, LatkaEventInfo) - Constructor for class org.apache.commons.latka.xml.RequestHandler
 
RequestHandler(XMLReader, Session, LatkaEventInfo, boolean) - Constructor for class org.apache.commons.latka.xml.RequestHandler
 
RequestHeaderHandler - class org.apache.commons.latka.xml.RequestHeaderHandler.
 
RequestHeaderHandler(XMLReader, Request) - Constructor for class org.apache.commons.latka.xml.RequestHeaderHandler
 
RequestHeaders - interface org.apache.commons.latka.http.RequestHeaders.
 
RequestHeadersImpl - class org.apache.commons.latka.http.RequestHeadersImpl.
 
RequestHeadersImpl() - Constructor for class org.apache.commons.latka.http.RequestHeadersImpl
Protected access, headers can only be copied from request to request.
RequestImpl - class org.apache.commons.latka.http.RequestImpl.
An implementation of a Latka Request interface based on the Jakarta Commons HttpClient package.
RequestImpl(String, URL, int, HttpState, SessionImpl, boolean) - Constructor for class org.apache.commons.latka.http.RequestImpl
Create a RequestImpl
RequestImpl(URL, int, HttpState, SessionImpl) - Constructor for class org.apache.commons.latka.http.RequestImpl
 
requestSkipped(RequestEvent) - Method in class org.apache.commons.latka.XMLReporter
 
requestSkipped(RequestEvent) - Method in class org.apache.commons.latka.AbstractReporter
A skipped request.
requestSkipped(RequestEvent) - Method in class org.apache.commons.latka.SimpleReporter
 
requestSkipped(RequestEvent) - Method in class org.apache.commons.latka.event.LatkaEventPublisher
 
requestSkipped(RequestEvent) - Method in interface org.apache.commons.latka.event.LatkaEventListener
A skipped request.
requestSkipped(RequestEvent) - Method in class org.apache.commons.latka.junit.JUnitEventReporter
Process a Latka event being skipped
RequestSkippedEvent - class org.apache.commons.latka.event.RequestSkippedEvent.
An event used when Latka skips a request
RequestSkippedEvent(Request, Response) - Constructor for class org.apache.commons.latka.event.RequestSkippedEvent
Create a RequestSkippedEvent with the provided request and response
requestSucceeded(RequestEvent) - Method in class org.apache.commons.latka.XMLReporter
 
requestSucceeded(RequestEvent) - Method in class org.apache.commons.latka.AbstractReporter
Invoked if the request succeeds.
requestSucceeded(RequestEvent) - Method in class org.apache.commons.latka.SimpleReporter
 
requestSucceeded(RequestEvent) - Method in class org.apache.commons.latka.event.LatkaEventPublisher
 
requestSucceeded(RequestEvent) - Method in interface org.apache.commons.latka.event.LatkaEventListener
Invoked if the request succeeds
requestSucceeded(RequestEvent) - Method in class org.apache.commons.latka.junit.JUnitEventReporter
Process a Latka request success event
RequestSucceededEvent - class org.apache.commons.latka.event.RequestSucceededEvent.
An event generated by Latka when a request completes successfully
RequestSucceededEvent(Request, Response) - Constructor for class org.apache.commons.latka.event.RequestSucceededEvent
Create the event for the given request and response
resetProperties() - Static method in class org.apache.commons.latka.LatkaProperties
Resets the Latka properties to their initial value (getProperties() will still return the same Object).
resolve(String, String) - Method in class org.apache.commons.latka.xml.LatkaVariableEntityResolver
JAXP equivalent of LatkaVariableEntityResolver.resolveEntity(String,String).
resolveEntity(String, String) - Method in class org.apache.commons.latka.xml.FindVariablesHandler
For each entity, find all the variables and assign them to the Set.
resolveEntity(String, String) - Method in class org.apache.commons.latka.xml.LatkaVariableEntityResolver
Preprocesses the URIs, resolving any Latka variables before returning a modified InputSource.
resolveVariables(String) - Method in class org.apache.commons.latka.xml.XMLPreprocessor
Given an XML suite, find the corresponding values of all variables and write them into the stream.
resolveVariables(URL) - Method in class org.apache.commons.latka.xml.XMLPreprocessor
 
Response - interface org.apache.commons.latka.http.Response.
A Latka Response represents a response from an HTTP server.
ResponseImpl - class org.apache.commons.latka.http.ResponseImpl.
An implementation of a Latka Response interface based on the Jakarta Commons HttpClient package.
run(TestResult) - Method in class org.apache.commons.latka.junit.JUnitTestAdapter
Run the test, adding results to the provided TestResult
runCommandLine(String[]) - Method in class org.apache.commons.latka.Latka
Processes the command line arguments, executes a single test.
runTests(Suite, LatkaEventInfo) - Method in class org.apache.commons.latka.Latka
Execute a single Latka test suite.

S

Session - interface org.apache.commons.latka.http.Session.
A Latka Session is a container that manages state information over 1+ HTTP request/response pairs over 1+ HTTP servers.
SessionHandler - class org.apache.commons.latka.xml.SessionHandler.
 
SessionHandler(XMLReader, LatkaEventInfo, Map) - Constructor for class org.apache.commons.latka.xml.SessionHandler
 
SessionImpl - class org.apache.commons.latka.http.SessionImpl.
An implementation of a Latka Session interface based on the Jakarta Commons HttpClient package.
SessionImpl() - Constructor for class org.apache.commons.latka.http.SessionImpl
 
setCondition(boolean) - Method in class org.apache.commons.latka.validators.XPathValidator
 
setCondition(boolean) - Method in class org.apache.commons.latka.validators.RegexpValidator
 
setCookieName(String) - Method in class org.apache.commons.latka.validators.CookieValidator
The cookie name must be set for this Validator to function properly.
setCookieValue(String) - Method in class org.apache.commons.latka.validators.CookieValidator
If cookie value is set, this Validator tests for cookie value equivalency, in addition to cookie existence
setCredentials(Credentials) - Method in interface org.apache.commons.latka.http.Request
Sets the basic authentication credentials for this request, if any.
setCredentials(Credentials) - Method in class org.apache.commons.latka.http.RequestImpl
 
setHeaders(RequestHeaders) - Method in interface org.apache.commons.latka.http.Request
Set all the headers for the request.
setHeaders(RequestHeaders) - Method in class org.apache.commons.latka.http.RequestImpl
 
setIgnoreCase(boolean) - Method in class org.apache.commons.latka.validators.RegexpValidator
 
setIgnoreWhitespace(boolean) - Method in class org.apache.commons.latka.validators.GoldenFileValidator
 
setLabel(String) - Method in class org.apache.commons.latka.validators.BaseValidator
 
setMaxLength(int) - Method in class org.apache.commons.latka.validators.ByteLengthValidator
 
setMaxMillis(int) - Method in class org.apache.commons.latka.validators.MaxRequestTimeValidator
 
setMinLength(int) - Method in class org.apache.commons.latka.validators.ByteLengthValidator
 
setParameters(Parameters) - Method in interface org.apache.commons.latka.http.Request
Set all the parameters for the request.
setParameters(Parameters) - Method in class org.apache.commons.latka.http.RequestImpl
 
setPattern(String) - Method in class org.apache.commons.latka.validators.RegexpValidator
 
setPrintWriter(PrintWriter) - Method in class org.apache.commons.latka.XMLReporter
During the execution, any diagnostic ouput will be sent to the stream designated here.
setReader(Reader) - Method in class org.apache.commons.latka.Suite
Sets a Reader for the XML.
setReferer(URL) - Method in class org.apache.commons.latka.http.SessionImpl
Called inside the request.execute() method, setting the referer for the next request.
setReportStylesheet(URL) - Method in class org.apache.commons.latka.Latka
 
setSelect(String) - Method in class org.apache.commons.latka.validators.XPathValidator
 
setStatusCode(int) - Method in class org.apache.commons.latka.validators.StatusCodeValidator
 
setURL(URL) - Method in class org.apache.commons.latka.Suite
Set the URL of the test suite.
setValidating(boolean) - Method in class org.apache.commons.latka.Latka
Set whether or not Latka will validate the XML in each test.
setValue(String) - Method in class org.apache.commons.latka.validators.XPathValidator
 
SimpleReporter - class org.apache.commons.latka.SimpleReporter.
Needs docs.
SimpleReporter() - Constructor for class org.apache.commons.latka.SimpleReporter
 
startElement(String, String, String, Attributes) - Method in class org.apache.commons.latka.validators.ByteLengthHandler
 
startElement(String, String, String, Attributes) - Method in class org.apache.commons.latka.validators.StatusCodeHandler
 
startElement(String, String, String, Attributes) - Method in class org.apache.commons.latka.validators.CookieHandler
 
startElement(String, String, String, Attributes) - Method in class org.apache.commons.latka.validators.RegexpHandler
 
startElement(String, String, String, Attributes) - Method in class org.apache.commons.latka.validators.XPathHandler
 
startElement(String, String, String, Attributes) - Method in class org.apache.commons.latka.validators.MaxRequestTimeHandler
 
startElement(String, String, String, Attributes) - Method in class org.apache.commons.latka.xml.RequestHandler
 
startElement(String, String, String, Attributes) - Method in class org.apache.commons.latka.xml.SessionHandler
 
startElement(String, String, String, Attributes) - Method in class org.apache.commons.latka.xml.RequestHeaderHandler
 
startElement(String, String, String, Attributes) - Method in class org.apache.commons.latka.xml.ParameterHandler
 
startElement(String, String, String, Attributes) - Method in class org.apache.commons.latka.xml.SuiteHandler
 
startElement(String, String, String, Attributes) - Method in class org.apache.commons.latka.xml.ValidationReflectionHandler
 
StatusCodeHandler - class org.apache.commons.latka.validators.StatusCodeHandler.
 
StatusCodeHandler() - Constructor for class org.apache.commons.latka.validators.StatusCodeHandler
 
StatusCodeValidator - class org.apache.commons.latka.validators.StatusCodeValidator.
 
StatusCodeValidator() - Constructor for class org.apache.commons.latka.validators.StatusCodeValidator
 
StatusCodeValidator(int) - Constructor for class org.apache.commons.latka.validators.StatusCodeValidator
 
StatusCodeValidator(String) - Constructor for class org.apache.commons.latka.validators.StatusCodeValidator
 
StatusCodeValidator(String, int) - Constructor for class org.apache.commons.latka.validators.StatusCodeValidator
 
stringFromReader(Reader) - Method in class org.apache.commons.latka.xml.XMLPreprocessor
Place the contents of a Reader into a String.
stripXmlComments(String) - Method in class org.apache.commons.latka.xml.XMLPreprocessor
Remove any comments from the XmlString
Suite - class org.apache.commons.latka.Suite.
References a Latka XML suite, stored either inside a Reader or at a file URI.
Suite(Reader) - Constructor for class org.apache.commons.latka.Suite
Create a test suite from an XML document located in the designated Stream.
Suite(URL) - Constructor for class org.apache.commons.latka.Suite
Create a test suite from an XML document located at the designated URL.
suiteCompleted(SuiteEvent) - Method in class org.apache.commons.latka.XMLReporter
 
suiteCompleted(SuiteEvent) - Method in class org.apache.commons.latka.SimpleReporter
 
suiteCompleted(SuiteEvent) - Method in class org.apache.commons.latka.event.LatkaEventPublisher
 
suiteCompleted(SuiteEvent) - Method in interface org.apache.commons.latka.event.LatkaEventListener
Invoke when all requests completed.
suiteCompleted(SuiteEvent) - Method in class org.apache.commons.latka.junit.JUnitEventReporter
Process a Latka suite completion event
SuiteCompletedEvent - class org.apache.commons.latka.event.SuiteCompletedEvent.
An event Latka fires when a suite has completed
SuiteCompletedEvent() - Constructor for class org.apache.commons.latka.event.SuiteCompletedEvent
Create the event
SuiteEvent - interface org.apache.commons.latka.event.SuiteEvent.
An interface to mark classes as being SuiteEvents
SuiteHandler - class org.apache.commons.latka.xml.SuiteHandler.
 
SuiteHandler(XMLReader, LatkaEventInfo) - Constructor for class org.apache.commons.latka.xml.SuiteHandler
 

T

tagNameToClass(String) - Method in class org.apache.commons.latka.xml.ValidationReflectionHandler
 
transformXML(String) - Method in class org.apache.commons.latka.Latka
Transform the XML generated by the XMLReporter using the default stylesheet.
TRUE_MESSAGE - Static variable in class org.apache.commons.latka.validators.GoldenFileValidator
 
TRUE_MESSAGE - Static variable in class org.apache.commons.latka.validators.XPathValidator
 
TRUE_MESSAGE - Static variable in class org.apache.commons.latka.validators.RegexpValidator
 

V

validate(Response) - Method in interface org.apache.commons.latka.Validator
Run custom validation.
validate(Response) - Method in class org.apache.commons.latka.validators.ByteLengthValidator
 
validate(Response) - Method in class org.apache.commons.latka.validators.GoldenFileValidator
 
validate(Response) - Method in class org.apache.commons.latka.validators.StatusCodeValidator
 
validate(Response) - Method in class org.apache.commons.latka.validators.XPathValidator
 
validate(Response) - Method in class org.apache.commons.latka.validators.BaseValidator
 
validate(Response) - Method in class org.apache.commons.latka.validators.RegexpValidator
 
validate(Response) - Method in class org.apache.commons.latka.validators.MaxRequestTimeValidator
 
validate(Response) - Method in class org.apache.commons.latka.validators.CookieValidator
 
validate(Validator) - Method in class org.apache.commons.latka.xml.ValidationHandler
 
ValidationException - exception org.apache.commons.latka.ValidationException.
Needs docs
ValidationException() - Constructor for class org.apache.commons.latka.ValidationException
 
ValidationException(String, String) - Constructor for class org.apache.commons.latka.ValidationException
 
ValidationHandler - class org.apache.commons.latka.xml.ValidationHandler.
 
ValidationHandler() - Constructor for class org.apache.commons.latka.xml.ValidationHandler
 
ValidationReflectionHandler - class org.apache.commons.latka.xml.ValidationReflectionHandler.
 
ValidationReflectionHandler(XMLReader, Response, LatkaEventInfo) - Constructor for class org.apache.commons.latka.xml.ValidationReflectionHandler
 
Validator - interface org.apache.commons.latka.Validator.
This is the standard interface for custom validation of an HTTP Response in Latka.

W

warning(SAXParseException) - Method in class org.apache.commons.latka.xml.LatkaHandler
 
warning(SAXParseException) - Method in class org.apache.commons.latka.xml.ValidationHandler
 

X

XMLPreprocessor - class org.apache.commons.latka.xml.XMLPreprocessor.
Methods for massaging the Latka XML.
XMLReporter - class org.apache.commons.latka.XMLReporter.
This LatkaEventListener will generate an XML report of all tests run during an Latka XML suite.
XMLReporter() - Constructor for class org.apache.commons.latka.XMLReporter
 
XPathHandler - class org.apache.commons.latka.validators.XPathHandler.
Handler for the XPathValidator class.
XPathHandler() - Constructor for class org.apache.commons.latka.validators.XPathHandler
 
XPathValidator - class org.apache.commons.latka.validators.XPathValidator.
An XPath validator.
XPathValidator() - Constructor for class org.apache.commons.latka.validators.XPathValidator
 
XPathValidator(String) - Constructor for class org.apache.commons.latka.validators.XPathValidator
 
XPathValidator(String, String, boolean, String) - Constructor for class org.apache.commons.latka.validators.XPathValidator
 

_

_charsWritten - Variable in class org.apache.commons.latka.HtmlPrettyPrintWriter
 
_cond - Variable in class org.apache.commons.latka.validators.XPathValidator
 
_cond - Variable in class org.apache.commons.latka.validators.RegexpValidator
 
_cookieName - Variable in class org.apache.commons.latka.validators.CookieValidator
 
_cookieValue - Variable in class org.apache.commons.latka.validators.CookieValidator
 
_credentials - Variable in class org.apache.commons.latka.xml.RequestHandler
 
_defaultHost - Variable in class org.apache.commons.latka.xml.RequestHandler
 
_defaultPort - Variable in class org.apache.commons.latka.xml.RequestHandler
 
_doc - Variable in class org.apache.commons.latka.XMLReporter
 
_failedResponses - Variable in class org.apache.commons.latka.AbstractReporter
Holds the failed responses received by this object.
_followRedirects - Variable in class org.apache.commons.latka.http.RequestImpl
 
_goldFile - Variable in class org.apache.commons.latka.validators.GoldenFileValidator
 
_handler - Variable in class org.apache.commons.latka.util.xml.BasicDelegateHandler
 
_host - Variable in class org.apache.commons.latka.http.RequestImpl
 
_httpClient - Variable in class org.apache.commons.latka.http.RequestImpl
 
_httpMethod - Variable in class org.apache.commons.latka.http.RequestImpl
 
_httpMethod - Variable in class org.apache.commons.latka.http.ResponseImpl
 
_ignoreCase - Variable in class org.apache.commons.latka.validators.RegexpValidator
 
_ignoreWhitespace - Variable in class org.apache.commons.latka.validators.GoldenFileValidator
 
_initProps - Static variable in class org.apache.commons.latka.LatkaProperties
 
_isValidating - Variable in class org.apache.commons.latka.Latka
 
_label - Variable in class org.apache.commons.latka.validators.BaseValidator
 
_label - Variable in class org.apache.commons.latka.http.RequestImpl
 
_lastTagName - Variable in class org.apache.commons.latka.xml.ParameterHandler
 
_latkaPrefix - Static variable in class org.apache.commons.latka.xml.ValidationReflectionHandler
 
_list - Variable in class org.apache.commons.latka.event.LatkaEventPublisher
 
_list - Variable in class org.apache.commons.latka.http.ParametersImpl
 
_list - Variable in class org.apache.commons.latka.http.RequestHeadersImpl
 
_listener - Variable in class org.apache.commons.latka.xml.RequestHandler
 
_listener - Variable in class org.apache.commons.latka.xml.SessionHandler
 
_listener - Variable in class org.apache.commons.latka.xml.SuiteHandler
 
_listener - Variable in class org.apache.commons.latka.xml.ValidationReflectionHandler
 
_loader - Variable in class org.apache.commons.latka.xml.ValidationReflectionHandler
 
_log - Static variable in class org.apache.commons.latka.LatkaProperties
 
_log - Static variable in class org.apache.commons.latka.AbstractReporter
The log4J category used for processing log requests.
_log - Static variable in class org.apache.commons.latka.Latka
 
_log - Variable in class org.apache.commons.latka.validators.BaseValidator
 
_log - Static variable in class org.apache.commons.latka.xml.RequestHandler
 
_log - Static variable in class org.apache.commons.latka.xml.XMLPreprocessor
 
_log - Static variable in class org.apache.commons.latka.xml.SessionHandler
 
_log - Static variable in class org.apache.commons.latka.xml.LatkaVariableEntityResolver
 
_log - Static variable in class org.apache.commons.latka.xml.SuiteHandler
 
_log - Static variable in class org.apache.commons.latka.http.RequestImpl
 
_logXML(String) - Method in class org.apache.commons.latka.Latka
Use this method to _log XML generated by the XMLReporter class.
_matchLog - Variable in class org.apache.commons.latka.validators.GoldenFileValidator
 
_maxLength - Variable in class org.apache.commons.latka.validators.ByteLengthValidator
 
_method - Variable in class org.apache.commons.latka.http.RequestImpl
 
_millis - Variable in class org.apache.commons.latka.validators.MaxRequestTimeValidator
 
_minLength - Variable in class org.apache.commons.latka.validators.ByteLengthValidator
 
_parameters - Variable in class org.apache.commons.latka.http.RequestImpl
 
_paramName - Variable in class org.apache.commons.latka.xml.ParameterHandler
 
_paramValue - Variable in class org.apache.commons.latka.xml.ParameterHandler
 
_password - Variable in class org.apache.commons.latka.http.CredentialsImpl
holds password
_pattern - Variable in class org.apache.commons.latka.validators.RegexpValidator
 
_port - Variable in class org.apache.commons.latka.http.RequestImpl
 
_printWriter - Variable in class org.apache.commons.latka.XMLReporter
 
_processor - Static variable in class org.apache.commons.latka.xml.XMLPreprocessor
 
_props - Variable in class org.apache.commons.latka.Latka
 
_propsThreadLocal - Static variable in class org.apache.commons.latka.LatkaProperties
This ThreadLocal is automatically instantiated per thread with a Properties object containing the default properties.
_query - Variable in class org.apache.commons.latka.http.RequestImpl
 
_reader - Variable in class org.apache.commons.latka.Suite
 
_reader - Variable in class org.apache.commons.latka.util.xml.BasicDelegateHandler
 
_reportStylesheetUrl - Variable in class org.apache.commons.latka.Latka
 
_request - Variable in class org.apache.commons.latka.xml.RequestHandler
 
_request - Variable in class org.apache.commons.latka.xml.RequestHeaderHandler
 
_request - Variable in class org.apache.commons.latka.xml.ParameterHandler
 
_request - Variable in class org.apache.commons.latka.xml.ValidationReflectionHandler
 
_request - Variable in class org.apache.commons.latka.http.ResponseImpl
 
_requestExecuted - Variable in class org.apache.commons.latka.xml.RequestHandler
 
_requestHeaders - Variable in class org.apache.commons.latka.http.RequestImpl
 
_requestSucceeded - Variable in class org.apache.commons.latka.AbstractReporter
maps the request to it's success or failure as a Boolean
_requestTiming - Variable in class org.apache.commons.latka.http.RequestImpl
 
_response - Variable in class org.apache.commons.latka.xml.RequestHandler
 
_response - Variable in class org.apache.commons.latka.xml.ValidationReflectionHandler
 
_rootElement - Variable in class org.apache.commons.latka.XMLReporter
 
_select - Variable in class org.apache.commons.latka.validators.XPathValidator
 
_session - Variable in class org.apache.commons.latka.xml.RequestHandler
 
_session - Variable in class org.apache.commons.latka.xml.SessionHandler
 
_session - Variable in class org.apache.commons.latka.http.RequestImpl
 
_sessionCache - Variable in class org.apache.commons.latka.xml.SessionHandler
 
_sessionCache - Variable in class org.apache.commons.latka.xml.SuiteHandler
 
_sessionSucceeded - Variable in class org.apache.commons.latka.AbstractReporter
maps the session to it's success or failure as a Boolean
_set - Variable in class org.apache.commons.latka.xml.FindVariablesHandler
 
_skipped - Variable in class org.apache.commons.latka.xml.RequestHandler
 
_state - Variable in class org.apache.commons.latka.http.SessionImpl
 
_statusCode - Variable in class org.apache.commons.latka.validators.StatusCodeValidator
 
_suiteSucceeded - Variable in class org.apache.commons.latka.AbstractReporter
Holds whether or not the entire suite has succeeded This is set to false when any request fails.
_tagName - Variable in class org.apache.commons.latka.xml.ParameterHandler
 
_targetURL - Variable in class org.apache.commons.latka.http.RequestImpl
 
_url - Variable in class org.apache.commons.latka.Suite
 
_urls - Variable in class org.apache.commons.latka.http.SessionImpl
tracks URLs treated by this session Session will automatically set the referer header for a request to the URL of the previous request
_userName - Variable in class org.apache.commons.latka.http.CredentialsImpl
holds user name
_value - Variable in class org.apache.commons.latka.validators.XPathValidator
 
_variableExpr - Static variable in class org.apache.commons.latka.xml.XMLPreprocessor
 
_visitedURLs - Variable in class org.apache.commons.latka.xml.RequestHandler
 
_wrappedException - Variable in class org.apache.commons.latka.LatkaException
 

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

Copyright © 2001 Apache Software Foundation. Documenation generated January 26 2002. 1.1 jakarta-commons/latka/webpages/api/constant-values.html Index: constant-values.html =================================================================== Constant Field Values

Constant Field Values


Contents
org.apache.*

org.apache.commons.latka.http.RequestImpl
public static final int HTTP_PORT 80
public static final int HTTPS_PORT 443

org.apache.commons.latka.validators.CookieValidator
protected static final java.lang.String MESSAGE_INVALID_TEST "INVALID TEST: COOKIE NAME NOT SET"
protected static final java.lang.String MESSAGE_NONEXISTENT_COOKIE "COOKIE NOT IN SESSION"
protected static final java.lang.String MESSAGE_UNEQUAL_VALUES "COOKIE VALUES UNEQUAL:"

org.apache.commons.latka.validators.RegexpValidator
protected static final java.lang.String FALSE_MESSAGE "DID NOT EXPECT TO MATCH PATTERN: "
protected static final java.lang.String TRUE_MESSAGE "EXPECTED TO MATCH PATTERN: "

org.apache.commons.latka.validators.XPathValidator
protected static final java.lang.String FALSE_MESSAGE "DID NOT EXPECT TO MATCH XPATH: "
protected static final java.lang.String TRUE_MESSAGE "EXPECTED TO MATCH XPATH: "

org.apache.commons.latka.xml.XMLPreprocessor
protected static final java.lang.String _variableExpr "\\$\\{(.*?)\\}"



Copyright © 2001 Apache Software Foundation. Documenation generated January 26 2002. 1.1 jakarta-commons/latka/webpages/api/allclasses-noframe.html Index: allclasses-noframe.html =================================================================== All Classes All Classes
AbstractReporter
BaseRequestEvent
BaseValidator
BasicDelegateHandler
ByteLengthHandler
ByteLengthValidator
CookieHandler
CookieValidator
Credentials
CredentialsImpl
DelegateHandler
DelegateHandlerImpl
FindVariablesHandler
GoldenFileValidator
HtmlPrettyPrintWriter
JUnitEventReporter
JUnitTestAdapter
Latka
LatkaEvent
LatkaEventInfo
LatkaEventListener
LatkaEventPublisher
LatkaException
LatkaHandler
LatkaProperties
LatkaVariableEntityResolver
MaxRequestTimeHandler
MaxRequestTimeValidator
ParameterHandler
Parameters
ParametersImpl
RegexpHandler
RegexpValidator
Request
RequestErrorEvent
RequestEvent
RequestFailedEvent
RequestHandler
RequestHeaderHandler
RequestHeaders
RequestHeadersImpl
RequestImpl
RequestSkippedEvent
RequestSucceededEvent
Response
ResponseImpl
Session
SessionHandler
SessionImpl
SimpleReporter
StatusCodeHandler
StatusCodeValidator
Suite
SuiteCompletedEvent
SuiteEvent
SuiteHandler
ValidationException
ValidationHandler
ValidationReflectionHandler
Validator
XMLPreprocessor
XMLReporter
XPathHandler
XPathValidator
1.1 jakarta-commons/latka/webpages/api/allclasses-frame.html Index: allclasses-frame.html =================================================================== All Classes All Classes
AbstractReporter
BaseRequestEvent
BaseValidator
BasicDelegateHandler
ByteLengthHandler
ByteLengthValidator
CookieHandler
CookieValidator
Credentials
CredentialsImpl
DelegateHandler
DelegateHandlerImpl
FindVariablesHandler
GoldenFileValidator
HtmlPrettyPrintWriter
JUnitEventReporter
JUnitTestAdapter
Latka
LatkaEvent
LatkaEventInfo
LatkaEventListener
LatkaEventPublisher
LatkaException
LatkaHandler
LatkaProperties
LatkaVariableEntityResolver
MaxRequestTimeHandler
MaxRequestTimeValidator
ParameterHandler
Parameters
ParametersImpl
RegexpHandler
RegexpValidator
Request
RequestErrorEvent
RequestEvent
RequestFailedEvent
RequestHandler
RequestHeaderHandler
RequestHeaders
RequestHeadersImpl
RequestImpl
RequestSkippedEvent
RequestSucceededEvent
Response
ResponseImpl
Session
SessionHandler
SessionImpl
SimpleReporter
StatusCodeHandler
StatusCodeValidator
Suite
SuiteCompletedEvent
SuiteEvent
SuiteHandler
ValidationException
ValidationHandler
ValidationReflectionHandler
Validator
XMLPreprocessor
XMLReporter
XPathHandler
XPathValidator
-- To unsubscribe, e-mail: For additional commands, e-mail: