Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.struts.action
Class TestDynaActionFormClass  view TestDynaActionFormClass download TestDynaActionFormClass.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.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.


Field Summary
protected  org.apache.struts.config.FormBeanConfig beanConfig
          The FormBeanConfig structure for the form bean we will be creating.
protected  DynaActionFormClass dynaClass
          The DynaActionFormClass to use for testing.
protected static org.apache.struts.config.FormPropertyConfig[] dynaProperties
          The set of FormPropertyConfig objects to use when creating our FormBeanConfig.
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
TestDynaActionFormClass(java.lang.String theName)
          Defines the testcase name for JUnit.
 
Method Summary
static void main(java.lang.String[] theArgs)
          Start the tests.
 void setUp()
          Sets up the fixture, for example, open a network connection.
static junit.framework.Test suite()
           
 void tearDown()
          Tears down the fixture, for example, close a network connection.
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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.

Constructor Detail

TestDynaActionFormClass

public TestDynaActionFormClass(java.lang.String theName)
Defines the testcase name for JUnit.

Method Detail

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()