Class TestNGXWorkTestCase

java.lang.Object
org.apache.struts2.testng.TestNGXWorkTestCase
Direct Known Subclasses:
StrutsTestCase

public class TestNGXWorkTestCase extends Object
Base test class for TestNG unit tests. Provides common XWork variables and performs XWork setup and teardown processes
  • Field Details

    • configurationManager

      protected com.opensymphony.xwork2.config.ConfigurationManager configurationManager
    • configuration

      protected com.opensymphony.xwork2.config.Configuration configuration
    • container

      protected com.opensymphony.xwork2.inject.Container container
    • actionProxyFactory

      protected com.opensymphony.xwork2.ActionProxyFactory actionProxyFactory
  • Constructor Details

    • TestNGXWorkTestCase

      public TestNGXWorkTestCase()
  • Method Details

    • setUp

      @BeforeTest protected void setUp() throws Exception
      Throws:
      Exception
    • tearDown

      @AfterTest protected void tearDown() throws Exception
      Throws:
      Exception
    • loadConfigurationProviders

      protected void loadConfigurationProviders(com.opensymphony.xwork2.config.ConfigurationProvider... providers)