public class StrutsTestCase extends TestNGXWorkTestCase
actionProxyFactory, configuration, configurationManager, container| Constructor and Description |
|---|
StrutsTestCase() |
| Modifier and Type | Method and Description |
|---|---|
protected <T> T |
createAction(Class<T> clazz)
A helper method which allows instantiate an action if this action extends
ActionSupport or any other action class
that requires framework's dependencies injection. |
protected Dispatcher |
initDispatcher(Map<String,String> params) |
protected void |
setUp() |
protected void |
tearDown() |
loadConfigurationProviders@BeforeTest
protected void setUp()
throws Exception
setUp in class TestNGXWorkTestCaseExceptionprotected Dispatcher initDispatcher(Map<String,String> params)
protected <T> T createAction(Class<T> clazz)
ActionSupport or any other action class
that requires framework's dependencies injection.@AfterTest
protected void tearDown()
throws Exception
tearDown in class TestNGXWorkTestCaseExceptionCopyright © 2000–2023 Apache Software Foundation. All rights reserved.