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

S

SCRIPT_ROOT - Static variable in class avignon.AvignonProperties
The name of the property to use for determining where to look for scripts.
SMTPHeaderHandler - class avignon.handlers.SMTPHeaderHandler.
Defines expected headers of an SMTP dialog.
Attributes: text - The text of an SMTP header to expect.
SMTPHeaderHandler() - Constructor for class avignon.handlers.SMTPHeaderHandler
 
SMTPInterceptorHandler - class avignon.handlers.SMTPInterceptorHandler.
Allows the assertion of contents of an e-mail being sent.
Attributes: noEMailTimeout - The amount of time in seconds to wait for an e-mail to be sent. expected - The complete path to a file containing the expected body of the e-mail.
SMTPInterceptorHandler() - Constructor for class avignon.handlers.SMTPInterceptorHandler
 
SQLStatementCommand - class avignon.handlers.database.SQLStatementCommand.
Helper class for DatabaseCommand.
SQLStatementCommand(String) - Constructor for class avignon.handlers.database.SQLStatementCommand
 
ScriptBlockHandler - class avignon.handlers.ScriptBlockHandler.
Grouping tag for include scripts.
ScriptBlockHandler() - Constructor for class avignon.handlers.ScriptBlockHandler
 
ScriptParamHandler - class avignon.handlers.ScriptParamHandler.
Passes parameters to an included script.
Attributes: name - Name of the parameter to replace. value - Value to replace the named parameter with. When the included script is run, text with the format #name# will be replaced with the value given in this tag.
ScriptParamHandler() - Constructor for class avignon.handlers.ScriptParamHandler
 
ScriptProcessor - class avignon.ScriptProcessor.
Used to execute an actual test script.
ScriptProcessor() - Constructor for class avignon.ScriptProcessor
Protected constructor to be used be subclasses.
ScriptRunner - interface avignon.handlers.ScriptRunner.
Interface describing a class that can execute an Avignon script.
ScriptedTests - class avignon.ScriptedTests.
junit.framework.TestCase that runs Avignon scripts through JUnit.
ScriptedTests(String) - Constructor for class avignon.ScriptedTests
Constructor that JUnit uses to run a particular test script.
ShuntedTestState - class avignon.handlers.ShuntedTestState.
This class is used in handler unit tests to allow you to set up a specific test state.
ShuntedTestState(AvignonTagHandler[]) - Constructor for class avignon.handlers.ShuntedTestState
Creates an AvignonTestState with multiple handlers on its stack.
SleepHandler - class avignon.handlers.SleepHandler.
Causes test execution to be suspended for a given number of seconds.
Attributes: period - Number of seconds to sleep.
SleepHandler() - Constructor for class avignon.handlers.SleepHandler
 
SubmitPageHandler - class avignon.handlers.SubmitPageHandler.
Deprecated. Deprecated in favor of the browsers.* handlers.
SubmitPageHandler() - Constructor for class avignon.handlers.SubmitPageHandler
Deprecated.  
schedule(ActionListener, long) - Static method in class avignon.helpers.TimingUtils
 
selectNode(Node, String) - Static method in class avignon.xml.XPathHelper
 
selectNodes(Node, String) - Static method in class avignon.xml.XPathHelper
 
setBaseDirectory(String) - Method in class avignon.handlers.WebPageAsserter
Sets the directory in which to start looking for expected XML and XSL files.
setBinaryFile(File, byte[]) - Method in class avignon.helpers.FileReader
 
setCommandQueue(List) - Method in class avignon.handlers.database.DatabaseConnection
 
setDatabaseState(DatabaseStateHandler) - Method in class avignon.handlers.AcceptanceTestHandler
Deprecated. This method is being deprecated in favor of using setup and teardown scripts.
setDebugServer(boolean) - Method in class avignon.handlers.TestHttpServer
Determines whether debugging information should be sent to the standard output or not.
setDebuggingFlag(boolean) - Method in class avignon.handlers.TestHttpServer
Deprecated. Duplicates setDebugServer.
setDriver(String) - Method in class avignon.handlers.DatabaseConnectionHandler
 
setExpectedHeader(String) - Method in class avignon.handlers.SMTPInterceptorHandler
Adds an expected header.
setFileText(File, String) - Method in class avignon.helpers.FileReader
 
setGenerator(Random) - Method in class avignon.handlers.MessagePicker
Allows the programmer to set the random number generator being used to pick files at random.
setHandler(String, AvignonTagHandler) - Static method in class avignon.loaders.TestLoader
Sets the handler to be returned for a given tag name.
setHandlerPaths(String[]) - Static method in class avignon.AvignonProperties
Allows the programmer to override the FQNs that will be used by the standard JavaTagLoader when searching for AvignonTagHandlers.
setInputValue(String, String) - Method in class avignon.handlers.SubmitPageHandler
Deprecated.  
setLoaders(TagLoader[]) - Static method in class avignon.AvignonTagLoader
Allows the programmer to control the tag loaders that will be used.
setMockInputStream(InputStream) - Method in class avignon.xml.XMLDocumentFactory
 
setNoTransform(String) - Method in class avignon.handlers.WebPageAsserter
Determines whether or not the expected file will undergo any transformations or not.
setPageDescription(String) - Method in class avignon.handlers.WebPageAsserter
Sets the path, relative to the base directory, to the expected XML file.
setPassword(String) - Method in class avignon.handlers.DatabaseConnectionHandler
 
