|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectavignon.AvignonTestState
avignon.handlers.ShuntedTestState
This class is used in handler unit tests to allow you to set up a specific test state.
| Constructor Summary | |
ShuntedTestState(AvignonTagHandler[] handlers)
Creates an AvignonTestState with multiple handlers on its stack. |
|
| Method Summary | |
void |
closeApplication()
Simulates closing the application. |
void |
initializeApplication()
Simulates initializing an application. |
boolean |
isApplicationClosed()
Allows the programmer to determine if the closeApplication method has been called.True if closeApplication has been called. |
boolean |
isApplicationInitialized()
Allows the programmer to determine if initializeApplication has been called. |
| Methods inherited from class avignon.AvignonTestState |
anyErrors, anyErrorsForTest, appendErrorMessage, appendErrorMessage, getApplication, getAppStart, getCurrentFormRequest, getCurrentResponse, getErrorMessages, getFormRequest, getFrameContents, getPageDescriptionDirectory, getStackTop, getTestName, loadPageFromItemClick, loadPageFromPageClick, peek, peekAll, pop, push, setTestName, submitRequest |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ShuntedTestState(AvignonTagHandler[] handlers)
handlers - Handlers to push onto the stack. Lower indicies are lower on the stack.| Method Detail |
public boolean isApplicationClosed()
public void initializeApplication()
initializeApplication in class AvignonTestStatepublic boolean isApplicationInitialized()
public void closeApplication()
closeApplication in class AvignonTestState
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||