|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jete.cases.ValidatedTestAction
org.jete.validator.ValidationAction
This allows testers to simply configure a result object and validate it in line with any action.
This comes in handy when an existing service or object is already configured and in Spring, and the state of that service or object is valuable to the test in question. For example, if a DAO factory method is used to create an entity via Spring's factory methods, the resulting object could be set as a result to this action, allowing a validator to confirm that that entity is properly created.
Constructor Summary | |
ValidationAction()
|
Method Summary | |
protected void |
doAction()
|
java.lang.Object |
getResult()
|
void |
setResult(java.lang.Object result)
|
Methods inherited from class org.jete.cases.ValidatedTestAction |
getValidators, runAction, setValidators |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ValidationAction()
Method Detail |
protected void doAction() throws ActionException
doAction
in class ValidatedTestAction
ActionException
public void setResult(java.lang.Object result)
public java.lang.Object getResult()
getResult
in interface MethodResultAction
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |