Method Summary |
|
protected ActionForward | actionPerform(Class action, Class form) |
protected ActionForward | actionPerform(Class action) |
protected ActionForward | actionPerform(Action action) |
protected ActionForward | actionPerform(Action action, ActionForm form) |
protected ActionForward | actionPerform(Action action, Class form) |
protected ActionForward | actionPerform(Class action, ActionForm form) |
protected void | addExceptionHandler(ExceptionHandlerConfig handler) |
protected String | addMappedPropertyRequestPrefix(String property) |
protected ActionForm | createActionForm(Class form) |
protected DynaActionForm | createDynaActionForm(FormBeanConfig formConfig) |
protected ValidatorResources | createValidatorResources(String[] resourcesFiles) |
protected void | generateValidToken() |
protected ActionMessage | getActionErrorByKey(String errorKey) |
protected ActionMessages | getActionErrors() |
protected ActionMessages | getActionErrorsFromRequest() |
protected ActionMessages | getActionErrorsFromSession() |
protected ActionForm | getActionForm() |
protected MockActionForward | getActionForward() |
protected ActionMapping | getActionMapping() |
protected ActionMessage | getActionMessageByKey(String messageKey) |
protected ActionMessages | getActionMessages() |
protected ActionMessages | getActionMessagesFromRequest() |
protected ActionMessages | getActionMessagesFromSession() |
protected ActionTestModule | getActionTestModule() Gets the
com.mockrunner.struts.ActionTestModule . |
protected HTMLOutputModule | getHTMLOutputModule() Returns the
com.mockrunner.struts.ActionTestModule as
com.mockrunner.base.HTMLOutputModule . |
protected Action | getLastAction() |
protected MockActionMapping | getMockActionMapping() |
protected MockPageContext | getMockPageContext() |
protected boolean | hasActionErrors() |
protected boolean | hasActionMessages() |
protected void | populateRequestToForm() |
protected void | setActionErrors(ActionMessages errors) |
protected void | setActionErrorsToSession(ActionMessages errors) |
protected void | setActionForm(ActionForm formObj) |
protected void | setActionMessages(ActionMessages messages) |
protected void | setActionMessagesToSession(ActionMessages messages) |
protected void | setActionTestModule(ActionTestModule actionTestModule) Sets the
com.mockrunner.struts.ActionTestModule . |
protected void | setDataSource(DataSource dataSource) |
protected void | setDataSource(String key, DataSource dataSource) |
protected void | setDoPopulate(boolean doPopulate) |
protected void | setErrorAttributeKey(String errorAttributeKey) |
protected void | setInput(String input) |
protected void | setLocale(Locale locale) |
protected void | setMessageAttributeKey(String messageAttributeKey) |
protected void | setParameter(String parameter) |
protected void | setRecognizeMessagesInSession(boolean recognizeInSession) |
protected void | setReset(boolean reset) |
protected void | setResources(MessageResources resources) |
protected void | setResources(String key, MessageResources resources) |
protected void | setUp() Creates the
com.mockrunner.struts.ActionTestModule . |
protected void | setValidate(boolean validate) |
protected void | setValidatorResources(ValidatorResources validatorResources) |
protected void | tearDown() |
protected void | verifyActionErrorNotPresent(String errorKey) |
protected void | verifyActionErrorPresent(String errorKey) |
protected void | verifyActionErrorProperty(String errorKey, String property) |
protected void | verifyActionErrorValue(String errorKey, Object value) |
protected void | verifyActionErrorValues(String errorKey, Object[] values) |
protected void | verifyActionErrors(String[] errorKeys) |
protected void | verifyActionMessageNotPresent(String messageKey) |
protected void | verifyActionMessagePresent(String messageKey) |
protected void | verifyActionMessageProperty(String messageKey, String property) |
protected void | verifyActionMessageValue(String messageKey, Object value) |
protected void | verifyActionMessageValues(String messageKey, Object[] values) |
protected void | verifyActionMessages(String[] messageKeys) |
protected void | verifyForward(String path) |
protected void | verifyForwardName(String name) |
protected void | verifyHasActionErrors() |
protected void | verifyHasActionMessages() |
protected void | verifyNoActionErrors() |
protected void | verifyNoActionMessages() |
protected void | verifyNumberActionErrors(int number) |
protected void | verifyNumberActionMessages(int number) |
protected void | verifyRedirect(boolean redirect) |