Package org.apache.struts2.testng
Class TestNGStrutsTestCase
java.lang.Object
org.apache.struts2.testng.TestNGXWorkTestCase
org.apache.struts2.testng.TestNGStrutsTestCase
Base test class for TestNG unit tests.  Provides common Struts variables
 and performs Struts setup and teardown processes
- 
Field SummaryFields inherited from class org.apache.struts2.testng.TestNGXWorkTestCaseactionProxyFactory, configuration, configurationManager, container
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected <T> TcreateAction(Class<T> clazz) A helper method which allows instantiate an action if this action extendsActionSupportor any other action class that requires framework's dependencies injection.protected DispatcherinitDispatcher(Map<String, String> params) protected voidsetUp()protected voidtearDown()Methods inherited from class org.apache.struts2.testng.TestNGXWorkTestCaseloadConfigurationProviders
- 
Constructor Details- 
TestNGStrutsTestCasepublic TestNGStrutsTestCase()
 
- 
- 
Method Details- 
setUp- Overrides:
- setUpin class- TestNGXWorkTestCase
- Throws:
- Exception
 
- 
initDispatcher
- 
createActionA helper method which allows instantiate an action if this action extendsActionSupportor any other action class that requires framework's dependencies injection.
- 
tearDown- Overrides:
- tearDownin class- TestNGXWorkTestCase
- Throws:
- Exception
 
 
-