Index
All Classes and Interfaces|All Packages
A
- applicationContext - Variable in class org.apache.struts2.junit.StrutsSpringJUnit4TestCase
- applicationContext - Static variable in class org.apache.struts2.junit.StrutsSpringTestCase
- applyAdditionalParams(ActionContext) - Method in class org.apache.struts2.junit.StrutsTestCase
-
Can be overwritten in subclass to provide additional context's params and settings used during action invocation
- assertEquals(URL, String) - Static method in class org.apache.struts2.junit.util.TestUtils
C
- compare(URL, String) - Static method in class org.apache.struts2.junit.util.TestUtils
-
Attempt to verify the contents of text against the contents of the URL specified.
- containsErrors() - Method in class org.apache.struts2.junit.StrutsJUnit4TestCase
- ConventionPluginResourceLoader - Class in org.apache.struts2.junit
- ConventionPluginResourceLoader() - Constructor for class org.apache.struts2.junit.ConventionPluginResourceLoader
- createAction(Class<T>) - Method in class org.apache.struts2.junit.StrutsTestCase
-
A helper method which allows instantiate an action if this action extends
ActionSupport
or any other action class that requires framework's dependencies injection.
D
- dispatcher - Variable in class org.apache.struts2.junit.StrutsJUnit4TestCase
- dispatcher - Variable in class org.apache.struts2.junit.StrutsTestCase
- dispatcherInitParams - Variable in class org.apache.struts2.junit.StrutsJUnit4TestCase
- dispatcherInitParams - Variable in class org.apache.struts2.junit.StrutsTestCase
E
- executeAction(String) - Method in class org.apache.struts2.junit.StrutsJUnit4TestCase
-
Executes an action and returns it's output (not the result returned from execute()), but the actual output that would be written to the response.
- executeAction(String) - Method in class org.apache.struts2.junit.StrutsRestTestCase
-
Executes an action and returns it's output (not the result returned from execute()), but the actual output that would be written to the response.
- executeAction(String) - Method in class org.apache.struts2.junit.StrutsTestCase
-
Executes an action and returns it's output (not the result returned from execute()), but the actual output that would be written to the response.
- executeAction(String, String) - Method in class org.apache.struts2.junit.StrutsRestTestCase
-
Executes an action and returns it's output (not the result returned from execute()), but the actual output that would be written to the response.
F
- findValueAfterExecute(String) - Method in class org.apache.struts2.junit.StrutsJUnit4TestCase
-
gets an object from the stack after an action is executed
- findValueAfterExecute(String) - Method in class org.apache.struts2.junit.StrutsTestCase
-
gets an object from the stack after an action is executed
- finishExecution() - Method in class org.apache.struts2.junit.StrutsJUnit4TestCase
G
- getAction() - Method in class org.apache.struts2.junit.StrutsJUnit4TestCase
-
gets an object from the stack after an action is executed
- getActionMapping(HttpServletRequest) - Method in class org.apache.struts2.junit.StrutsJUnit4TestCase
-
Finds an ActionMapping for a given request
- getActionMapping(HttpServletRequest) - Method in class org.apache.struts2.junit.StrutsTestCase
-
Finds an ActionMapping for a given request
- getActionMapping(String) - Method in class org.apache.struts2.junit.StrutsJUnit4TestCase
-
Finds an ActionMapping for a given url
- getActionMapping(String) - Method in class org.apache.struts2.junit.StrutsTestCase
-
Finds an ActionMapping for a given url
- getActionProxy(String) - Method in class org.apache.struts2.junit.StrutsJUnit4TestCase
-
Creates an action proxy for a request, and sets parameters of the ActionInvocation to the passed parameters.
- getActionProxy(String) - Method in class org.apache.struts2.junit.StrutsRestTestCase
-
Creates an action proxy for a request, and sets parameters of the ActionInvocation to the passed parameters.
- getActionProxy(String) - Method in class org.apache.struts2.junit.StrutsTestCase
-
Creates an action proxy for a request, and sets parameters of the ActionInvocation to the passed parameters.
- getActionProxy(String, String) - Method in class org.apache.struts2.junit.StrutsRestTestCase
-
Creates an action proxy for a request, and sets parameters of the ActionInvocation to the passed parameters.
- getConfigPath() - Method in class org.apache.struts2.junit.StrutsJUnit4TestCase
-
Override this method to return a comma separated list of paths to a configuration file.
- getContextLocations() - Method in class org.apache.struts2.junit.StrutsSpringTestCase
- getResource(String) - Method in class org.apache.struts2.junit.ConventionPluginResourceLoader
I
- initActionContext(ActionContext) - Method in class org.apache.struts2.junit.StrutsJUnit4TestCase
- initActionContext(ActionContext) - Method in class org.apache.struts2.junit.StrutsTestCase
- initDispatcher(Map<String, String>) - Method in class org.apache.struts2.junit.StrutsJUnit4TestCase
- initDispatcher(Map<String, String>) - Method in class org.apache.struts2.junit.StrutsTestCase
- initDispatcherParams() - Method in class org.apache.struts2.junit.StrutsJUnit4TestCase
- initServletMockObjects() - Method in class org.apache.struts2.junit.StrutsJUnit4TestCase
- initServletMockObjects() - Method in class org.apache.struts2.junit.StrutsRestTestCase
- initServletMockObjects() - Method in class org.apache.struts2.junit.StrutsTestCase
- initSession(ActionContext) - Method in class org.apache.struts2.junit.StrutsJUnit4TestCase
- initSession(ActionContext) - Method in class org.apache.struts2.junit.StrutsTestCase
- injectStrutsDependencies(Object) - Method in class org.apache.struts2.junit.StrutsJUnit4TestCase
-
Injects dependencies on an Object using Struts internal IoC container
- injectStrutsDependencies(Object) - Method in class org.apache.struts2.junit.StrutsTestCase
-
Injects dependencies on an Object using Struts internal IoC container
N
- normalize(String, boolean) - Static method in class org.apache.struts2.junit.util.TestUtils
-
normalizes a string so that strings generated on different platforms can be compared.
- normalize(URL) - Static method in class org.apache.struts2.junit.util.TestUtils
O
- org.apache.struts2.junit - package org.apache.struts2.junit
- org.apache.struts2.junit.util - package org.apache.struts2.junit.util
P
- pageContext - Variable in class org.apache.struts2.junit.StrutsJUnit4TestCase
- pageContext - Variable in class org.apache.struts2.junit.StrutsTestCase
R
- readContent(URL) - Static method in class org.apache.struts2.junit.util.TestUtils
- readContent(URL, Charset) - Static method in class org.apache.struts2.junit.util.TestUtils
- request - Variable in class org.apache.struts2.junit.StrutsJUnit4TestCase
- request - Variable in class org.apache.struts2.junit.StrutsTestCase
- resourceLoader - Variable in class org.apache.struts2.junit.StrutsJUnit4TestCase
- resourceLoader - Variable in class org.apache.struts2.junit.StrutsTestCase
- response - Variable in class org.apache.struts2.junit.StrutsJUnit4TestCase
- response - Variable in class org.apache.struts2.junit.StrutsTestCase
S
- servletContext - Variable in class org.apache.struts2.junit.StrutsJUnit4TestCase
- servletContext - Variable in class org.apache.struts2.junit.StrutsTestCase
- setApplicationContext(ApplicationContext) - Method in class org.apache.struts2.junit.StrutsSpringJUnit4TestCase
- setUp() - Method in class org.apache.struts2.junit.StrutsJUnit4TestCase
-
Sets up the configuration settings, XWork configuration, and message resources
- setUp() - Method in class org.apache.struts2.junit.StrutsTestCase
-
Sets up the configuration settings, XWork configuration, and message resources
- setupAfterInitDispatcher(Dispatcher) - Method in class org.apache.struts2.junit.StrutsTestCase
- setupBeforeInitDispatcher() - Method in class org.apache.struts2.junit.StrutsJUnit4TestCase
- setupBeforeInitDispatcher() - Method in class org.apache.struts2.junit.StrutsSpringJUnit4TestCase
- setupBeforeInitDispatcher() - Method in class org.apache.struts2.junit.StrutsSpringTestCase
- setupBeforeInitDispatcher() - Method in class org.apache.struts2.junit.StrutsTestCase
- StrutsJUnit4TestCase<T> - Class in org.apache.struts2.junit
- StrutsJUnit4TestCase() - Constructor for class org.apache.struts2.junit.StrutsJUnit4TestCase
- StrutsRestTestCase<T> - Class in org.apache.struts2.junit
- StrutsRestTestCase() - Constructor for class org.apache.struts2.junit.StrutsRestTestCase
- StrutsSpringJUnit4TestCase<T> - Class in org.apache.struts2.junit
-
User: mcucchiara Date: 04/08/11 Time: 16.50
- StrutsSpringJUnit4TestCase() - Constructor for class org.apache.struts2.junit.StrutsSpringJUnit4TestCase
- StrutsSpringTestCase - Class in org.apache.struts2.junit
-
Base class for Spring JUnit actions
- StrutsSpringTestCase() - Constructor for class org.apache.struts2.junit.StrutsSpringTestCase
- StrutsTestCase - Class in org.apache.struts2.junit
-
Base test case for JUnit testing Struts.
- StrutsTestCase() - Constructor for class org.apache.struts2.junit.StrutsTestCase
T
- tearDown() - Method in class org.apache.struts2.junit.StrutsJUnit4TestCase
- tearDown() - Method in class org.apache.struts2.junit.StrutsTestCase
- TestUtils - Class in org.apache.struts2.junit.util
-
Utility methods for test classes
- TestUtils() - Constructor for class org.apache.struts2.junit.util.TestUtils
X
- XWorkJUnit4TestCase - Class in org.apache.struts2.junit
- XWorkJUnit4TestCase() - Constructor for class org.apache.struts2.junit.XWorkJUnit4TestCase
All Classes and Interfaces|All Packages