java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.struts.action.TestDynaActionFormClass
- All Implemented Interfaces:
- junit.framework.Test
- Direct Known Subclasses:
- TestDynaActionForm
- public class TestDynaActionFormClass
- extends junit.framework.TestCase
Suite of unit tests for the
org.apache.struts.action.DynaActionFormClass
class.
Fields inherited from class junit.framework.TestCase |
|
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 |
beanConfig
protected org.apache.struts.config.FormBeanConfig beanConfig
- The
FormBeanConfig
structure for the form bean we will
be creating.
dynaClass
protected DynaActionFormClass dynaClass
- The
DynaActionFormClass
to use for testing.
dynaProperties
protected static final org.apache.struts.config.FormPropertyConfig[] dynaProperties
- The set of
FormPropertyConfig
objects to use when
creating our FormBeanConfig
.
TestDynaActionFormClass
public TestDynaActionFormClass(java.lang.String theName)
- Defines the testcase name for JUnit.
main
public static void main(java.lang.String[] theArgs)
- Start the tests.
suite
public static junit.framework.Test suite()
setUp
public void setUp()
- Description copied from class:
junit.framework.TestCase
- Sets up the fixture, for example, open a network connection.
This method is called before a test is executed.
tearDown
public void tearDown()
- Description copied from class:
junit.framework.TestCase
- Tears down the fixture, for example, close a network connection.
This method is called after a test is executed.
testConfigAdd
public void testConfigAdd()
testConfigCreate
public void testConfigCreate()
testConfigDuplicate
public void testConfigDuplicate()
testConfigInitialValues
public void testConfigInitialValues()
testConfigProperties
public void testConfigProperties()
testConfigRemove
public void testConfigRemove()
testClassCreate
public void testClassCreate()