Class StrutsSpringJUnit4TestCase<T>

java.lang.Object
com.opensymphony.xwork2.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 Details

    • applicationContext

      protected org.springframework.context.ApplicationContext applicationContext
  • Constructor Details

    • StrutsSpringJUnit4TestCase

      public StrutsSpringJUnit4TestCase()
  • Method Details

    • setupBeforeInitDispatcher

      protected void setupBeforeInitDispatcher() throws Exception
      Overrides:
      setupBeforeInitDispatcher in class StrutsJUnit4TestCase<T>
      Throws:
      Exception
    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException