FileDocCategorySizeDatePackage
TestNGStrutsTestCase.javaAPI DocExample2037Mon Jul 23 13:26:56 BST 2007org.apache.struts2

TestNGStrutsTestCase

public class TestNGStrutsTestCase extends com.opensymphony.xwork2.TestNGXWorkTestCase
Base test class for TestNG unit tests. Provides common Struts variables and performs Struts setup and teardown processes

Fields Summary
Constructors Summary
Methods Summary
protected org.apache.struts2.dispatcher.DispatcherinitDispatcher(java.util.Map params)

        Dispatcher du = StrutsTestCaseHelper.initDispatcher(params);
        configurationManager = du.getConfigurationManager();
        configuration = configurationManager.getConfiguration();
        container = configuration.getContainer();
        return du;
    
protected voidsetUp()

        super.setUp();
        initDispatcher(null);
    
protected voidtearDown()

        super.tearDown();
        StrutsTestCaseHelper.tearDown();