org.apache.struts2
Class StrutsSpringTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.opensymphony.xwork2.XWorkTestCase
              extended by org.apache.struts2.StrutsTestCase
                  extended by org.apache.struts2.StrutsSpringTestCase
All Implemented Interfaces:
junit.framework.Test

public abstract class StrutsSpringTestCase
extends StrutsTestCase

Base class for Spring JUnit actions


Field Summary
protected static org.springframework.context.ApplicationContext applicationContext
           
 
Fields inherited from class org.apache.struts2.StrutsTestCase
dispatcherInitParams, pageContext, request, resourceLoader, response, servletContext
 
Fields inherited from class com.opensymphony.xwork2.XWorkTestCase
actionProxyFactory, configuration, configurationManager, container
 
Constructor Summary
StrutsSpringTestCase()
           
 
Method Summary
protected  java.lang.String[] getContextLocations()
           
protected  void setupBeforeInitDispatcher()
           
 
Methods inherited from class org.apache.struts2.StrutsTestCase
executeAction, findValueAfterExecute, getActionMapping, getActionMapping, getActionProxy, initDispatcher, initServletMockObjects, injectStrutsDependencies, setUp, tearDown
 
Methods inherited from class com.opensymphony.xwork2.XWorkTestCase
loadButAdd, loadButAdd, loadConfigurationProviders
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

applicationContext

protected static org.springframework.context.ApplicationContext applicationContext
Constructor Detail

StrutsSpringTestCase

public StrutsSpringTestCase()
Method Detail

setupBeforeInitDispatcher

protected void setupBeforeInitDispatcher()
                                  throws java.lang.Exception
Overrides:
setupBeforeInitDispatcher in class StrutsTestCase
Throws:
java.lang.Exception

getContextLocations

protected java.lang.String[] getContextLocations()


Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.