A B C D E F G I L M O R S T U V W

A

ActionException - exception org.jete.action.ActionException.
Exceptions / errors that occur when an action is run.
ActionException(String, Throwable) - Constructor for class org.jete.action.ActionException
 
ActionException(String) - Constructor for class org.jete.action.ActionException
 
ActionException(Throwable) - Constructor for class org.jete.action.ActionException
 
ActionHelper - class org.jete.action.ActionHelper.
Provide some common functionality used by various actions.
ActionHelper() - Constructor for class org.jete.action.ActionHelper
 
ActionTestCase - class org.jete.cases.ActionTestCase.
This class needs to retrieve the application context file as specified by a setter (or the constructor) to load the actions.
ActionTestCase() - Constructor for class org.jete.cases.ActionTestCase
 

B

BaseActionTestCase - class org.jete.cases.BaseActionTestCase.
Wrap the setup and teardown with defined actions, so that any testcase may have a TestAction that is loaded via the context file run as setup and teardown functionality.
BaseActionTestCase() - Constructor for class org.jete.cases.BaseActionTestCase
 

C

ContextFileTestCase - class org.jete.cases.ContextFileTestCase.
Configure with a test application file, and a list of tests within that file.
ContextFileTestCase() - Constructor for class org.jete.cases.ContextFileTestCase
 
createDbOperations() - Static method in class org.jete.db.DBUnitHelper
Create a map of DBUnit DatabaseOperation objects for retrieval depending on the submitted configuration.
createStandardReplacementMap() - Static method in class org.jete.db.DBUnitHelper
Create a map of standard replacements in flat xml files used by the ReplacementDataSet.

D

DBSetupAction - class org.jete.db.DBSetupAction.
Action to perform dbunit setup behavior.
DBSetupAction() - Constructor for class org.jete.db.DBSetupAction
 
DBUnitHelper - class org.jete.db.DBUnitHelper.
Provide a helper for performing some standard DBUnit specific operations.
DBUnitHelper() - Constructor for class org.jete.db.DBUnitHelper
 
DataSetWrapper - interface org.jete.db.DataSetWrapper.
This interface provides a standard mechanism for retrieving IDataSet objects from their appropriate wrappers.
DateOffset - class org.jete.util.DateOffset.
Simply create a Date object with the appropriate offset specified by the constructor.
DateOffset(long) - Constructor for class org.jete.util.DateOffset
The milliseconds are added to the current date.
DateOffset(Date, long) - Constructor for class org.jete.util.DateOffset
The date submitted is the initial date for the object, with milliseconds representing the offset
doAction() - Method in class org.jete.cases.ValidatedTestAction
 
doAction() - Method in class org.jete.db.DBSetupAction
Convert the specified db operation into the DBUnit specific operation.
doAction() - Method in class org.jete.model.MethodInvocationAction
Retrieve the specified method of the submitted object, and invoke it with the specified parameters.
doAction() - Method in class org.jete.validator.ValidationAction
 
doAction() - Method in class org.jete.web.FormSubmissionValidatedAction
Create a new GetMethodWebRequest, retrieve the configured web request data and insert each element into the request, and retrieve the response.

E

errorAndToss(Logger, String, Throwable) - Static method in class org.jete.action.ActionHelper
log an error, throw an exception with a throwable reference
errorAndToss(Logger, String) - Static method in class org.jete.action.ActionHelper
log an error, throw an exception

F

FlatXmlDataSetWrapper - class org.jete.db.FlatXmlDataSetWrapper.
Simplify access to the FlatXmlDataSet, allowing configurations to simply be a filepath.
FlatXmlDataSetWrapper(String) - Constructor for class org.jete.db.FlatXmlDataSetWrapper
 
FormSubmissionValidatedAction - class org.jete.web.FormSubmissionValidatedAction.
Submit the configured form information to the configured url via a GetMethodWebRequest.
FormSubmissionValidatedAction() - Constructor for class org.jete.web.FormSubmissionValidatedAction
 
filePath - Variable in class org.jete.db.FlatXmlDataSetWrapper
 

G

getArguments() - Method in class org.jete.model.MethodInvocationAction
 
getContextFile() - Method in class org.jete.cases.ContextFileTestCase
 
getDataSet() - Method in class org.jete.db.DBSetupAction
 
getDataSet() - Method in interface org.jete.db.DataSetWrapper
 
getDataSet() - Method in class org.jete.db.FlatXmlDataSetWrapper
 
getDataSet() - Method in class org.jete.db.ReplacementDataSetWrapper
 
getDataSet() - Method in class org.jete.db.SimpleDataSetWrapper
 
getDataSetWrapper() - Method in class org.jete.db.DBSetupAction
 
getDataSource() - Method in class org.jete.db.DBSetupAction
 
