org.apache.struts2.util
类 StrutsTestCaseHelper

java.lang.Object
  继承者 org.apache.struts2.util.StrutsTestCaseHelper

public class StrutsTestCaseHelper
extends Object

Generic test setup methods to be used with any unit testing framework.


构造方法摘要
StrutsTestCaseHelper()
           
 
方法摘要
static Dispatcher initDispatcher(javax.servlet.ServletContext ctx, Map<String,String> params)
           
static void setUp()
          Sets up the configuration settings, XWork configuration, and message resources
static void tearDown()
           
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

StrutsTestCaseHelper

public StrutsTestCaseHelper()
方法详细信息

setUp

public static void setUp()
                  throws Exception
Sets up the configuration settings, XWork configuration, and message resources

抛出:
Exception

initDispatcher

public static Dispatcher initDispatcher(javax.servlet.ServletContext ctx,
                                        Map<String,String> params)

tearDown

public static void tearDown()
                     throws Exception
抛出:
Exception