Package org.apache.struts2.util
Class XWorkTestCaseHelper
java.lang.Object
org.apache.struts2.util.XWorkTestCaseHelper
Generic test setup methods to be used with any unit testing framework.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ConfigurationManager
loadConfigurationProviders
(ConfigurationManager configurationManager, ConfigurationProvider... providers) static ConfigurationManager
setUp()
static void
tearDown
(ConfigurationManager configurationManager)
-
Constructor Details
-
XWorkTestCaseHelper
public XWorkTestCaseHelper()
-
-
Method Details
-
setUp
- Throws:
Exception
-
loadConfigurationProviders
public static ConfigurationManager loadConfigurationProviders(ConfigurationManager configurationManager, ConfigurationProvider... providers) -
tearDown
- Throws:
Exception
-