|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
com.opensymphony.xwork2.XWorkTestCase
public abstract class XWorkTestCase
Base JUnit TestCase to extend for XWork specific JUnit tests. Uses the generic test setup for logic.
Field Summary | |
---|---|
protected ActionProxyFactory |
actionProxyFactory
|
protected Configuration |
configuration
|
protected ConfigurationManager |
configurationManager
|
protected Container |
container
|
Constructor Summary | |
---|---|
XWorkTestCase()
|
Method Summary | |
---|---|
protected void |
loadButAdd(Class<?> type,
Object impl)
|
protected void |
loadButAdd(Class<?> type,
String name,
Object impl)
|
protected void |
loadConfigurationProviders(ConfigurationProvider... providers)
|
protected void |
setUp()
|
protected void |
tearDown()
|
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected ConfigurationManager configurationManager
protected Configuration configuration
protected Container container
protected ActionProxyFactory actionProxyFactory
Constructor Detail |
---|
public XWorkTestCase()
Method Detail |
---|
protected void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
protected void tearDown() throws Exception
tearDown
in class junit.framework.TestCase
Exception
protected void loadConfigurationProviders(ConfigurationProvider... providers)
protected void loadButAdd(Class<?> type, Object impl)
protected void loadButAdd(Class<?> type, String name, Object impl)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |