org.apache.struts2
Class StrutsTestCase
java.lang.Object
com.opensymphony.xwork2.TestNGXWorkTestCase
org.apache.struts2.StrutsTestCase
- Direct Known Subclasses:
- TestNGStrutsTestCase
public class StrutsTestCase
- extends com.opensymphony.xwork2.TestNGXWorkTestCase
Base test class for TestNG unit tests. Provides common Struts variables
and performs Struts setup and teardown processes
Fields inherited from class com.opensymphony.xwork2.TestNGXWorkTestCase |
actionProxyFactory, configuration, configurationManager, container |
Method Summary |
protected org.apache.struts2.dispatcher.Dispatcher |
initDispatcher(java.util.Map<java.lang.String,java.lang.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 |
StrutsTestCase
public StrutsTestCase()
setUp
protected void setUp()
throws java.lang.Exception
- Overrides:
setUp
in class com.opensymphony.xwork2.TestNGXWorkTestCase
- Throws:
java.lang.Exception
initDispatcher
protected org.apache.struts2.dispatcher.Dispatcher initDispatcher(java.util.Map<java.lang.String,java.lang.String> params)
tearDown
protected void tearDown()
throws java.lang.Exception
- Overrides:
tearDown
in class com.opensymphony.xwork2.TestNGXWorkTestCase
- Throws:
java.lang.Exception
Copyright © 2000-2009 Apache Software Foundation. All Rights Reserved.