Index
All Classes and Interfaces|All Packages|Serialized Form
A
- actionBaseConfig - Variable in class org.apache.struts.config.TestForwardConfig
-
A ForwardConfig we'll use to test cases where a ForwardConfig declared for an action extends a ForwardConfig declared globally, with both ForwardConfigs using the same name.
- actionConfig - Variable in class org.apache.struts.config.TestForwardConfig
-
An action mapping we'll use within tests.
- actionServlet - Variable in class org.apache.struts.action.TestActionServlet
-
The ActionServlet we'll test.
- addCookie(Cookie) - Method in class org.apache.struts.mock.MockHttpServletResponse
- addDateHeader(String, long) - Method in class org.apache.struts.mock.MockHttpServletResponse
- addFilter(String, Filter) - Method in class org.apache.struts.mock.MockServletContext
- addFilter(String, Class<? extends Filter>) - Method in class org.apache.struts.mock.MockServletContext
- addFilter(String, String) - Method in class org.apache.struts.mock.MockServletContext
- addHeader(String, String) - Method in class org.apache.struts.mock.MockHttpServletResponse
- addInitParameter(String, String) - Method in class org.apache.struts.mock.MockServletConfig
- addInitParameter(String, String) - Method in class org.apache.struts.mock.MockServletContext
- addIntHeader(String, int) - Method in class org.apache.struts.mock.MockHttpServletResponse
- addJspFile(String, String) - Method in class org.apache.struts.mock.MockServletContext
- addListener(Class<? extends EventListener>) - Method in class org.apache.struts.mock.MockServletContext
- addListener(String) - Method in class org.apache.struts.mock.MockServletContext
- addListener(T) - Method in class org.apache.struts.mock.MockServletContext
- addParameter(String, String) - Method in class org.apache.struts.mock.MockHttpServletRequest
- addServlet(String, Servlet) - Method in class org.apache.struts.mock.MockServletContext
- addServlet(String, Class<? extends Servlet>) - Method in class org.apache.struts.mock.MockServletContext
- addServlet(String, String) - Method in class org.apache.struts.mock.MockServletContext
- amNoResource - Variable in class org.apache.struts.action.TestActionMessage
- aMsgs - Variable in class org.apache.struts.action.TestActionMessages
- amWithArrayValues - Variable in class org.apache.struts.action.TestActionMessage
- amWithFourValues - Variable in class org.apache.struts.action.TestActionMessage
- amWithNoValue - Variable in class org.apache.struts.action.TestActionMessage
- amWithOneValue - Variable in class org.apache.struts.action.TestActionMessage
- amWithThreeValues - Variable in class org.apache.struts.action.TestActionMessage
- amWithTwoIntegerValues - Variable in class org.apache.struts.action.TestActionMessage
- amWithTwoValues - Variable in class org.apache.struts.action.TestActionMessage
- application - Variable in class org.apache.struts.mock.MockPageContext
- attributes - Variable in class org.apache.struts.mock.MockHttpServletRequest
-
The set of request attributes.
- attributes - Variable in class org.apache.struts.mock.MockHttpSession
-
The set of session attributes.
- attributes - Variable in class org.apache.struts.mock.MockPageContext
- attributes - Variable in class org.apache.struts.mock.MockServletContext
-
The set of servlet context attributes.
- authenticate(HttpServletResponse) - Method in class org.apache.struts.mock.MockHttpServletRequest
B
- baseAction - Variable in class org.apache.struts.action.TestActionServlet
-
The common action config we'll use.
- baseConfig - Variable in class org.apache.struts.config.TestActionConfig
-
The common base we'll use.
- baseConfig - Variable in class org.apache.struts.config.TestForwardConfig
-
The common base we'll use.
- baseException - Variable in class org.apache.struts.action.TestActionServlet
-
The common exception config we'll use.
- baseForm - Variable in class org.apache.struts.config.TestFormBeanConfig
-
The common base we'll use.
- baseFormBean - Variable in class org.apache.struts.action.TestActionServlet
-
The common form bean we'll use.
- baseForward - Variable in class org.apache.struts.action.TestActionServlet
-
The common action forward we'll use.
- beanConfig - Variable in class org.apache.struts.action.TestDynaActionFormClass
-
The
FormBeanConfig
structure for the form bean we will be creating. - beans - Variable in class org.apache.struts.validator.PojoBean
- booleanProperty - Variable in class org.apache.struts.mock.MockFormBean
- buffer - Variable in class org.apache.struts.util.TestLogger
-
Buffer to collect all log-messages
C
- changeSessionId() - Method in class org.apache.struts.mock.MockHttpServletRequest
- characterEncoding - Variable in class org.apache.struts.mock.MockHttpServletRequest
-
The Character Encoding for this request.
- clearOutput(Class<?>) - Method in class org.apache.struts.util.TestLoggerFactory
-
Clears/Delete all log-messages of the class.
- clearOutput(String) - Method in class org.apache.struts.util.TestLoggerFactory
-
Clears/Delete all log-messages of a named logger.
- close() - Method in class org.apache.struts.mock.MockServletInputStream
- config - Variable in class org.apache.struts.config.TestActionConfig
-
The ModuleConfig we'll use.
- config - Variable in class org.apache.struts.config.TestFormBeanConfig
-
The ModuleConfig we'll use.
- config - Variable in class org.apache.struts.config.TestModuleConfig
-
The ModuleConfig we are testing.
- config - Variable in class org.apache.struts.mock.MockPageContext
- config - Variable in class org.apache.struts.mock.TestMockBase
- containsHeader(String) - Method in class org.apache.struts.mock.MockHttpServletResponse
- content - Variable in class org.apache.struts.mock.MockHttpServletRequest
-
The Content for this request.
- contentType - Variable in class org.apache.struts.mock.MockHttpServletRequest
-
The Content Type for this request.
- context - Variable in class org.apache.struts.mock.MockServletConfig
- context - Variable in class org.apache.struts.mock.TestMockBase
- contextPath - Variable in class org.apache.struts.mock.MockHttpServletRequest
-
The context path for this request.
- createFilter(Class<T>) - Method in class org.apache.struts.mock.MockServletContext
- createListener(Class<T>) - Method in class org.apache.struts.mock.MockServletContext
- createServlet(Class<T>) - Method in class org.apache.struts.mock.MockServletContext
- CustomActionConfig() - Constructor for class org.apache.struts.action.TestActionServlet.CustomActionConfig
- CustomActionConfig() - Constructor for class org.apache.struts.config.TestActionConfig.CustomActionConfig
- CustomActionConfig(String) - Constructor for class org.apache.struts.action.TestActionServlet.CustomActionConfig
- CustomExceptionConfig() - Constructor for class org.apache.struts.action.TestActionServlet.CustomExceptionConfig
- CustomFormBeanConfig() - Constructor for class org.apache.struts.action.TestActionServlet.CustomFormBeanConfig
- CustomFormBeanConfig() - Constructor for class org.apache.struts.config.TestFormBeanConfig.CustomFormBeanConfig
- CustomForwardConfig() - Constructor for class org.apache.struts.action.TestActionServlet.CustomForwardConfig
- CustomForwardConfig(String, String) - Constructor for class org.apache.struts.action.TestActionServlet.CustomForwardConfig
- CustomMappingTest - Class in org.apache.struts.config
-
Custom action mapping used by
TestModuleConfig
- CustomMappingTest() - Constructor for class org.apache.struts.config.CustomMappingTest
D
- DATE_TIME_FORMAT - Static variable in class org.apache.struts.util.TestLogger
-
The date and time format to use in the log message
- declareRoles(String...) - Method in class org.apache.struts.mock.MockServletContext
- doubleValue1 - Variable in class org.apache.struts.validator.PojoBean
- doubleValue2 - Variable in class org.apache.struts.validator.PojoBean
- dynaClass - Variable in class org.apache.struts.action.TestDynaActionFormClass
-
The [@code DynaActionFormClass} to use for testing.
- dynaForm - Variable in class org.apache.struts.action.TestDynaActionForm
-
The basic
DynaActionForm
to use for testing. - dynaProperties - Static variable in class org.apache.struts.action.TestDynaActionFormClass
-
The set of
FormPropertyConfig
objects to use when creating ourFormBeanConfig
.
E
- encodeRedirectUrl(String) - Method in class org.apache.struts.mock.MockHttpServletResponse
-
Deprecated.
- encodeRedirectURL(String) - Method in class org.apache.struts.mock.MockHttpServletResponse
- encodeUrl(String) - Method in class org.apache.struts.mock.MockHttpServletResponse
-
Deprecated.
- encodeURL(String) - Method in class org.apache.struts.mock.MockHttpServletResponse
- equals(Object) - Method in class org.apache.struts.mock.MockPrincipal
F
- files - Variable in class org.apache.struts.mock.MockFormBean
- findAttribute(String) - Method in class org.apache.struts.mock.MockPageContext
- finish() - Method in class org.apache.struts.mock.MockMultipartRequestHandler
-
Mock
finish()
method does nothing. - floatValue1 - Variable in class org.apache.struts.validator.PojoBean
- floatValue2 - Variable in class org.apache.struts.validator.PojoBean
- flushBuffer() - Method in class org.apache.struts.mock.MockHttpServletResponse
- forward(String) - Method in class org.apache.struts.mock.MockPageContext
G
- getAllElements() - Method in class org.apache.struts.mock.MockMultipartRequestHandler
-
This method returns all elements of a multipart request.
- getAsyncContext() - Method in class org.apache.struts.mock.MockHttpServletRequest
- getAttribute(String) - Method in class org.apache.struts.mock.MockHttpServletRequest
- getAttribute(String) - Method in class org.apache.struts.mock.MockHttpSession
- getAttribute(String) - Method in class org.apache.struts.mock.MockPageContext
- getAttribute(String) - Method in class org.apache.struts.mock.MockServletContext
- getAttribute(String, int) - Method in class org.apache.struts.mock.MockPageContext
- getAttributeNames() - Method in class org.apache.struts.mock.MockHttpServletRequest
- getAttributeNames() - Method in class org.apache.struts.mock.MockHttpSession
- getAttributeNames() - Method in class org.apache.struts.mock.MockServletContext
- getAttributeNamesInScope(int) - Method in class org.apache.struts.mock.MockPageContext
- getAttributesScope(String) - Method in class org.apache.struts.mock.MockPageContext
- getAuthType() - Method in class org.apache.struts.mock.MockHttpServletRequest
- getBean(int) - Method in class org.apache.struts.validator.PojoBean
-
Return and indexed Bean
- getBeans() - Method in class org.apache.struts.validator.PojoBean
-
Return PojoBean[].
- getBooleanProperty() - Method in class org.apache.struts.mock.MockFormBean
- getBufferSize() - Method in class org.apache.struts.mock.MockHttpServletResponse
- getCharacterEncoding() - Method in class org.apache.struts.mock.MockHttpServletRequest
- getCharacterEncoding() - Method in class org.apache.struts.mock.MockHttpServletResponse
- getClassLoader() - Method in class org.apache.struts.mock.MockServletContext
- getContentLength() - Method in class org.apache.struts.mock.MockHttpServletRequest
- getContentLengthLong() - Method in class org.apache.struts.mock.MockHttpServletRequest
- getContentType() - Method in class org.apache.struts.mock.MockHttpServletRequest
- getContentType() - Method in class org.apache.struts.mock.MockHttpServletResponse
- getContext(String) - Method in class org.apache.struts.mock.MockServletContext
- getContextPath() - Method in class org.apache.struts.mock.MockHttpServletRequest
- getContextPath() - Method in class org.apache.struts.mock.MockServletContext
- getCookies() - Method in class org.apache.struts.mock.MockHttpServletRequest
- getCreationTime() - Method in class org.apache.struts.mock.MockHttpSession
- getDateHeader(String) - Method in class org.apache.struts.mock.MockHttpServletRequest
- getDefaultSessionTrackingModes() - Method in class org.apache.struts.mock.MockServletContext
- getDispatcherType() - Method in class org.apache.struts.mock.MockHttpServletRequest
- getDoubleValue() - Method in class org.apache.struts.mock.MockFormBean
- getDoubleValue1() - Method in class org.apache.struts.validator.PojoBean
- getDoubleValue2() - Method in class org.apache.struts.validator.PojoBean
- getEffectiveMajorVersion() - Method in class org.apache.struts.mock.MockServletContext
- getEffectiveMinorVersion() - Method in class org.apache.struts.mock.MockServletContext
- getEffectiveSessionTrackingModes() - Method in class org.apache.struts.mock.MockServletContext
- getELContext() - Method in class org.apache.struts.mock.MockPageContext
- getException() - Method in class org.apache.struts.mock.MockPageContext
- getExpressionEvaluator() - Method in class org.apache.struts.mock.MockPageContext
-
Deprecated.
- getFileElements() - Method in class org.apache.struts.mock.MockMultipartRequestHandler
-
This method is called on to retrieve all the FormFile input elements of the request.
- getFiles() - Method in class org.apache.struts.mock.MockFormBean
- getFilterRegistration(String) - Method in class org.apache.struts.mock.MockServletContext
- getFilterRegistrations() - Method in class org.apache.struts.mock.MockServletContext
- getFloatValue1() - Method in class org.apache.struts.validator.PojoBean
- getFloatValue2() - Method in class org.apache.struts.validator.PojoBean
- getFullyQualifiedCallerName() - Method in class org.apache.struts.util.TestLogger
- getHeader(String) - Method in class org.apache.struts.mock.MockHttpServletRequest
- getHeader(String) - Method in class org.apache.struts.mock.MockHttpServletResponse
- getHeaderNames() - Method in class org.apache.struts.mock.MockHttpServletRequest
- getHeaderNames() - Method in class org.apache.struts.mock.MockHttpServletResponse
- getHeaders(String) - Method in class org.apache.struts.mock.MockHttpServletRequest
- getHeaders(String) - Method in class org.apache.struts.mock.MockHttpServletResponse
- getId() - Method in class org.apache.struts.mock.MockHttpSession
- getInitParameter(String) - Method in class org.apache.struts.mock.MockServletConfig
- getInitParameter(String) - Method in class org.apache.struts.mock.MockServletContext
- getInitParameterNames() - Method in class org.apache.struts.mock.MockServletConfig
- getInitParameterNames() - Method in class org.apache.struts.mock.MockServletContext
- getInputStream() - Method in class org.apache.struts.mock.MockHttpServletRequest
- getIntegerValue1() - Method in class org.apache.struts.validator.PojoBean
-
Return integerValue1.
- getIntegerValue2() - Method in class org.apache.struts.validator.PojoBean
-
Return integerValue2.
- getIntHeader(String) - Method in class org.apache.struts.mock.MockHttpServletRequest
- getIntValue1() - Method in class org.apache.struts.validator.PojoBean
-
Return intValue1.
- getIntValue2() - Method in class org.apache.struts.validator.PojoBean
-
Return intValue2.
- getJspConfigDescriptor() - Method in class org.apache.struts.mock.MockServletContext
- getJustThrowAnException() - Method in class org.apache.struts.mock.MockFormBean
- getLastAccessedTime() - Method in class org.apache.struts.mock.MockHttpSession
- getLocalAddr() - Method in class org.apache.struts.mock.MockHttpServletRequest
- getLocale() - Method in class org.apache.struts.mock.MockHttpServletRequest
- getLocale() - Method in class org.apache.struts.mock.MockHttpServletResponse
- getLocales() - Method in class org.apache.struts.mock.MockHttpServletRequest
- getLocalName() - Method in class org.apache.struts.mock.MockHttpServletRequest
- getLocalPort() - Method in class org.apache.struts.mock.MockHttpServletRequest
- getLogger(String) - Method in class org.apache.struts.util.TestLoggerFactory
-
Return an appropriate
TestLogger
instance by name. - getLoggerFactory() - Method in class org.apache.struts.util.TestServiceProvider
- getMajorVersion() - Method in class org.apache.struts.mock.MockServletContext
- getMap() - Method in class org.apache.struts.validator.PojoBean
-
Return the Map
- getMapped(String) - Method in class org.apache.struts.validator.PojoBean
-
Set a Mapped property
- getMapping() - Method in class org.apache.struts.mock.MockMultipartRequestHandler
-
Get the ActionMapping instance for this mock request.
- getMapProperty() - Method in class org.apache.struts.mock.MockFormBean
- getMapPropertyArrayValues() - Method in class org.apache.struts.mock.MockFormBean
- getMarkerFactory() - Method in class org.apache.struts.util.TestServiceProvider
- getMaxInactiveInterval() - Method in class org.apache.struts.mock.MockHttpSession
- getMDCAdapter() - Method in class org.apache.struts.util.TestServiceProvider
- getMethod() - Method in class org.apache.struts.mock.MockHttpServletRequest
- getMimeType(String) - Method in class org.apache.struts.mock.MockServletContext
- getMinorVersion() - Method in class org.apache.struts.mock.MockServletContext
- getName() - Method in class org.apache.struts.mock.MockPrincipal
- getNamedDispatcher(String) - Method in class org.apache.struts.mock.MockServletContext
- getOut() - Method in class org.apache.struts.mock.MockPageContext
-
Custom JspWriter that throws the specified exception (supplied on the constructor...if any), else it simply returns.
- getOutput(Class<?>) - Method in class org.apache.struts.util.TestLoggerFactory
-
Returns all collected log-messages to a class.
- getOutput(String) - Method in class org.apache.struts.util.TestLoggerFactory
-
Returns all collected log-messages to a named logger.
- getOutputStream() - Method in class org.apache.struts.mock.MockHttpServletResponse
- getPage() - Method in class org.apache.struts.mock.MockPageContext
- getParameter(String) - Method in class org.apache.struts.mock.MockHttpServletRequest
- getParameterMap() - Method in class org.apache.struts.mock.MockHttpServletRequest
- getParameterNames() - Method in class org.apache.struts.mock.MockHttpServletRequest
- getParameterValues(String) - Method in class org.apache.struts.mock.MockHttpServletRequest
- getPart(String) - Method in class org.apache.struts.mock.MockHttpServletRequest
- getParts() - Method in class org.apache.struts.mock.MockHttpServletRequest
- getPathInfo() - Method in class org.apache.struts.mock.MockHttpServletRequest
- getPathTranslated() - Method in class org.apache.struts.mock.MockHttpServletRequest
- getProtocol() - Method in class org.apache.struts.mock.MockHttpServletRequest
- getPublic() - Method in class org.apache.struts.config.CustomMappingTest
- getQueryString() - Method in class org.apache.struts.mock.MockHttpServletRequest
- getReader() - Method in class org.apache.struts.mock.MockHttpServletRequest
- getRealPath(String) - Method in class org.apache.struts.mock.MockHttpServletRequest
-
Deprecated.
- getRealPath(String) - Method in class org.apache.struts.mock.MockServletContext
- getRemoteAddr() - Method in class org.apache.struts.mock.MockHttpServletRequest
- getRemoteHost() - Method in class org.apache.struts.mock.MockHttpServletRequest
- getRemotePort() - Method in class org.apache.struts.mock.MockHttpServletRequest
- getRemoteUser() - Method in class org.apache.struts.mock.MockHttpServletRequest
- getRequest() - Method in class org.apache.struts.mock.MockPageContext
- getRequestCharacterEncoding() - Method in class org.apache.struts.mock.MockServletContext
- getRequestDispatcher(String) - Method in class org.apache.struts.mock.MockHttpServletRequest
- getRequestDispatcher(String) - Method in class org.apache.struts.mock.MockServletContext
- getRequestedApiVersion() - Method in class org.apache.struts.util.TestServiceProvider
- getRequestedSessionId() - Method in class org.apache.struts.mock.MockHttpServletRequest
- getRequestURI() - Method in class org.apache.struts.mock.MockHttpServletRequest
- getRequestURL() - Method in class org.apache.struts.mock.MockHttpServletRequest
- getResource(String) - Method in class org.apache.struts.mock.MockServletContext
- getResourceAsStream(String) - Method in class org.apache.struts.mock.MockServletContext
- getResourcePaths(String) - Method in class org.apache.struts.mock.MockServletContext
- getResponse() - Method in class org.apache.struts.mock.MockPageContext
- getResponseCharacterEncoding() - Method in class org.apache.struts.mock.MockServletContext
- getScheme() - Method in class org.apache.struts.mock.MockHttpServletRequest
- getServerInfo() - Method in class org.apache.struts.mock.MockServletContext
- getServerName() - Method in class org.apache.struts.mock.MockHttpServletRequest
- getServerPort() - Method in class org.apache.struts.mock.MockHttpServletRequest
- getServlet() - Method in class org.apache.struts.mock.MockMultipartRequestHandler
-
Get the mock ActionServlet instance.
- getServlet(String) - Method in class org.apache.struts.mock.MockServletContext
-
Deprecated.
- getServletConfig() - Method in class org.apache.struts.mock.MockActionServlet
-
Get property
- getServletConfig() - Method in class org.apache.struts.mock.MockPageContext
- getServletContext() - Method in class org.apache.struts.mock.MockActionServlet
-
Get property
- getServletContext() - Method in class org.apache.struts.mock.MockHttpServletRequest
- getServletContext() - Method in class org.apache.struts.mock.MockHttpSession
- getServletContext() - Method in class org.apache.struts.mock.MockPageContext
- getServletContext() - Method in class org.apache.struts.mock.MockServletConfig
- getServletContextName() - Method in class org.apache.struts.mock.MockServletContext
- getServletName() - Method in class org.apache.struts.mock.MockServletConfig
- getServletNames() - Method in class org.apache.struts.mock.MockServletContext
-
Deprecated.
- getServletPath() - Method in class org.apache.struts.mock.MockHttpServletRequest
- getServletRegistration(String) - Method in class org.apache.struts.mock.MockServletContext
- getServletRegistrations() - Method in class org.apache.struts.mock.MockServletContext
- getServlets() - Method in class org.apache.struts.mock.MockServletContext
-
Deprecated.
- getSession() - Method in class org.apache.struts.mock.MockHttpServletRequest
- getSession() - Method in class org.apache.struts.mock.MockPageContext
- getSession(boolean) - Method in class org.apache.struts.mock.MockHttpServletRequest
- getSessionContext() - Method in class org.apache.struts.mock.MockHttpSession
-
Deprecated.
- getSessionCookieConfig() - Method in class org.apache.struts.mock.MockServletContext
- getSessionTimeout() - Method in class org.apache.struts.mock.MockServletContext
- getStatus() - Method in class org.apache.struts.mock.MockHttpServletResponse
- getStringArray() - Method in class org.apache.struts.mock.MockFormBean
- getStringArray() - Method in class org.apache.struts.validator.PojoBean
-
Return stringArray.
- getStringArray(int) - Method in class org.apache.struts.validator.PojoBean
-
Return Indexed value for stringArray.
- getStringProperty() - Method in class org.apache.struts.mock.MockFormBean
- getStringValue() - Method in class org.apache.struts.mock.MockFormBean
- getStringValue1() - Method in class org.apache.struts.validator.PojoBean
-
Return stringValue1.
- getStringValue2() - Method in class org.apache.struts.validator.PojoBean
-
Return stringValue2.
- getTextElements() - Method in class org.apache.struts.mock.MockMultipartRequestHandler
-
This method is called on to retrieve all the text input elements of the request.
- getThrowIllegalAccessException() - Method in class org.apache.struts.mock.MockFormBean
- getUserPrincipal() - Method in class org.apache.struts.mock.MockHttpServletRequest
- getValue(String) - Method in class org.apache.struts.mock.MockHttpSession
-
Deprecated.
- getValueNames() - Method in class org.apache.struts.mock.MockHttpSession
-
Deprecated.
- getVariableResolver() - Method in class org.apache.struts.mock.MockPageContext
-
Deprecated.
- getVirtualServerName() - Method in class org.apache.struts.mock.MockServletContext
- getWriter() - Method in class org.apache.struts.mock.MockHttpServletResponse
H
- handleNormalizedLoggingCall(Level, Marker, String, Object[], Throwable) - Method in class org.apache.struts.util.TestLogger
- handlePageException(Exception) - Method in class org.apache.struts.mock.MockPageContext
- handlePageException(Throwable) - Method in class org.apache.struts.mock.MockPageContext
- handleRequest(HttpServletRequest) - Method in class org.apache.struts.mock.MockMultipartRequestHandler
-
Mock parsing of the ServletInputStream.
- hashCode() - Method in class org.apache.struts.mock.MockPrincipal
- hasMoreElements() - Method in class org.apache.struts.mock.MockEnumeration
I
- include(String) - Method in class org.apache.struts.mock.MockPageContext
- include(String, boolean) - Method in class org.apache.struts.mock.MockPageContext
- initialize() - Method in class org.apache.struts.util.TestServiceProvider
- initialize(Servlet, ServletRequest, ServletResponse, String, boolean, int, boolean) - Method in class org.apache.struts.mock.MockPageContext
- initInternal() - Method in class org.apache.struts.mock.MockActionServlet
-
Expose as public so that test classes can exercise things which retrieve messages.
- instances - Variable in class org.apache.struts.util.TestLoggerFactory
-
The
TestLogger
instances that have already been created, keyed by logger name. - integerValue1 - Variable in class org.apache.struts.validator.PojoBean
- integerValue2 - Variable in class org.apache.struts.validator.PojoBean
- intValue1 - Variable in class org.apache.struts.validator.PojoBean
- intValue2 - Variable in class org.apache.struts.validator.PojoBean
- invalidate() - Method in class org.apache.struts.mock.MockHttpSession
- isAsyncStarted() - Method in class org.apache.struts.mock.MockHttpServletRequest
- isAsyncSupported() - Method in class org.apache.struts.mock.MockHttpServletRequest
- isCommitted() - Method in class org.apache.struts.mock.MockHttpServletResponse
- isDebugEnabled() - Method in class org.apache.struts.util.TestLogger
- isErrorEnabled() - Method in class org.apache.struts.util.TestLogger
- isFinished() - Method in class org.apache.struts.mock.MockServletInputStream
- isInfoEnabled() - Method in class org.apache.struts.util.TestLogger
- isNew() - Method in class org.apache.struts.mock.MockHttpSession
- isReady() - Method in class org.apache.struts.mock.MockServletInputStream
- isRequestedSessionIdFromCookie() - Method in class org.apache.struts.mock.MockHttpServletRequest
- isRequestedSessionIdFromUrl() - Method in class org.apache.struts.mock.MockHttpServletRequest
-
Deprecated.
- isRequestedSessionIdFromURL() - Method in class org.apache.struts.mock.MockHttpServletRequest
- isRequestedSessionIdValid() - Method in class org.apache.struts.mock.MockHttpServletRequest
- isSecure() - Method in class org.apache.struts.mock.MockHttpServletRequest
- isTraceEnabled() - Method in class org.apache.struts.util.TestLogger
- isUserInRole(String) - Method in class org.apache.struts.mock.MockHttpServletRequest
- isUserInRole(String) - Method in class org.apache.struts.mock.MockPrincipal
- isWarnEnabled() - Method in class org.apache.struts.util.TestLogger
- iterator - Variable in class org.apache.struts.mock.MockEnumeration
L
- locale - Variable in class org.apache.struts.mock.MockHttpServletRequest
-
The preferred locale for this request.
- log(Exception, String) - Method in class org.apache.struts.mock.MockServletContext
-
Deprecated.
- log(String) - Method in class org.apache.struts.mock.MockServletContext
- log(String, Throwable) - Method in class org.apache.struts.mock.MockServletContext
- logFactory - Static variable in class org.apache.struts.util.TestRequestUtilsPopulate
- login(String, String) - Method in class org.apache.struts.mock.MockHttpServletRequest
- logout() - Method in class org.apache.struts.mock.MockHttpServletRequest
M
- map - Variable in class org.apache.struts.validator.PojoBean
- mapping - Variable in class org.apache.struts.action.TestDynaActionForm
-
Dummy ActionMapping for calls to reset() and validate().
- method - Variable in class org.apache.struts.mock.MockHttpServletRequest
-
The HTTP request method.
- MockAction - Class in org.apache.struts.mock
-
General purpose Action for unit tests.
- MockAction() - Constructor for class org.apache.struts.mock.MockAction
- MockActionServlet - Class in org.apache.struts.mock
-
Mock ActionServlet object for low-level unit tests of Struts controller components.
- MockActionServlet() - Constructor for class org.apache.struts.mock.MockActionServlet
-
Constructor.
- MockActionServlet(ServletContext, ServletConfig) - Constructor for class org.apache.struts.mock.MockActionServlet
-
Constructor.
- MockEnumeration<E> - Class in org.apache.struts.mock
-
General purpose
Enumeration
wrapper around anIterator
specified to our controller. - MockEnumeration(Iterator<E>) - Constructor for class org.apache.struts.mock.MockEnumeration
- MockFormBean - Class in org.apache.struts.mock
-
General purpose form bean for unit tests.
- MockFormBean() - Constructor for class org.apache.struts.mock.MockFormBean
- MockFormBean(boolean) - Constructor for class org.apache.struts.mock.MockFormBean
- MockFormBean(boolean, boolean) - Constructor for class org.apache.struts.mock.MockFormBean
- MockFormBean(boolean, boolean, Double) - Constructor for class org.apache.struts.mock.MockFormBean
- MockFormBean(boolean, boolean, String) - Constructor for class org.apache.struts.mock.MockFormBean
- MockFormBean(boolean, boolean, String, int) - Constructor for class org.apache.struts.mock.MockFormBean
- MockFormBean(String) - Constructor for class org.apache.struts.mock.MockFormBean
- MockHttpServletRequest - Class in org.apache.struts.mock
-
Mock HttpServletRequest object for low-level unit tests of Struts controller components.
- MockHttpServletRequest() - Constructor for class org.apache.struts.mock.MockHttpServletRequest
- MockHttpServletRequest(HttpSession) - Constructor for class org.apache.struts.mock.MockHttpServletRequest
- MockHttpServletRequest(String, String, String, String) - Constructor for class org.apache.struts.mock.MockHttpServletRequest
- MockHttpServletRequest(String, String, String, String, HttpSession) - Constructor for class org.apache.struts.mock.MockHttpServletRequest
- MockHttpServletResponse - Class in org.apache.struts.mock
-
Mock HttpServletResponse object for low-level unit tests of Struts controller components.
- MockHttpServletResponse() - Constructor for class org.apache.struts.mock.MockHttpServletResponse
- MockHttpSession - Class in org.apache.struts.mock
-
Mock HttpSession object for low-level unit tests of Struts controller components.
- MockHttpSession() - Constructor for class org.apache.struts.mock.MockHttpSession
- MockHttpSession(ServletContext) - Constructor for class org.apache.struts.mock.MockHttpSession
- MockMultipartRequestHandler - Class in org.apache.struts.mock
-
Mock MultipartRequestHandler object for unit tests.
- MockMultipartRequestHandler() - Constructor for class org.apache.struts.mock.MockMultipartRequestHandler
- MockPageContext - Class in org.apache.struts.mock
-
Mock ServletContext object for low-level unit tests of Struts controller components.
- MockPageContext() - Constructor for class org.apache.struts.mock.MockPageContext
- MockPageContext(boolean, boolean) - Constructor for class org.apache.struts.mock.MockPageContext
-
Construct a new PageContext impl.
- MockPageContext(ServletConfig, ServletRequest, ServletResponse) - Constructor for class org.apache.struts.mock.MockPageContext
- MockPrincipal - Class in org.apache.struts.mock
-
Mock Principal object for low-level unit tests of Struts controller components.
- MockPrincipal() - Constructor for class org.apache.struts.mock.MockPrincipal
- MockPrincipal(String) - Constructor for class org.apache.struts.mock.MockPrincipal
- MockPrincipal(String, String[]) - Constructor for class org.apache.struts.mock.MockPrincipal
- MockServletConfig - Class in org.apache.struts.mock
-
Mock ServletConfig object for low-level unit tests of Struts controller components.
- MockServletConfig() - Constructor for class org.apache.struts.mock.MockServletConfig
- MockServletConfig(ServletContext) - Constructor for class org.apache.struts.mock.MockServletConfig
- MockServletContext - Class in org.apache.struts.mock
-
Mock ServletContext object for low-level unit tests of Struts controller components.
- MockServletContext() - Constructor for class org.apache.struts.mock.MockServletContext
- MockServletInputStream - Class in org.apache.struts.mock
- MockServletInputStream(byte[]) - Constructor for class org.apache.struts.mock.MockServletInputStream
- moduleConfig - Variable in class org.apache.struts.action.TestActionServlet
-
The ModuleConfig we'll use.
- moduleConfig - Variable in class org.apache.struts.action.TestDynaActionForm
-
Dummy ModuleConfig for calls to reset() and validate().
- moduleConfig - Variable in class org.apache.struts.config.TestForwardConfig
-
The ModuleConfig we'll use.
- moduleConfig - Variable in class org.apache.struts.mock.TestMockBase
- moduleConfig2 - Variable in class org.apache.struts.mock.TestMockBase
- moduleConfig3 - Variable in class org.apache.struts.mock.TestMockBase
- msg1 - Variable in class org.apache.struts.action.TestActionMessages
- msg2 - Variable in class org.apache.struts.action.TestActionMessages
- msg3 - Variable in class org.apache.struts.action.TestActionMessages
- msg4 - Variable in class org.apache.struts.action.TestActionMessages
- msg5 - Variable in class org.apache.struts.action.TestActionMessages
N
- name - Variable in class org.apache.struts.mock.MockPrincipal
- nextElement() - Method in class org.apache.struts.mock.MockEnumeration
- notestProcessActionConfigClassError() - Method in class org.apache.struts.action.TestActionServlet
-
Make sure the code throws the correct exception when it can't create an instance of the base config's custom class.
- notestProcessExceptionConfigClassError() - Method in class org.apache.struts.action.TestActionServlet
-
Make sure the code throws the correct exception when it can't create an instance of the base config's custom class.
- notestProcessFormBeanConfigClassError() - Method in class org.apache.struts.action.TestActionServlet
-
Make sure the code throws the correct exception when it can't create an instance of the base config's custom class.
- notestProcessForwardConfigClassError() - Method in class org.apache.struts.action.TestActionServlet
-
Make sure the code throws the correct exception when it can't create an instance of the base config's custom class.
- notestSplitAndResolvePaths() - Method in class org.apache.struts.action.TestActionServlet
-
Test class loader resolution and splitting.
O
- org.apache.struts.action - package org.apache.struts.action
- org.apache.struts.chain.commands.generic - package org.apache.struts.chain.commands.generic
- org.apache.struts.chain.commands.servlet - package org.apache.struts.chain.commands.servlet
- org.apache.struts.config - package org.apache.struts.config
- org.apache.struts.mock - package org.apache.struts.mock
-
Mock objects of the Struts Framework.
- org.apache.struts.upload - package org.apache.struts.upload
- org.apache.struts.util - package org.apache.struts.util
- org.apache.struts.validator - package org.apache.struts.validator
P
- page - Variable in class org.apache.struts.mock.TestMockBase
- parameters - Variable in class org.apache.struts.mock.MockHttpServletRequest
-
The set of arrays of parameter values, keyed by parameter name.
- parameters - Variable in class org.apache.struts.mock.MockServletConfig
- parameters - Variable in class org.apache.struts.mock.MockServletContext
-
The set of context initialization parameters.
- pathInfo - Variable in class org.apache.struts.mock.MockHttpServletRequest
-
The extra path information for this request.
- PojoBean - Class in org.apache.struts.validator
-
Test Bean class.
- PojoBean() - Constructor for class org.apache.struts.validator.PojoBean
-
Default Constructor
- PojoBean(int, int) - Constructor for class org.apache.struts.validator.PojoBean
-
Construct Bean with a pair of integer values.
- PojoBean(String, String) - Constructor for class org.apache.struts.validator.PojoBean
-
Construct Bean with a pair of String values.
- popBody() - Method in class org.apache.struts.mock.MockPageContext
- principal - Variable in class org.apache.struts.mock.MockHttpServletRequest
-
The authenticated user for this request.
- principal - Variable in class org.apache.struts.mock.TestMockBase
- processExtends(ModuleConfig) - Method in class org.apache.struts.action.TestActionServlet.CustomActionConfig
-
Set a flag so we know this method was called.
- processExtends(ModuleConfig) - Method in class org.apache.struts.action.TestActionServlet.CustomFormBeanConfig
-
Set a flag so we know this method was called.
- processExtends(ModuleConfig) - Method in class org.apache.struts.config.TestActionConfig.CustomActionConfig
- processExtends(ModuleConfig) - Method in class org.apache.struts.config.TestFormBeanConfig.CustomFormBeanConfig
- processExtends(ModuleConfig, ActionConfig) - Method in class org.apache.struts.action.TestActionServlet.CustomExceptionConfig
-
Set a flag so we know this method was called.
- processExtends(ModuleConfig, ActionConfig) - Method in class org.apache.struts.action.TestActionServlet.CustomForwardConfig
-
Set a flag so we know this method was called.
- processExtendsCalled - Variable in class org.apache.struts.action.TestActionServlet.CustomActionConfig
- processExtendsCalled - Variable in class org.apache.struts.action.TestActionServlet.CustomExceptionConfig
- processExtendsCalled - Variable in class org.apache.struts.action.TestActionServlet.CustomFormBeanConfig
- processExtendsCalled - Variable in class org.apache.struts.action.TestActionServlet.CustomForwardConfig
- properties - Static variable in class org.apache.struts.action.TestDynaActionForm
-
The set of property names we expect to have returned when calling
getDynaProperties()
. - pushBody() - Method in class org.apache.struts.mock.MockPageContext
- putValue(String, Object) - Method in class org.apache.struts.mock.MockHttpSession
-
Deprecated.
Q
- queryString - Variable in class org.apache.struts.mock.MockHttpServletRequest
-
The query string for this request.
R
- read() - Method in class org.apache.struts.mock.MockServletInputStream
- release() - Method in class org.apache.struts.mock.MockPageContext
- release() - Method in class org.apache.struts.util.TestLoggerFactory
-
Clears/Delete all log-messages of all loggers.
- removeAttribute(String) - Method in class org.apache.struts.mock.MockHttpServletRequest
- removeAttribute(String) - Method in class org.apache.struts.mock.MockHttpSession
- removeAttribute(String) - Method in class org.apache.struts.mock.MockPageContext
- removeAttribute(String) - Method in class org.apache.struts.mock.MockServletContext
- removeAttribute(String, int) - Method in class org.apache.struts.mock.MockPageContext
- removeValue(String) - Method in class org.apache.struts.mock.MockHttpSession
-
Deprecated.
- request - Variable in class org.apache.struts.mock.MockPageContext
- request - Variable in class org.apache.struts.mock.TestMockBase
- REQUESTED_API_VERSION - Static variable in class org.apache.struts.util.TestServiceProvider
-
Declare the version of the SLF4J API this implementation is compiled against.
- reset() - Method in class org.apache.struts.mock.MockHttpServletResponse
- resetBuffer() - Method in class org.apache.struts.mock.MockHttpServletResponse
- response - Variable in class org.apache.struts.mock.MockPageContext
- response - Variable in class org.apache.struts.mock.TestMockBase
- roles - Variable in class org.apache.struts.mock.MockPrincipal
- rollback() - Method in class org.apache.struts.mock.MockMultipartRequestHandler
-
Mock
rollback()
method does nothing.
S
- sendError(int) - Method in class org.apache.struts.mock.MockHttpServletResponse
- sendError(int, String) - Method in class org.apache.struts.mock.MockHttpServletResponse
- sendRedirect(String) - Method in class org.apache.struts.mock.MockHttpServletResponse
- servletConfig - Variable in class org.apache.struts.mock.MockActionServlet
- servletContext - Variable in class org.apache.struts.mock.MockActionServlet
- servletContext - Variable in class org.apache.struts.mock.MockHttpSession
-
The ServletContext with which we are associated.
- servletPath - Variable in class org.apache.struts.mock.MockHttpServletRequest
-
The servlet path for this request.
- session - Variable in class org.apache.struts.mock.MockHttpServletRequest
-
The HttpSession with which we are associated.
- session - Variable in class org.apache.struts.mock.MockPageContext
- session - Variable in class org.apache.struts.mock.TestMockBase
- setAttribute(String, Object) - Method in class org.apache.struts.mock.MockHttpServletRequest
- setAttribute(String, Object) - Method in class org.apache.struts.mock.MockHttpSession
- setAttribute(String, Object) - Method in class org.apache.struts.mock.MockPageContext
- setAttribute(String, Object) - Method in class org.apache.struts.mock.MockServletContext
- setAttribute(String, Object, int) - Method in class org.apache.struts.mock.MockPageContext
- setBeans(PojoBean[]) - Method in class org.apache.struts.validator.PojoBean
-
Set the PojoBean[].
- setBooleanProperty(boolean) - Method in class org.apache.struts.mock.MockFormBean
- setBufferSize(int) - Method in class org.apache.struts.mock.MockHttpServletResponse
- setCharacterEncoding(String) - Method in class org.apache.struts.mock.MockHttpServletRequest
- setCharacterEncoding(String) - Method in class org.apache.struts.mock.MockHttpServletResponse
- setContent(byte[]) - Method in class org.apache.struts.mock.MockHttpServletRequest
- setContentLength(int) - Method in class org.apache.struts.mock.MockHttpServletResponse
- setContentLengthLong(long) - Method in class org.apache.struts.mock.MockHttpServletResponse
- setContentType(String) - Method in class org.apache.struts.mock.MockHttpServletRequest
- setContentType(String) - Method in class org.apache.struts.mock.MockHttpServletResponse
- setDateHeader(String, long) - Method in class org.apache.struts.mock.MockHttpServletResponse
- setDoubleValue1(double) - Method in class org.apache.struts.validator.PojoBean
- setDoubleValue2(double) - Method in class org.apache.struts.validator.PojoBean
- setFiles(List<FormFile>) - Method in class org.apache.struts.mock.MockFormBean
- setFloatValue1(float) - Method in class org.apache.struts.validator.PojoBean
- setFloatValue2(float) - Method in class org.apache.struts.validator.PojoBean
- setHeader(String, String) - Method in class org.apache.struts.mock.MockHttpServletResponse
- setHttpSession(HttpSession) - Method in class org.apache.struts.mock.MockHttpServletRequest
- setInitParameter(String, String) - Method in class org.apache.struts.mock.MockServletContext
- setIntegerValue1(Integer) - Method in class org.apache.struts.validator.PojoBean
-
Set the integerValue1.
- setIntegerValue2(Integer) - Method in class org.apache.struts.validator.PojoBean
-
Set the integerValue2.
- setIntHeader(String, int) - Method in class org.apache.struts.mock.MockHttpServletResponse
- setIntValue1(int) - Method in class org.apache.struts.validator.PojoBean
-
Set the intValue1.
- setIntValue2(int) - Method in class org.apache.struts.validator.PojoBean
-
Set the intValue2.
- setLocale(Locale) - Method in class org.apache.struts.mock.MockHttpServletRequest
- setLocale(Locale) - Method in class org.apache.struts.mock.MockHttpServletResponse
- setLog(Logger) - Method in class org.apache.struts.mock.MockServletContext
- setMap(Map<String, Object>) - Method in class org.apache.struts.validator.PojoBean
-
Return the Map
- setMapped(String, Object) - Method in class org.apache.struts.validator.PojoBean
-
Set a Mapped property
- setMapping(ActionMapping) - Method in class org.apache.struts.mock.MockMultipartRequestHandler
-
Convenience method to set a reference to a mock ActionMapping instance.
- setMaxInactiveInterval(int) - Method in class org.apache.struts.mock.MockHttpSession
- setMethod(String) - Method in class org.apache.struts.mock.MockHttpServletRequest
- setPathElements(String, String, String, String) - Method in class org.apache.struts.mock.MockHttpServletRequest
- setPublic(boolean) - Method in class org.apache.struts.config.CustomMappingTest
- setReadListener(ReadListener) - Method in class org.apache.struts.mock.MockServletInputStream
- setRequestCharacterEncoding(String) - Method in class org.apache.struts.mock.MockServletContext
- setResponseCharacterEncoding(String) - Method in class org.apache.struts.mock.MockServletContext
- setServlet(ActionServlet) - Method in class org.apache.struts.mock.MockMultipartRequestHandler
-
Convenience method to set a reference to a mock ActionServlet instance.
- setServletConfig(ServletConfig) - Method in class org.apache.struts.mock.MockActionServlet
-
Set property
- setServletContext(ServletContext) - Method in class org.apache.struts.mock.MockActionServlet
-
Set property
- setServletContext(ServletContext) - Method in class org.apache.struts.mock.MockHttpSession
- setServletContext(ServletContext) - Method in class org.apache.struts.mock.MockServletConfig
- setSessionTimeout(int) - Method in class org.apache.struts.mock.MockServletContext
- setSessionTrackingModes(Set<SessionTrackingMode>) - Method in class org.apache.struts.mock.MockServletContext
- setStatus(int) - Method in class org.apache.struts.mock.MockHttpServletResponse
- setStatus(int, String) - Method in class org.apache.struts.mock.MockHttpServletResponse
-
Deprecated.
- setStringArray(String[]) - Method in class org.apache.struts.validator.PojoBean
-
Set the stringArray.
- setStringProperty(String) - Method in class org.apache.struts.mock.MockFormBean
- setStringValue1(String) - Method in class org.apache.struts.validator.PojoBean
-
Set the stringValue1.
- setStringValue2(String) - Method in class org.apache.struts.validator.PojoBean
-
Set the stringValue2.
- setUp() - Method in class org.apache.struts.action.TestActionMessage
- setUp() - Method in class org.apache.struts.action.TestActionMessages
- setUp() - Method in class org.apache.struts.action.TestActionServlet
-
Set up instance variables required by this test case.
- setUp() - Method in class org.apache.struts.action.TestDynaActionForm
- setUp() - Method in class org.apache.struts.action.TestDynaActionFormClass
- setUp() - Method in class org.apache.struts.chain.commands.generic.TestCopyFormToContext
- setUp() - Method in class org.apache.struts.chain.commands.generic.TestWrappingLookupCommand
- setUp() - Method in class org.apache.struts.chain.commands.servlet.TestAuthorizeAction
- setUp() - Method in class org.apache.struts.chain.commands.servlet.TestPerformForward
- setUp() - Method in class org.apache.struts.chain.commands.servlet.TestSetOriginalURI
- setUp() - Method in class org.apache.struts.config.TestActionConfig
-
Set up instance variables required by this test case.
- setUp() - Method in class org.apache.struts.config.TestActionConfigMatcher
- setUp() - Method in class org.apache.struts.config.TestFormBeanConfig
-
Set up instance variables required by this test case.
- setUp() - Method in class org.apache.struts.config.TestForwardConfig
-
Set up instance variables required by this test case.
- setUp() - Method in class org.apache.struts.config.TestModuleConfig
-
Set up instance variables required by this test case.
- setUp() - Method in class org.apache.struts.mock.TestMockBase
- setUp() - Method in class org.apache.struts.util.TestPropertyMessageResources
- setUp() - Method in class org.apache.struts.util.TestRequestUtils
- setUp() - Method in class org.apache.struts.util.TestResponseUtils
- setUp() - Method in class org.apache.struts.validator.TestDynaValidatorForm
- setUp() - Method in class org.apache.struts.validator.TestValidatorForm
- setUp() - Method in class org.apache.struts.validator.TestValidWhen
- setUpAll() - Static method in class org.apache.struts.util.TestRequestUtilsPopulate
- setUpDefaultApp() - Method in class org.apache.struts.mock.TestMockBase
- setUpSecondApp() - Method in class org.apache.struts.mock.TestMockBase
- setUpThirdApp() - Method in class org.apache.struts.mock.TestMockBase
- setUserPrincipal(Principal) - Method in class org.apache.struts.mock.MockHttpServletRequest
- setValues(ServletConfig, ServletRequest, ServletResponse) - Method in class org.apache.struts.mock.MockPageContext
- startAsync() - Method in class org.apache.struts.mock.MockHttpServletRequest
- startAsync(ServletRequest, ServletResponse) - Method in class org.apache.struts.mock.MockHttpServletRequest
- stringArray - Variable in class org.apache.struts.validator.PojoBean
- stringProperty - Variable in class org.apache.struts.mock.MockFormBean
- stringValue1 - Variable in class org.apache.struts.validator.PojoBean
- stringValue2 - Variable in class org.apache.struts.validator.PojoBean
- subConfig - Variable in class org.apache.struts.config.TestForwardConfig
-
The common subForward we'll use.
T
- tearDown() - Method in class org.apache.struts.action.TestActionMessage
- tearDown() - Method in class org.apache.struts.action.TestActionMessages
- tearDown() - Method in class org.apache.struts.action.TestActionServlet
-
Tear down instance variables required by this test case.
- tearDown() - Method in class org.apache.struts.action.TestDynaActionForm
- tearDown() - Method in class org.apache.struts.action.TestDynaActionFormClass
- tearDown() - Method in class org.apache.struts.chain.commands.generic.TestWrappingLookupCommand
- tearDown() - Method in class org.apache.struts.chain.commands.servlet.TestAuthorizeAction
- tearDown() - Method in class org.apache.struts.chain.commands.servlet.TestPerformForward
- tearDown() - Method in class org.apache.struts.chain.commands.servlet.TestSetOriginalURI
- tearDown() - Method in class org.apache.struts.config.TestActionConfig
-
Tear down instance variables required by this test case.
- tearDown() - Method in class org.apache.struts.config.TestActionConfigMatcher
- tearDown() - Method in class org.apache.struts.config.TestFormBeanConfig
-
Tear down instance variables required by this test case.
- tearDown() - Method in class org.apache.struts.config.TestForwardConfig
-
Tear down instance variables required by this test case.
- tearDown() - Method in class org.apache.struts.config.TestModuleConfig
-
Tear down instance variables required by this test case.
- tearDown() - Method in class org.apache.struts.mock.TestMockBase
- tearDown() - Method in class org.apache.struts.util.TestPropertyMessageResources
- tearDown() - Method in class org.apache.struts.util.TestRequestUtils
- tearDown() - Method in class org.apache.struts.util.TestResponseUtils
- tearDown() - Method in class org.apache.struts.validator.TestDynaValidatorForm
- tearDown() - Method in class org.apache.struts.validator.TestValidatorForm
- tearDown() - Method in class org.apache.struts.validator.TestValidWhen
- tearDownAll() - Static method in class org.apache.struts.util.TestRequestUtilsPopulate
- test_values - Variable in class org.apache.struts.action.TestActionMessage
- testAbsoluteURL() - Method in class org.apache.struts.util.TestRequestUtils
- testAcceptFileWithMaxFileSize() - Method in class org.apache.struts.upload.TestCommonsMultipartRequestHandler
-
Test with maximum file size exceeded.
- testAcceptFileWithMaxRequestSize() - Method in class org.apache.struts.upload.TestCommonsMultipartRequestHandler
-
Test with maximum request size exceeded.
- TestActionConfig - Class in org.apache.struts.config
-
Unit tests for the
ActionConfig
class. - TestActionConfig() - Constructor for class org.apache.struts.config.TestActionConfig
- TestActionConfig.CustomActionConfig - Class in org.apache.struts.config
-
Used to detect that ActionConfig is making the right calls.
- TestActionConfigMatcher - Class in org.apache.struts.config
-
Unit tests for
ActionConfigMatcher
. - TestActionConfigMatcher() - Constructor for class org.apache.struts.config.TestActionConfigMatcher
- TestActionMessage - Class in org.apache.struts.action
-
Unit tests for the
ActionMessage
class. - TestActionMessage() - Constructor for class org.apache.struts.action.TestActionMessage
- TestActionMessages - Class in org.apache.struts.action
-
Unit tests for the
ActionMessages
class. - TestActionMessages() - Constructor for class org.apache.struts.action.TestActionMessages
- testActionMessageWithArrayValues() - Method in class org.apache.struts.action.TestActionMessage
- testActionMessageWithAStringValue() - Method in class org.apache.struts.action.TestActionMessage
- testActionMessageWithFourValues() - Method in class org.apache.struts.action.TestActionMessage
- testActionMessageWithNoValue() - Method in class org.apache.struts.action.TestActionMessage
- testActionMessageWithThreeValues() - Method in class org.apache.struts.action.TestActionMessage
- testActionMessageWithTwoValues() - Method in class org.apache.struts.action.TestActionMessage
- testActionNoResource() - Method in class org.apache.struts.action.TestActionMessage
- TestActionRedirect - Class in org.apache.struts.action
-
Unit tests for the
ActionRedirect
class. - TestActionRedirect() - Constructor for class org.apache.struts.action.TestActionRedirect
- testActionRedirectAddParameter() - Method in class org.apache.struts.action.TestActionRedirect
-
Test all addParameter methods accepting different data types.
- testActionRedirectAddSameNameParameter() - Method in class org.apache.struts.action.TestActionRedirect
-
Test adding parameters with the same name.
- testActionRedirectFromExistingForward() - Method in class org.apache.struts.action.TestActionRedirect
-
Test creating an ActionRedirect which copies its configuration from an existing ActionForward (except for the "redirect" property).
- testActionRedirectRedirectFlag() - Method in class org.apache.struts.action.TestActionRedirect
-
Check that the redirect flag is set.
- testActionRedirectWithAnchor() - Method in class org.apache.struts.action.TestActionRedirect
-
Test redirect with anchor.
- TestActionServlet - Class in org.apache.struts.action
-
Suite of unit tests for the
ActionServlet
class. - TestActionServlet() - Constructor for class org.apache.struts.action.TestActionServlet
- TestActionServlet.CustomActionConfig - Class in org.apache.struts.action
-
Used for testing custom ActionConfig classes.
- TestActionServlet.CustomExceptionConfig - Class in org.apache.struts.action
-
Used for testing custom ExceptionConfig classes.
- TestActionServlet.CustomFormBeanConfig - Class in org.apache.struts.action
-
Used for testing custom FormBeanConfig classes.
- TestActionServlet.CustomForwardConfig - Class in org.apache.struts.action
-
Used for testing custom ForwardConfig classes.
- testActionURL1() - Method in class org.apache.struts.util.TestRequestUtils
- testActionURL2() - Method in class org.apache.struts.util.TestRequestUtils
- testActionURL3() - Method in class org.apache.struts.util.TestRequestUtils
- testActionWithTwoIntegers() - Method in class org.apache.struts.action.TestActionMessage
- testAddMessages() - Method in class org.apache.struts.action.TestActionMessages
-
Tests adding an ActionMessages object to an ActionMessages object.
- TestAuthorizeAction - Class in org.apache.struts.chain.commands.servlet
-
JUnitTest case for class:
AuthorizeAction
- TestAuthorizeAction() - Constructor for class org.apache.struts.chain.commands.servlet.TestAuthorizeAction
- testAuthorizeNoRoles() - Method in class org.apache.struts.chain.commands.servlet.TestAuthorizeAction
- testAuthorizeOneOfManyRoles() - Method in class org.apache.struts.chain.commands.servlet.TestAuthorizeAction
- testAuthorizeOneRole() - Method in class org.apache.struts.chain.commands.servlet.TestAuthorizeAction
- testBasicInherit() - Method in class org.apache.struts.config.TestFormPropertyConfig
- testBean - Variable in class org.apache.struts.validator.TestValidWhen
- testBeanCreate() - Method in class org.apache.struts.action.TestDynaActionForm
- testCheckCircularInheritance() - Method in class org.apache.struts.config.TestActionConfig
-
Basic check that shouldn't detect circular inheritance.
- testCheckCircularInheritance() - Method in class org.apache.struts.config.TestFormBeanConfig
-
Basic check that shouldn't detect an error.
- testCheckCircularInheritanceActionForwardExtendGlobal() - Method in class org.apache.struts.config.TestForwardConfig
-
Test checkCircularInheritance() for circular inheritance between a forward declared in an action and a global forward.
- testCheckCircularInheritanceActionForwardExtendGlobalSameName() - Method in class org.apache.struts.config.TestForwardConfig
-
Test checkCircularInheritance() for circular inheritance between a forward declared in an action and a global forward and both forwards have the same name.
- testCheckCircularInheritanceActionForwardsBasic() - Method in class org.apache.struts.config.TestForwardConfig
-
Test checkCircularInheritance() for circular inheritance between forwards in an action.
- testCheckCircularInheritanceActionForwardsNoConflict() - Method in class org.apache.struts.config.TestForwardConfig
-
Test checkCircularInheritance() for circular inheritance between forwards in an action.
- testCheckCircularInheritanceBasicGlobal() - Method in class org.apache.struts.config.TestForwardConfig
-
Test checkCircularInheritance() for circular inheritance between global forwards.
- testCheckCircularInheritanceError() - Method in class org.apache.struts.config.TestActionConfig
-
Basic check that should detect circular inheritance.
- testCheckCircularInheritanceError() - Method in class org.apache.struts.config.TestFormBeanConfig
-
Basic check that SHOULD detect an error.
- testCheckCircularInheritanceGlobal2Levels() - Method in class org.apache.struts.config.TestForwardConfig
-
Test checkCircularInheritance() for circular inheritance between global forwards.
- testCheckCircularInheritanceNoConflicts() - Method in class org.apache.struts.config.TestForwardConfig
-
Test checkCircularInheritance() for when there is no circular inheritance.
- testCheckCircularInheritanceNoExtends() - Method in class org.apache.struts.config.TestForwardConfig
-
Make sure checkCircularInheritance() works as expected where there is no inheritance set up.
- testCheckMultipleSubstitutions() - Method in class org.apache.struts.config.TestActionConfigMatcher
- testCheckSubstitutionsMatch() - Method in class org.apache.struts.config.TestActionConfigMatcher
- testClassCreate() - Method in class org.apache.struts.action.TestDynaActionFormClass
- TestCommonsMultipartRequestHandler - Class in org.apache.struts.upload
-
Unit tests for the
CommonsMultipartRequestHandler
class. - TestCommonsMultipartRequestHandler() - Constructor for class org.apache.struts.upload.TestCommonsMultipartRequestHandler
- testConfigAdd() - Method in class org.apache.struts.action.TestDynaActionFormClass
- testConfigCreate() - Method in class org.apache.struts.action.TestDynaActionFormClass
- testConfigDuplicate() - Method in class org.apache.struts.action.TestDynaActionFormClass
- testConfigInitialValues() - Method in class org.apache.struts.action.TestDynaActionFormClass
- testConfigProperties() - Method in class org.apache.struts.action.TestDynaActionFormClass
- testConfigRemove() - Method in class org.apache.struts.action.TestDynaActionFormClass
- TestCopyFormToContext - Class in org.apache.struts.chain.commands.generic
-
Unit tests for
CopyFormToContext
. - TestCopyFormToContext() - Constructor for class org.apache.struts.chain.commands.generic.TestCopyFormToContext
- testCopyToDefaultContextKey() - Method in class org.apache.struts.chain.commands.generic.TestCopyFormToContext
- testCreateActionForm1a() - Method in class org.apache.struts.util.TestRequestUtils
- testCreateActionForm1b() - Method in class org.apache.struts.util.TestRequestUtils
- testCreateActionForm2a() - Method in class org.apache.struts.util.TestRequestUtils
- testCreateActionForm2b() - Method in class org.apache.struts.util.TestRequestUtils
- testCreateActionForm3a() - Method in class org.apache.struts.util.TestRequestUtils
- testCreateActionForm3b() - Method in class org.apache.struts.util.TestRequestUtils
- testCreateActionForm4a() - Method in class org.apache.struts.util.TestRequestUtils
- testCustomMappingParse() - Method in class org.apache.struts.config.TestModuleConfig
-
Tests a struts-config.xml that contains a custom mapping and property.
- testCustomMappingParse1_1() - Method in class org.apache.struts.config.TestModuleConfig
-
Tests a struts-config.xml that contains a custom mapping and property.
- testDefaultMode() - Method in class org.apache.struts.util.TestPropertyMessageResources
-
Test Struts default PropertyMessageResources behaviour
- testDeterminePage01() - Method in class org.apache.struts.validator.TestDynaValidatorForm
-
Test value of determine page.
- testDeterminePage01() - Method in class org.apache.struts.validator.TestValidatorForm
-
Test value of determine page.
- testDeterminePage02() - Method in class org.apache.struts.validator.TestDynaValidatorForm
-
Test value of determine page.
- testDeterminePage02() - Method in class org.apache.struts.validator.TestValidatorForm
-
Test value of determine page.
- testDeterminePage03() - Method in class org.apache.struts.validator.TestDynaValidatorForm
-
Test value of determine page.
- testDeterminePage03() - Method in class org.apache.struts.validator.TestValidatorForm
-
Test value of determine page.
- testDeterminePage04() - Method in class org.apache.struts.validator.TestDynaValidatorForm
-
Test value of determine page.
- testDeterminePage04() - Method in class org.apache.struts.validator.TestValidatorForm
-
Test value of determine page.
- testDouble() - Method in class org.apache.struts.validator.TestValidWhen
-
Test double values
- TestDynaActionForm - Class in org.apache.struts.action
-
Suite of unit tests for the
DynaActionForm
class. - TestDynaActionForm() - Constructor for class org.apache.struts.action.TestDynaActionForm
- TestDynaActionFormClass - Class in org.apache.struts.action
-
Suite of unit tests for the
DynaActionFormClass
class. - TestDynaActionFormClass() - Constructor for class org.apache.struts.action.TestDynaActionFormClass
- TestDynaValidatorForm - Class in org.apache.struts.validator
-
Unit tests for the
DynaValidatorForm
class. - TestDynaValidatorForm() - Constructor for class org.apache.struts.validator.TestDynaValidatorForm
- testEmpty() - Method in class org.apache.struts.action.TestActionMessages
- testEmptyContentTypeMultipartRequest() - Method in class org.apache.struts.upload.TestCommonsMultipartRequestHandler
-
Test with no content.
- testExceptionHandlingWithNullEverything() - Method in class org.apache.struts.chain.commands.generic.TestCopyFormToContext
- testExceptionHandlingWithNullFormName() - Method in class org.apache.struts.chain.commands.generic.TestCopyFormToContext
- testFilter() - Method in class org.apache.struts.util.TestResponseUtils
- testFloat() - Method in class org.apache.struts.validator.TestValidWhen
-
Test float values
- TestFormBeanConfig - Class in org.apache.struts.config
-
Unit tests for the
FormBeanConfig
class. - TestFormBeanConfig() - Constructor for class org.apache.struts.config.TestFormBeanConfig
- TestFormBeanConfig.CustomFormBeanConfig - Class in org.apache.struts.config
-
Used to detect that FormBeanConfig is making the right calls.
- TestFormPropertyConfig - Class in org.apache.struts.config
-
Unit tests for the
FormPropertyConfig
class. - TestFormPropertyConfig() - Constructor for class org.apache.struts.config.TestFormPropertyConfig
- TestForwardConfig - Class in org.apache.struts.config
-
Unit tests for
ForwardConfig
. - TestForwardConfig() - Constructor for class org.apache.struts.config.TestForwardConfig
- testForwardURL1() - Method in class org.apache.struts.util.TestRequestUtils
- testForwardURL2() - Method in class org.apache.struts.util.TestRequestUtils
- testForwardURL3() - Method in class org.apache.struts.util.TestRequestUtils
- testForwardURLa() - Method in class org.apache.struts.util.TestRequestUtils
- testGetAcceptPage() - Method in class org.apache.struts.config.TestActionConfig
-
Test getter of acceptPage property.
- testGetDescriptorArguments() - Method in class org.apache.struts.action.TestDynaActionForm
-
Corner cases on getDynaProperty invalid arguments.
- testGetDescriptorBase(String, Class<?>) - Method in class org.apache.struts.action.TestDynaActionForm
-
Base for testGetDescriptorXxxxx() series of tests.
- testGetDescriptorBoolean() - Method in class org.apache.struts.action.TestDynaActionForm
-
Positive getDynaProperty on property
booleanProperty
. - testGetDescriptorDouble() - Method in class org.apache.struts.action.TestDynaActionForm
-
Positive getDynaProperty on property
doubleProperty
. - testGetDescriptorFloat() - Method in class org.apache.struts.action.TestDynaActionForm
-
Positive getDynaProperty on property
floatProperty
. - testGetDescriptorInt() - Method in class org.apache.struts.action.TestDynaActionForm
-
Positive getDynaProperty on property
intProperty
. - testGetDescriptorLong() - Method in class org.apache.struts.action.TestDynaActionForm
-
Positive getDynaProperty on property
longProperty
. - testGetDescriptors() - Method in class org.apache.struts.action.TestDynaActionForm
-
Positive test for getDynaPropertys().
- testGetDescriptorSecond() - Method in class org.apache.struts.action.TestDynaActionForm
-
Positive getDynaProperty on property
booleanSecond
that uses an "is" method as the getter. - testGetDescriptorShort() - Method in class org.apache.struts.action.TestDynaActionForm
-
Positive getDynaProperty on property
shortProperty
. - testGetDescriptorString() - Method in class org.apache.struts.action.TestDynaActionForm
-
Positive getDynaProperty on property
stringProperty
. - testGetForAProperty() - Method in class org.apache.struts.action.TestActionMessages
- testGetIndexedArguments() - Method in class org.apache.struts.action.TestDynaActionForm
-
Corner cases on getIndexedProperty invalid arguments.
- testGetIndexedValues() - Method in class org.apache.struts.action.TestDynaActionForm
-
Positive and negative tests on getIndexedProperty valid arguments.
- testGetMappedArguments() - Method in class org.apache.struts.action.TestDynaActionForm
-
Corner cases on getMappedProperty invalid arguments.
- testGetMappedValues() - Method in class org.apache.struts.action.TestDynaActionForm
-
Positive and negative tests on getMappedProperty valid arguments.
- testGetSimpleArguments() - Method in class org.apache.struts.action.TestDynaActionForm
-
Corner cases on getSimpleProperty invalid arguments.
- testGetSimpleBoolean() - Method in class org.apache.struts.action.TestDynaActionForm
-
Test getSimpleProperty on a boolean property.
- testGetSimpleDouble() - Method in class org.apache.struts.action.TestDynaActionForm
-
Test getSimpleProperty on a double property.
- testGetSimpleFloat() - Method in class org.apache.struts.action.TestDynaActionForm
-
Test getSimpleProperty on a float property.
- testGetSimpleInt() - Method in class org.apache.struts.action.TestDynaActionForm
-
Test getSimpleProperty on a int property.
- testGetSimpleLong() - Method in class org.apache.struts.action.TestDynaActionForm
-
Test getSimpleProperty on a long property.
- testGetSimpleShort() - Method in class org.apache.struts.action.TestDynaActionForm
-
Test getSimpleProperty on a short property.
- testGetSimpleString() - Method in class org.apache.struts.action.TestDynaActionForm
-
Test getSimpleProperty on a String property.
- testGetWithNoProperty() - Method in class org.apache.struts.action.TestActionMessages
- testIndexedInitialize() - Method in class org.apache.struts.action.TestDynaActionForm
- testIndexedValue() - Method in class org.apache.struts.validator.TestValidWhen
-
Test Indexed Property.
- testInheritBoolean() - Method in class org.apache.struts.config.TestActionConfig
-
Make sure that correct exception is thrown if a base action can't be found.
- testInheritFrom() - Method in class org.apache.struts.config.TestActionConfig
-
Test a typical form bean configuration extension where various forwards and exception handlers should be inherited from a base form.
- testInheritFrom() - Method in class org.apache.struts.config.TestFormBeanConfig
-
Test a typical form bean configuration extension where various properties should be inherited from a base form.
- testInheritWithInitialOverride() - Method in class org.apache.struts.config.TestFormPropertyConfig
- testInheritWithSizeOverride() - Method in class org.apache.struts.config.TestFormPropertyConfig
- testInheritWithTypeOverride() - Method in class org.apache.struts.config.TestFormPropertyConfig
- testInheritWithTypeOverride2() - Method in class org.apache.struts.config.TestFormPropertyConfig
- testInitDestroyInternal() - Method in class org.apache.struts.action.TestActionServlet
-
Verify that we can initialize and destroy our internal message resources object.
- testInitModuleActionConfigsNoExtends() - Method in class org.apache.struts.action.TestActionServlet
-
Test that nothing fails if there are no extensions.
- testInitModuleExceptionConfigsNoExtends() - Method in class org.apache.struts.action.TestActionServlet
-
Test that nothing fails if there are no extensions.
- testInitModuleExceptionConfigsNullFormType() - Method in class org.apache.struts.action.TestActionServlet
-
Test that initModuleExceptionConfigs does not throw an exception when a handler with a null key is present.
- testInitModuleFormBeansNoExtends() - Method in class org.apache.struts.action.TestActionServlet
-
Test that nothing fails if there are no extensions.
- testInitModuleFormBeansNullFormType() - Method in class org.apache.struts.action.TestActionServlet
-
Test that initModuleFormBeans throws an exception when a form with a null type is present.
- testInitModuleFormBeansNullPropType() - Method in class org.apache.struts.action.TestActionServlet
-
Test that initModuleFormBeans throws an exception when a form whose prop type is null is present.
- testInitModuleForwardConfigsNoExtends() - Method in class org.apache.struts.action.TestActionServlet
-
Test that nothing fails if there are no extensions.
- testInitModuleForwardsNullFormType() - Method in class org.apache.struts.action.TestActionServlet
-
Test that initModuleForwards throws an exception when a forward with a null path is present.
- testInteger() - Method in class org.apache.struts.validator.TestValidWhen
-
Test integer values.
- testJoined() - Method in class org.apache.struts.validator.TestValidWhen
-
Test Joined expressions ('and' or 'or')
- testJstlMode() - Method in class org.apache.struts.util.TestPropertyMessageResources
-
Test JSTL compatible PropertyMessageResources behaviour
- TestLogger - Class in org.apache.struts.util
-
Logger to collect all log-messages.
- TestLogger(String) - Constructor for class org.apache.struts.util.TestLogger
-
Constructor which sets the name of this logger
- TestLoggerFactory - Class in org.apache.struts.util
-
An implementation of
ILoggerFactory
which always returnsTestLogger
instances. - TestLoggerFactory() - Constructor for class org.apache.struts.util.TestLoggerFactory
-
Constructor
- testLookupByActionPath() - Method in class org.apache.struts.chain.commands.generic.TestCopyFormToContext
- testLookupByNameAndRequestScope() - Method in class org.apache.struts.chain.commands.generic.TestCopyFormToContext
- testLookupByNameAndSessionScope() - Method in class org.apache.struts.chain.commands.generic.TestCopyFormToContext
- testMappedContains() - Method in class org.apache.struts.action.TestDynaActionForm
-
Test
contains()
method for mapped properties. - testMappedRemove() - Method in class org.apache.struts.action.TestDynaActionForm
-
Test
remove()
method for mapped properties. - testMatchWhenSubstitutionContainsPlaceholderKey() - Method in class org.apache.struts.config.TestActionConfigMatcher
-
Verifies that an infinite loop is prevented and substitution is skipped when the the placeholder key is contained within the substituted value.
- testMatchWithKeyInPath() - Method in class org.apache.struts.config.TestActionConfigMatcher
-
Verifies that a match succeeds when the substituted value contains a placeholder key.
- testMatchWithSubstitutionEqualPlaceholderKey0() - Method in class org.apache.struts.config.TestActionConfigMatcher
-
Verifies that an infinite loop is prevented and substitution is skipped when the substituted value equals the placeholder key.
- testMatchWithSubstitutionEqualPlaceholderKey1() - Method in class org.apache.struts.config.TestActionConfigMatcher
-
Verifies that an infinite loop is prevented and substitution is skipped when the substituted value equals the placeholder key.
- TestMockBase - Class in org.apache.struts.mock
-
Convenience base class for unit tests of the
org.apache.struts.mock
package, and others that require a runtime environment similar to what the Struts controller servlet sets up. - TestMockBase() - Constructor for class org.apache.struts.mock.TestMockBase
- TestModuleConfig - Class in org.apache.struts.config
-
Unit tests for the
org.apache.struts.config
package. - TestModuleConfig() - Constructor for class org.apache.struts.config.TestModuleConfig
- testMultipartRequestMaxStringLength() - Method in class org.apache.struts.upload.TestCommonsMultipartRequestHandler
-
Test with maximum string length exceeded.
- testMultipartVisibility() - Method in class org.apache.struts.util.TestRequestUtilsPopulate
-
Ensure that the getMultipartRequestHandler cannot be seen in a subclass of ActionForm.
- testMultipleAccept() - Method in class org.apache.struts.upload.TestCommonsMultipartRequestHandler
-
Tests with multiple files sent with the same name.
- testNoMatch() - Method in class org.apache.struts.config.TestActionConfigMatcher
- testNotAuthorizedOneOfManyRoles() - Method in class org.apache.struts.chain.commands.servlet.TestAuthorizeAction
- testNotAuthorizedOneRole() - Method in class org.apache.struts.chain.commands.servlet.TestAuthorizeAction
- testNotEmpty() - Method in class org.apache.struts.action.TestActionMessages
- testNoWildcardMatch() - Method in class org.apache.struts.config.TestActionConfigMatcher
- testNull() - Method in class org.apache.struts.validator.TestValidWhen
-
Test Null.
- testNullForwardPath() - Method in class org.apache.struts.chain.commands.servlet.TestPerformForward
- testOperators() - Method in class org.apache.struts.validator.TestValidWhen
-
Test Operators.
- testParse() - Method in class org.apache.struts.config.TestModuleConfig
-
Test parsing of a struts-config.xml file.
- testParse1_1() - Method in class org.apache.struts.config.TestModuleConfig
- testParseBase(String, String, String) - Method in class org.apache.struts.config.TestModuleConfig
- TestPerformForward - Class in org.apache.struts.chain.commands.servlet
-
JUnitTest case for class:
PerformForward
- TestPerformForward() - Constructor for class org.apache.struts.chain.commands.servlet.TestPerformForward
- testPreserveActionMappingsOrder() - Method in class org.apache.struts.config.TestModuleConfig
-
Test order of action mappings defined perserved.
- testProcessActionConfigClass() - Method in class org.apache.struts.action.TestActionServlet
-
Make sure processActionConfigClass() returns an instance of the correct class if the base config is using a custom class.
- testProcessActionConfigClassNoExtends() - Method in class org.apache.struts.action.TestActionServlet
-
Make sure processActionConfigClass() returns what it was given if the action passed to it doesn't extend anything.
- testProcessActionConfigClassOverriddenSubConfigClass() - Method in class org.apache.struts.action.TestActionServlet
-
Test the case where the subconfig has already specified its own config class.
- testProcessActionConfigClassSubConfigCustomClass() - Method in class org.apache.struts.action.TestActionServlet
-
Make sure processActionConfigClass() returns the same class instance if the base config isn't using a custom class.
- testProcessActionExtension() - Method in class org.apache.struts.action.TestActionServlet
-
Test that processActionConfigExtension() calls processExtends()
- testProcessActionExtensionWithExceptionConfig() - Method in class org.apache.struts.action.TestActionServlet
-
Test that an ActionConfig's ExceptionConfig can inherit from a global ExceptionConfig.
- testProcessActionExtensionWithForwardConfig() - Method in class org.apache.struts.action.TestActionServlet
-
Test that an ActionConfig's ForwardConfig can inherit from a global ForwardConfig.
- testProcessExceptionConfigClass() - Method in class org.apache.struts.action.TestActionServlet
-
Make sure processExceptionConfigClass() returns an instance of the correct class if the base config is using a custom class.
- testProcessExceptionConfigClassNoExtends() - Method in class org.apache.struts.action.TestActionServlet
-
Make sure processExceptionConfigClass() returns what it was given if the handler passed to it doesn't extend anything.
- testProcessExceptionConfigClassOverriddenSubFormClass() - Method in class org.apache.struts.action.TestActionServlet
-
Test the case where the subconfig has already specified its own config class.
- testProcessExceptionConfigClassSubConfigCustomClass() - Method in class org.apache.struts.action.TestActionServlet
-
Make sure processExceptionConfigClass() returns the same class instance if the base config isn't using a custom class.
- testProcessExceptionExtension() - Method in class org.apache.struts.action.TestActionServlet
-
Test that processExceptionExtension() calls processExtends()
- testProcessExtendsActionExtends() - Method in class org.apache.struts.config.TestActionConfig
-
Test that processExtends() makes sure that a base action's own extension has been processed.
- testProcessExtendsActionExtendsActionExtendsGlobalWithSameName() - Method in class org.apache.struts.config.TestForwardConfig
-
Test processExtends() where an action ForwardConfig extends another ForwardConfig, which in turn extends a global ForwardConfig with the same name.
- testProcessExtendsBaseFormExtends() - Method in class org.apache.struts.config.TestFormBeanConfig
-
Test that processExtends() makes sure that a base form's own extension has been processed.
- testProcessExtendsBasicExtension() - Method in class org.apache.struts.config.TestForwardConfig
-
Test processExtends() with a basic extension.
- testProcessExtendsBasicGlobalExtension() - Method in class org.apache.struts.config.TestForwardConfig
-
Test processExtends() with a basic extension between an action config and a global config.
- testProcessExtendsConfigured() - Method in class org.apache.struts.config.TestForwardConfig
-
Make sure processExtends() throws an error when the config is already configured.
- testProcessExtendsGlobalExtendingAction() - Method in class org.apache.struts.config.TestForwardConfig
-
Test processExtends() with an incorrect setup where a global config attempts to extend an action config.
- testProcessExtendsMissingAction() - Method in class org.apache.struts.config.TestActionConfig
-
Make sure that correct exception is thrown if a base action can't be found.
- testProcessExtendsMissingBaseForm() - Method in class org.apache.struts.config.TestFormBeanConfig
-
Make sure that correct exception is thrown if a base form can't be found.
- testProcessExtendsNoExtension() - Method in class org.apache.struts.config.TestForwardConfig
-
Test processExtends() when nothing is extended.
- testProcessExtendsSameNames() - Method in class org.apache.struts.config.TestForwardConfig
-
Test processExtends() with an action config that extends a global config with the same name.
- testProcessFormBeanConfigClass() - Method in class org.apache.struts.action.TestActionServlet
-
Make sure processFormBeanConfigClass() returns an instance of the correct class if the base config is using a custom class.
- testProcessFormBeanConfigClassNoExtends() - Method in class org.apache.struts.action.TestActionServlet
-
Make sure processFormBeanConfigClass() returns what it was given if the form passed to it doesn't extend anything.
- testProcessFormBeanConfigClassOverriddenSubFormClass() - Method in class org.apache.struts.action.TestActionServlet
-
Test the case where the subform has already specified its own form bean config class.
- testProcessFormBeanConfigClassSubFormCustomClass() - Method in class org.apache.struts.action.TestActionServlet
-
Make sure processFormBeanConfigClass() returns the same class instance if the base config isn't using a custom class.
- testProcessFormBeanExtension() - Method in class org.apache.struts.action.TestActionServlet
-
Test that processFormBeanExtension() calls processExtends()
- testProcessForwardConfigClass() - Method in class org.apache.struts.action.TestActionServlet
-
Make sure processForwardConfigClass() returns an instance of the correct class if the base config is using a custom class.
- testProcessForwardConfigClassNoExtends() - Method in class org.apache.struts.action.TestActionServlet
-
Make sure processForwardConfigClass() returns what it was given if the forward passed to it doesn't extend anything.
- testProcessForwardConfigClassOverriddenSubConfigClass() - Method in class org.apache.struts.action.TestActionServlet
-
Test the case where the subconfig has already specified its own config class.
- testProcessForwardConfigClassSubConfigCustomClass() - Method in class org.apache.struts.action.TestActionServlet
-
Make sure processForwardConfigClass() returns the same class instance if the base config isn't using a custom class.
- testProcessForwardExtension() - Method in class org.apache.struts.action.TestActionServlet
-
Test that processForwardExtension() calls processExtends()
- testProperty() - Method in class org.apache.struts.validator.TestValidWhen
-
Test Operators.
- TestPropertyMessageResources - Class in org.apache.struts.util
-
Unit tests for
PropertyMessageResources
. - TestPropertyMessageResources() - Constructor for class org.apache.struts.util.TestPropertyMessageResources
- testRequestParameterIgnore1() - Method in class org.apache.struts.util.TestRequestUtilsPopulate
-
Ensure that the parameter of HTTP request which causes ClassLoader manipulation is ignored.
- testRequestParameterIgnore2() - Method in class org.apache.struts.util.TestRequestUtilsPopulate
-
Ensure that the parameter of HTTP request which causes ClassLoader manipulation is ignored.
- testRequestParameterIgnore3() - Method in class org.apache.struts.util.TestRequestUtilsPopulate
-
Ensure that the parameter of HTTP request which causes ClassLoader manipulation is ignored.
- testRequestParameterIgnore4() - Method in class org.apache.struts.util.TestRequestUtilsPopulate
-
Ensure that the parameter of HTTP request which causes ClassLoader manipulation is ignored.
- testRequestURL() - Method in class org.apache.struts.util.TestRequestUtils
- TestRequestUtils - Class in org.apache.struts.util
-
Unit tests for
RequestUtils
. - TestRequestUtils() - Constructor for class org.apache.struts.util.TestRequestUtils
- TestRequestUtilsPopulate - Class in org.apache.struts.util
-
Unit tests for the RequestUtil's
populate
method. - TestRequestUtilsPopulate() - Constructor for class org.apache.struts.util.TestRequestUtilsPopulate
- testResetGet() - Method in class org.apache.struts.action.TestDynaActionForm
-
Test the reset method when the request method is GET.
- testResetPost() - Method in class org.apache.struts.action.TestDynaActionForm
-
Test the reset method when the request method is GET.
- testResourceBundleMode() - Method in class org.apache.struts.util.TestPropertyMessageResources
-
Test "PropertyResourceBundle" compatible PropertyMessageResources behaviour
- TestResponseUtils - Class in org.apache.struts.util
-
Unit tests for
ResponseUtils
. - TestResponseUtils() - Constructor for class org.apache.struts.util.TestResponseUtils
- testSame() - Method in class org.apache.struts.chain.commands.generic.TestWrappingLookupCommand
- testScalarInitialize() - Method in class org.apache.struts.action.TestDynaActionForm
- testSelectApplication1a() - Method in class org.apache.struts.util.TestRequestUtils
- testSelectApplication1b() - Method in class org.apache.struts.util.TestRequestUtils
- testSelectApplication2a() - Method in class org.apache.struts.util.TestRequestUtils
- testSelectApplication2b() - Method in class org.apache.struts.util.TestRequestUtils
- testServerURL() - Method in class org.apache.struts.util.TestRequestUtils
- TestServiceProvider - Class in org.apache.struts.util
-
Implements the
SLF4JServiceProvider
to work withTestLogger
during the test-phase. - TestServiceProvider() - Constructor for class org.apache.struts.util.TestServiceProvider
- testSetAcceptPage() - Method in class org.apache.struts.config.TestActionConfig
-
Test setter of acceptPage property.
- testSetIndexedArguments() - Method in class org.apache.struts.action.TestDynaActionForm
-
Corner cases on setIndexedProperty invalid arguments.
- testSetIndexedValues() - Method in class org.apache.struts.action.TestDynaActionForm
-
Positive and negative tests on setIndexedProperty valid arguments.
- testSetMappedValues() - Method in class org.apache.struts.action.TestDynaActionForm
-
Positive and negative tests on setMappedProperty valid arguments.
- testSetOriginalURI() - Method in class org.apache.struts.chain.commands.servlet.TestSetOriginalURI
- TestSetOriginalURI - Class in org.apache.struts.chain.commands.servlet
-
JUnitTest case for class:
SetOriginalURI
- TestSetOriginalURI() - Constructor for class org.apache.struts.chain.commands.servlet.TestSetOriginalURI
- testSetSimpleBoolean() - Method in class org.apache.struts.action.TestDynaActionForm
-
Test setSimpleProperty on a boolean property.
- testSetSimpleDouble() - Method in class org.apache.struts.action.TestDynaActionForm
-
Test setSimpleProperty on a double property.
- testSetSimpleFloat() - Method in class org.apache.struts.action.TestDynaActionForm
-
Test setSimpleProperty on a float property.
- testSetSimpleInt() - Method in class org.apache.struts.action.TestDynaActionForm
-
Test setSimpleProperty on a int property.
- testSetSimpleLong() - Method in class org.apache.struts.action.TestDynaActionForm
-
Test setSimpleProperty on a long property.
- testSetSimpleShort() - Method in class org.apache.struts.action.TestDynaActionForm
-
Test setSimpleProperty on a short property.
- testSetSimpleString() - Method in class org.apache.struts.action.TestDynaActionForm
-
Test setSimpleProperty on a String property.
- testShouldMatch() - Method in class org.apache.struts.config.TestActionConfigMatcher
- testSizeAndEmptyAfterClear() - Method in class org.apache.struts.action.TestActionMessages
- testSizeWithManyProperties() - Method in class org.apache.struts.action.TestActionMessages
- testSizeWithOneProperty() - Method in class org.apache.struts.action.TestActionMessages
- testString() - Method in class org.apache.struts.validator.TestValidWhen
-
Test String values.
- testSuccessUploadOfATextFileMultipartRequest() - Method in class org.apache.struts.upload.TestCommonsMultipartRequestHandler
-
Test for an successful upload.
- testToStringAcceptPage() - Method in class org.apache.struts.config.TestActionConfig
-
Test a String object representing the value of the ActionConfig object.
- testUnacceptedNumberOfFiles() - Method in class org.apache.struts.upload.TestCommonsMultipartRequestHandler
-
Tests with multiple files sent with the same name.
- testUtilBaseEnvironment() - Method in class org.apache.struts.mock.TestMockBase
- TestValidatorForm - Class in org.apache.struts.validator
-
Unit tests for the
ValidatorForm
class. - TestValidatorForm() - Constructor for class org.apache.struts.validator.TestValidatorForm
- TestValidWhen - Class in org.apache.struts.validator
-
Unit tests for the ValidWhen Parser/Lexer.
- TestValidWhen() - Constructor for class org.apache.struts.validator.TestValidWhen
- testWrapContextSubclass() - Method in class org.apache.struts.chain.commands.generic.TestWrappingLookupCommand
- TestWrappingLookupCommand - Class in org.apache.struts.chain.commands.generic
-
JUnitTest case for class:
WrappingLookupCommand
- TestWrappingLookupCommand() - Constructor for class org.apache.struts.chain.commands.generic.TestWrappingLookupCommand
U
- upgrade(Class<T>) - Method in class org.apache.struts.mock.MockHttpServletRequest
All Classes and Interfaces|All Packages|Serialized Form