getDbOperations() - Method in class org.jete.db.DBSetupAction
 
getExpectedContent() - Method in class org.jete.web.WebPageContentValidator
 
getExpectedContentType() - Method in class org.jete.web.WebPageContentValidator
 
getExpectedLength() - Method in class org.jete.web.WebPageContentValidator
 
getExpectedTitle() - Method in class org.jete.web.WebPageContentValidator
 
getFilePath() - Method in class org.jete.db.FlatXmlDataSetWrapper
 
getFormURL() - Method in class org.jete.web.FormSubmissionValidatedAction
 
getMessage() - Method in class org.jete.action.ActionException
 
getMessage() - Method in class org.jete.validator.ThrowableValidator
 
getName() - Method in class org.jete.SystemTest
 
getObjectReplacementSet() - Method in class org.jete.db.ReplacementDataSetWrapper
 
getPoolShutdownWaitTime() - Method in class org.jete.cases.MultiTestCase
 
getPooledExecutor() - Method in class org.jete.cases.MultiTestCase
 
getProperty(BeanWrapper, PropertyValue) - Static method in class org.jete.model.ResultWrapperUtils
Retrieve the propertyValue from the bean wrapper given the specified rules.
getPropertyValues() - Method in class org.jete.model.MethodResultValidator
 
getResult() - Method in class org.jete.model.MethodInvocationAction
 
getResult() - Method in interface org.jete.model.MethodResultAction
 
getResult() - Method in class org.jete.validator.ValidationAction
 
getSetupActions() - Method in class org.jete.cases.BaseActionTestCase
 
getSubstringReplacementSet() - Method in class org.jete.db.ReplacementDataSetWrapper
 
getTargetMethod() - Method in class org.jete.model.MethodInvocationAction
 
getTargetObject() - Method in class org.jete.model.MethodInvocationAction
 
getTearDownActions() - Method in class org.jete.cases.BaseActionTestCase
 
getTestActions() - Method in class org.jete.cases.ActionTestCase
 
getTestCases() - Method in class org.jete.SystemTest
 
getTestCases() - Method in class org.jete.cases.MultiTestCase
 
getTestNames() - Method in class org.jete.cases.ContextFileTestCase
 
getThrowable() - Method in class org.jete.validator.ThrowableValidator
 
getThrowableName() - Method in class org.jete.validator.ThrowableValidator
 
getValidators() - Method in class org.jete.cases.ValidatedTestAction
 
getValue() - Method in class org.jete.model.ResultWrapper
 
getWaitMillis() - Method in class org.jete.util.WaitAction
 
getWebConversation() - Method in class org.jete.web.WebSessionValidatedAction
 
getWebRequest() - Method in class org.jete.web.WebSessionValidatedAction
 
getWebRequestData() - Method in class org.jete.web.FormSubmissionValidatedAction
 
getWebResponse() - Method in class org.jete.web.WebSessionValidatedAction
 

I

IgnorableValidatorError - interface org.jete.validator.IgnorableValidatorError.
This allows an action to ignore any errors that may occur during validating.
isIgnoreValidatorError() - Method in class org.jete.model.MethodResultValidator
 
isIgnoreValidatorError() - Method in interface org.jete.validator.IgnorableValidatorError
 
isRemoveContext() - Method in class org.jete.cases.ContextFileTestCase
 

L

loadContext(String) - Static method in class org.jete.context.TestContextLoader
Load an application context via a failpath.

M

MethodInvocationAction - class org.jete.model.MethodInvocationAction.
Provide an interface for an action in the test system to arbitrarily call a particular object method.
MethodInvocationAction() - Constructor for class org.jete.model.MethodInvocationAction
 
MethodResultAction - interface org.jete.model.MethodResultAction.
Use this interface when creating an action that will return a result.
MethodResultValidator - class org.jete.model.MethodResultValidator.
Use this validator to validate actions that have result objects.
MethodResultValidator() - Constructor for class org.jete.model.MethodResultValidator
 
MultiTestCase - class org.jete.cases.MultiTestCase.
This class promotes a grouping of various test cases cases sets, allowing the the logical relation of test cases to each other.
MultiTestCase() - Constructor for class org.jete.cases.MultiTestCase
 

O

org.jete - package org.jete
 
org.jete.action - package org.jete.action
 
org.jete.cases - package org.jete.cases
 
org.jete.context - package org.jete.context
 
org.jete.db - package org.jete.db
 
org.jete.model - package org.jete.model
 
org.jete.util - package org.jete.util
 
org.jete.validator - package org.jete.validator
 
org.jete.web - package org.jete.web
 

R

