Package org.apache.struts2.util
Class StrutsTestCaseHelper
java.lang.Object
org.apache.struts2.util.StrutsTestCaseHelper
Generic test setup methods to be used with any unit testing framework.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Dispatcher
initDispatcher
(jakarta.servlet.ServletContext ctx, Map<String, String> params) static void
tearDown()
static void
tearDown
(Dispatcher dispatcher)
-
Constructor Details
-
StrutsTestCaseHelper
public StrutsTestCaseHelper()
-
-
Method Details
-
initDispatcher
public static Dispatcher initDispatcher(jakarta.servlet.ServletContext ctx, Map<String, String> params) -
tearDown
-
tearDown
public static void tearDown()
-