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
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