ReplacementDataSetWrapper - class org.jete.db.ReplacementDataSetWrapper.
Wrap ReplacementDataSet by providing simple means of setting replacement values and specifying another DataSet to replace values in.
ReplacementDataSetWrapper(String) - Constructor for class org.jete.db.ReplacementDataSetWrapper
Create a default FlatXmlDataSet
ReplacementDataSetWrapper(DataSetWrapper) - Constructor for class org.jete.db.ReplacementDataSetWrapper
 
ReplacementDataSetWrapper(IDataSet) - Constructor for class org.jete.db.ReplacementDataSetWrapper
 
ResultWrapper - class org.jete.model.ResultWrapper.
Wrap object information in this wrapper, allowing for primitives, lists, etc.
ResultWrapper(Object) - Constructor for class org.jete.model.ResultWrapper
 
ResultWrapperUtils - class org.jete.model.ResultWrapperUtils.
Simplify and concentrate the wrapper interface for use by result validators and actions.
ResultWrapperUtils() - Constructor for class org.jete.model.ResultWrapperUtils
 
result - Variable in class org.jete.cases.MultiTestCase
 
run(TestResult) - Method in class org.jete.cases.ContextFileTestCase
Override the run(TestResult) method to store the results locally, allowing the addTestCases method to pass the results to each specified sub test.
run(TestResult) - Method in class org.jete.cases.MultiTestCase
Override the run(TestResult) method to store the results locally, allowing the runTestCases method to pass the results to each specified sub test.
runAction() - Method in interface org.jete.action.TestAction
 
runAction() - Method in class org.jete.cases.ValidatedTestAction
 
runAction() - Method in class org.jete.util.WaitAction
 
runActions(List) - Method in class org.jete.cases.BaseActionTestCase
Run the specified test actions, for setup, teardown, and child classes
runTest() - Method in class org.jete.cases.ActionTestCase
Override the runTest method, which simply looks at the junit name and invokes that name as the method.

S

SimpleDataSetWrapper - class org.jete.db.SimpleDataSetWrapper.
Allows Spring configurability of the DataSet by letting the system test configuration specify any data set, and using this wrapper as simply a container for passing that DataSet to the DBSetupAction.
SimpleDataSetWrapper(IDataSet) - Constructor for class org.jete.db.SimpleDataSetWrapper
 
SimpleDataSetWrapper() - Constructor for class org.jete.db.SimpleDataSetWrapper
 
SystemTest - class org.jete.SystemTest.
Use this class as the main entry point for a system test.
SystemTest() - Constructor for class org.jete.SystemTest
 
setArguments(List) - Method in class org.jete.model.MethodInvocationAction
 
setContextFile(String) - Method in class org.jete.cases.ContextFileTestCase
 
setDataSet(IDataSet) - Method in class org.jete.db.DBSetupAction
 
setDataSet(IDataSet) - Method in class org.jete.db.SimpleDataSetWrapper
 
setDataSetWrapper(DataSetWrapper) - Method in class org.jete.db.DBSetupAction
 
setDataSource(DataSource) - Method in class org.jete.db.DBSetupAction
 
setDbOperations(Collection) - Method in class org.jete.db.DBSetupAction
 
setExpectedContent(String) - Method in class org.jete.web.WebPageContentValidator
 
setExpectedContentType(String) - Method in class org.jete.web.WebPageContentValidator
 
setExpectedLength(int) - Method in class org.jete.web.WebPageContentValidator
 
setExpectedTitle(String) - Method in class org.jete.web.WebPageContentValidator
 
setFormURL(String) - Method in class org.jete.web.FormSubmissionValidatedAction
 
setIgnoreValidatorError(boolean) - Method in class org.jete.model.MethodResultValidator
 
setMessage(String) - Method in class org.jete.action.ActionException
 
setMessage(String) - Method in class org.jete.validator.ThrowableValidator
 
setName(String) - Method in class org.jete.SystemTest
 
setObjectReplacementSet(Map) - Method in class org.jete.db.ReplacementDataSetWrapper
 
setPoolShutdownWaitTime(long) - Method in class org.jete.cases.MultiTestCase
 
setPooledExecutor(PooledExecutor) - Method in class org.jete.cases.MultiTestCase
 
setPropertyValues(List) - Method in class org.jete.model.MethodResultValidator
 
setRemoveContext(boolean) - Method in class org.jete.cases.ContextFileTestCase
 
setResult(Object) - Method in class org.jete.model.MethodInvocationAction
 
setResult(Object) - Method in class org.jete.validator.ValidationAction
 
setSetupActions(List) - Method in class org.jete.cases.BaseActionTestCase
 
setSubstringReplacementSet(Map) - Method in class org.jete.db.ReplacementDataSetWrapper
 
setTargetMethod(String) - Method in class org.jete.model.MethodInvocationAction
 