setPreTranslation(String) - Method in class avignon.handlers.WebPageAsserter
Sets the path, relative to the base directory, of the XSL file that will transform the expected XML file.
setProperties(ResourceBundle) - Static method in class avignon.AvignonProperties
Allows the programmer to override the properties that Avignon will see.
setResponseDelay(int) - Method in class avignon.handlers.TestHttpServer
Sets the amount of time to wait before responding to a request.
setScriptParameter(String, String) - Method in class avignon.handlers.TestScriptHandler
Adds a parameter to be replaced before the script is executed.
setTableName(String) - Method in class avignon.handlers.database.DatabaseTableCommand
 
setTagLoaderNames(String) - Static method in class avignon.AvignonProperties
Deprecated. Deprecated in favor of the setProperties method.
setTagLoaders(TagLoader[]) - Static method in class avignon.AvignonProperties
Allows the programmer to override the TagLoaders that will be used,
setTestName(String) - Method in class avignon.AvignonTestState
Sets the current test name.
setURL(String) - Method in class avignon.handlers.DatabaseConnectionHandler
 
setUser(String) - Method in class avignon.handlers.DatabaseConnectionHandler
 
setValue(String, String) - Method in class avignon.AttributesShunt
Allows the programmer to change the value of an attribute at runtime.
shunt(ScriptProcessor) - Static method in class avignon.ScriptProcessor
Sets the ScriptProcessor to be returned by the newProcessor factory method.
shunt(boolean) - Static method in class avignon.handlers.MessagePlayer
Allows the programmer to turn off the actual message playing during unit testing.
shunt(List, SQLException) - Static method in class avignon.handlers.database.DatabaseConnection
 
shunt(DatabaseConnection) - Static method in class avignon.handlers.database.DatabaseConnectionFactory
 
shuntBinaryResponse(String, String, byte[]) - Method in class avignon.handlers.TestHttpServer
Adds a response containing binary data to the server.
shuntMessage(String, String) - Method in class avignon.handlers.MessagePicker
Sets the message that will be returned for a particular path.
shuntServerResponse(String, String) - Method in class avignon.handlers.TestHttpServer
Sets the text to return when a specific page is requested.
shuntServerResponse(String, File) - Method in class avignon.handlers.TestHttpServer
Sets the text to return when a specific page is requested.
sleep(long) - Static method in class avignon.helpers.TimingUtils
 
start(AvignonTestState, Attributes) - Method in interface avignon.AvignonTagHandler
Called when the tag is first encountered.
start(AvignonTestState, Attributes) - Method in class avignon.DoNothingHandler
Executed when the tag starts.
start(AvignonTestState, Attributes) - Method in class avignon.handlers.AcceptanceTestHandler
 
start(AvignonTestState, Attributes) - Method in class avignon.handlers.ClearTableHandler
 
start(AvignonTestState, Attributes) - Method in class avignon.handlers.ClickHandlerLogic
Deprecated.  
start(AvignonTestState, Attributes) - Method in class avignon.handlers.DatabaseAssertHandler
 
start(AvignonTestState, Attributes) - Method in class avignon.handlers.DatabaseConnectionHandler
 
start(AvignonTestState, Attributes) - Method in class avignon.handlers.DatabaseDeleteHandler
 
start(AvignonTestState, Attributes) - Method in class avignon.handlers.DatabaseInsertHandler
 
start(AvignonTestState, Attributes) - Method in class avignon.handlers.DatabaseStateHandler
Deprecated.  
start(AvignonTestState, Attributes) - Method in class avignon.handlers.DatabaseTableHandler
Preserves the state of the named table.
start(AvignonTestState, Attributes) - Method in class avignon.handlers.DatabaseUpdateHandler
 
start(AvignonTestState, Attributes) - Method in class avignon.handlers.DeleteHandler
 
start(AvignonTestState, Attributes) - Method in class avignon.handlers.ExecuteSQLHandler
 
start(AvignonTestState, Attributes) - Method in class avignon.handlers.HTTPInterceptorHandler
 
start(AvignonTestState, Attributes) - Method in class avignon.handlers.InputValueHandler
Deprecated.  
start(AvignonTestState, Attributes) - Method in class avignon.handlers.SMTPHeaderHandler
 
start(AvignonTestState, Attributes) - Method in class avignon.handlers.SMTPInterceptorHandler
 
start(AvignonTestState, Attributes) - Method in class avignon.handlers.ScriptParamHandler
 
start(AvignonTestState, Attributes) - Method in class avignon.handlers.SleepHandler
 
start(AvignonTestState, Attributes) - Method in class avignon.handlers.SubmitPageHandler
Deprecated.  
start(AvignonTestState, Attributes) - Method in class avignon.handlers.TestScriptHandler
Sets the name of the script to be executed.
start(AvignonTestState, Attributes) - Method in class avignon.handlers.TestSuiteHandler
Sets the name of the current test suite.
start(AvignonTestState, Attributes) - Method in class avignon.handlers.UpdateFieldHandler
Deprecated. Adds to the surrounding DatabaseUpdate tag.
start(AvignonTestState, Attributes) - Method in class avignon.handlers.VerbalizeTestResultHandler
Enques a message with the MessagePlayer.
startElement(String, String, String, Attributes) - Method in class avignon.AcceptanceTestParser
Finds a tag handler corresponding to the qualifiedName parameter, pushes it onto the parsing stack and then calls its start method.
stop() - Method in class avignon.handlers.MessagePlayer
Stops the message playing thread.
stopListening() - Method in class avignon.handlers.TestHttpServer
Closes the server socket.
submitRequest(WebRequest) - Method in class avignon.AvignonTestState
Deprecated. Deprecated in favor of the avignon.handlers.browser classes.
suite() - Static method in class avignon.ScriptedTests
Standard JUnit suite method.

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