Package org.apache.struts2.junit
Class StrutsSpringJUnit4TestCase<T>
java.lang.Object
org.apache.struts2.XWorkJUnit4TestCase
org.apache.struts2.junit.XWorkJUnit4TestCase
org.apache.struts2.junit.StrutsJUnit4TestCase<T>
org.apache.struts2.junit.StrutsSpringJUnit4TestCase<T>
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
public abstract class StrutsSpringJUnit4TestCase<T>
extends StrutsJUnit4TestCase<T>
implements org.springframework.context.ApplicationContextAware
User: mcucchiara
Date: 04/08/11
Time: 16.50
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext
Fields inherited from class org.apache.struts2.junit.StrutsJUnit4TestCase
dispatcher, dispatcherInitParams, pageContext, request, resourceLoader, response, servletContext
Fields inherited from class org.apache.struts2.XWorkJUnit4TestCase
actionProxyFactory, configuration, configurationManager, container
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setApplicationContext
(org.springframework.context.ApplicationContext applicationContext) protected void
Methods inherited from class org.apache.struts2.junit.StrutsJUnit4TestCase
containsErrors, executeAction, findValueAfterExecute, finishExecution, getAction, getActionMapping, getActionMapping, getActionProxy, getConfigPath, initActionContext, initDispatcher, initDispatcherParams, initServletMockObjects, initSession, injectStrutsDependencies, setUp, tearDown
Methods inherited from class org.apache.struts2.XWorkJUnit4TestCase
loadButAdd, loadButAdd, loadConfigurationProviders
-
Field Details
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContext
-
-
Constructor Details
-
StrutsSpringJUnit4TestCase
public StrutsSpringJUnit4TestCase()
-
-
Method Details
-
setupBeforeInitDispatcher
- Overrides:
setupBeforeInitDispatcher
in classStrutsJUnit4TestCase<T>
- Throws:
Exception
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-