setTargetObject(Object) - Method in class org.jete.model.MethodInvocationAction
 
setTearDownActions(List) - Method in class org.jete.cases.BaseActionTestCase
 
setTestActions(List) - Method in class org.jete.cases.ActionTestCase
 
setTestCases(List) - Method in class org.jete.SystemTest
 
setTestCases(List) - Method in class org.jete.cases.MultiTestCase
 
setTestNames(List) - Method in class org.jete.cases.ContextFileTestCase
 
setThrowable(Throwable) - Method in class org.jete.validator.ThrowableValidator
 
setThrowableName(String) - Method in class org.jete.validator.ThrowableValidator
 
setUp() - Method in class org.jete.cases.BaseActionTestCase
Sets up the fixture, for example, open a network connection.
setValidators(List) - Method in class org.jete.cases.ValidatedTestAction
 
setValue(Object) - Method in class org.jete.model.ResultWrapper
 
setWaitMillis(long) - Method in class org.jete.util.WaitAction
 
setWebConversation(WebConversation) - Method in class org.jete.web.WebSessionValidatedAction
 
setWebRequest(WebRequest) - Method in class org.jete.web.WebSessionValidatedAction
 
setWebRequestData(Map) - Method in class org.jete.web.FormSubmissionValidatedAction
 
setWebResponse(WebResponse) - Method in class org.jete.web.WebSessionValidatedAction
 
suite() - Static method in class org.jete.SystemTest
Retrieve the tests as part of the test suite

todo: this will affect the setup and teardown functionality of the BaseActionTestCase.


T

TestAction - interface org.jete.action.TestAction.
Test actions are run for various test harnesses.
TestContextLoader - class org.jete.context.TestContextLoader.
Common means of loading an application context throughout the test framework.
TestContextLoader() - Constructor for class org.jete.context.TestContextLoader
 
ThrowableValidator - class org.jete.validator.ThrowableValidator.
Validate expected exceptions / throwable with this validator.
ThrowableValidator() - Constructor for class org.jete.validator.ThrowableValidator
 
ThrowableValidator(String, String) - Constructor for class org.jete.validator.ThrowableValidator
 
tearDown() - Method in class org.jete.cases.BaseActionTestCase
Tears down the fixture, for example, close a network connection.
tearDown() - Method in class org.jete.cases.ContextFileTestCase
After running the tests, we should unload the context to preserve resources

U

unloadContext(ApplicationContext) - Static method in class org.jete.context.TestContextLoader
To preserve resources, unload the specified ConfigurableApplicationContext

V

ValidatedTestAction - class org.jete.cases.ValidatedTestAction.
Run the cases's doAction method, and perform the configured validators, submitting the action to the Validator validate() interface.
ValidatedTestAction() - Constructor for class org.jete.cases.ValidatedTestAction
 
ValidationAction - class org.jete.validator.ValidationAction.
This allows testers to simply configure a result object and validate it in line with any action.
ValidationAction() - Constructor for class org.jete.validator.ValidationAction
 
Validator - interface org.jete.validator.Validator.
Define the interface for a validator, simply return when ok, but throw an AssertionFailedError if there is an error.
validate(TestAction) - Method in class org.jete.model.MethodResultValidator
 
validate(TestAction) - Method in class org.jete.validator.ThrowableValidator
 
validate(TestAction) - Method in interface org.jete.validator.Validator
 
validate(TestAction) - Method in class org.jete.web.WebPageContentValidator
Validate the WebSessionValidatedAction only

W

WaitAction - class org.jete.util.WaitAction.
This utility action is helpful when asychronous or timed functionality is taking place.
WaitAction() - Constructor for class org.jete.util.WaitAction
 
WebPageContentValidator - class org.jete.web.WebPageContentValidator.
Perform the following basic validation of web page content: Expected length of the document Expected content type Expected content value Expected page title

The expected content value searches the content for the configured value.

WebPageContentValidator() - Constructor for class org.jete.web.WebPageContentValidator
 
WebSessionValidatedAction - class org.jete.web.WebSessionValidatedAction.
Perform a validate actions over a web session.
WebSessionValidatedAction() - Constructor for class org.jete.web.WebSessionValidatedAction
 
warnAndToss(Logger, String, Throwable) - Static method in class org.jete.action.ActionHelper
log a warning, thow an exception with a throwable reference
warnAndToss(Logger, String) - Static method in class org.jete.action.ActionHelper
log a warning, throw an exception
wrapAndToss(Throwable) - Static method in class org.jete.action.ActionHelper
Create an ActionException for tossing in actions.
wrapIfNecessary(Object) - Static method in class org.jete.model.ResultWrapperUtils
Determine if, based on the rules, this invocation result should be wrapped into a ResultWrapper.

A B C D E F G I L M O R S T U V W