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
protected void setUp() throws Exception
setUp
in class TestNGXWorkTestCase
Exception
protected 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.protected void tearDown() throws Exception
tearDown
in class TestNGXWorkTestCase
Exception
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.