|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectavignon.handlers.AcceptanceTestHandler
Helps to name and bracket an acceptance test. This handler is also responsible for calling the setup and teardown scripts as defined by the Avignon properties file.
Attributes:
| Constructor Summary | |
AcceptanceTestHandler()
|
|
| Method Summary | |
void |
end(AvignonTestState state)
Called when the tag is closed. |
boolean |
equals(java.lang.Object value)
|
protected java.lang.String |
getSetupScriptName()
Returns the name of the setup script defined in Avignon's properties file. |
protected java.lang.String |
getTearDownScriptName()
Returns the name of the teardown script defined in Avignon's properties file. |
protected ScriptRunner |
getTestScriptHandler()
Returns the test script running used to execute the setup and teardown scripts. |
void |
setDatabaseState(DatabaseStateHandler value)
Deprecated. This method is being deprecated in favor of using setup and teardown scripts. |
void |
start(AvignonTestState state,
org.xml.sax.Attributes attributes)
Called when the tag is first encountered. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AcceptanceTestHandler()
| Method Detail |
public void end(AvignonTestState state)
AvignonTagHandler
end in interface AvignonTagHandlerstate -
public void start(AvignonTestState state,
org.xml.sax.Attributes attributes)
AvignonTagHandler
start in interface AvignonTagHandlerstate - attributes - protected java.lang.String getSetupScriptName()
protected java.lang.String getTearDownScriptName()
protected ScriptRunner getTestScriptHandler()
public void setDatabaseState(DatabaseStateHandler value)
value - Instance of the DatabaseStateHandler that will be responsible for restoring database state when the AcceptanceTest tag closes.public boolean equals(java.lang.Object value)
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||