Package org.apache.struts2.testng

# Class TestNGXWorkTestCase

java.lang.Object
org.apache.struts2.testng.TestNGXWorkTestCase

Direct Known Subclasses:
  `TestNGStrutsTestCase`

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

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected ActionProxyFactory`
  `actionProxyFactory`
  `protected Configuration`
  `configuration`
  `protected ConfigurationManager`
  `configurationManager`
  `protected Container`
  `container`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TestNGXWorkTestCase()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected void`
  `loadConfigurationProviders(ConfigurationProvider... providers)`
  `protected void`
  `setUp()`
  `protected void`
  `tearDown()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### configurationManager

    protected ConfigurationManager configurationManager

  - ### configuration

    protected Configuration configuration

  - ### container

    protected Container container

  - ### actionProxyFactory

    protected 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(ConfigurationProvider... providers)