|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.struts.action.TestDynaActionFormClass
public class TestDynaActionFormClass
Suite of unit tests for the org.apache.struts.action.DynaActionFormClass
class.
Field Summary | |
---|---|
protected FormBeanConfig |
beanConfig
The FormBeanConfig structure for the form bean we will be
creating. |
protected DynaActionFormClass |
dynaClass
The DynaActionFormClass to use for testing. |
protected static FormPropertyConfig[] |
dynaProperties
The set of FormPropertyConfig objects to use when creating
our FormBeanConfig . |
Constructor Summary | |
---|---|
TestDynaActionFormClass(String theName)
Defines the testcase name for JUnit. |
Method Summary | |
---|---|
static void |
main(String[] theArgs)
Start the tests. |
void |
setUp()
|
static junit.framework.Test |
suite()
|
void |
tearDown()
|
void |
testClassCreate()
|
void |
testConfigAdd()
|
void |
testConfigCreate()
|
void |
testConfigDuplicate()
|
void |
testConfigInitialValues()
|
void |
testConfigProperties()
|
void |
testConfigRemove()
|
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 static final FormPropertyConfig[] dynaProperties
FormPropertyConfig
objects to use when creating
our FormBeanConfig
.
protected FormBeanConfig beanConfig
FormBeanConfig
structure for the form bean we will be
creating.
protected DynaActionFormClass dynaClass
DynaActionFormClass
to use for testing.
Constructor Detail |
---|
public TestDynaActionFormClass(String theName)
theName
- the testcase's name.Method Detail |
---|
public static void main(String[] theArgs)
theArgs
- the arguments. Not usedpublic static junit.framework.Test suite()
TestSuite
) that includes all methods
starting with "test"public void setUp()
setUp
in class junit.framework.TestCase
public void tearDown()
tearDown
in class junit.framework.TestCase
public void testConfigAdd()
public void testConfigCreate()
public void testConfigDuplicate()
public void testConfigInitialValues()
public void testConfigProperties()
public void testConfigRemove()
public void testClassCreate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |