org.apache.struts2
Class TestNGStrutsTestCase

java.lang.Object
  extended by com.opensymphony.xwork2.TestNGXWorkTestCase
      extended by org.apache.struts2.TestNGStrutsTestCase

public class TestNGStrutsTestCase
extends TestNGXWorkTestCase

Base test class for TestNG unit tests. Provides common Struts variables and performs Struts setup and teardown processes


Field Summary
 
Fields inherited from class com.opensymphony.xwork2.TestNGXWorkTestCase
actionProxyFactory, configuration, configurationManager, container
 
Constructor Summary
TestNGStrutsTestCase()
           
 
Method Summary
protected  Dispatcher initDispatcher(Map<String,String> params)
           
protected  void setUp()
           
protected  void tearDown()
           
 
Methods inherited from class com.opensymphony.xwork2.TestNGXWorkTestCase
loadConfigurationProviders
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestNGStrutsTestCase

public TestNGStrutsTestCase()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class TestNGXWorkTestCase
Throws:
Exception

initDispatcher

protected Dispatcher initDispatcher(Map<String,String> params)

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class TestNGXWorkTestCase
Throws:
Exception


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.