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

Quick Search    Search Deep

org.apache.commons.beanutils
Class DynaResultSetTestCase  view DynaResultSetTestCase download DynaResultSetTestCase.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.apache.commons.beanutils.DynaResultSetTestCase
All Implemented Interfaces:
junit.framework.Test

public class DynaResultSetTestCase
extends junit.framework.TestCase

Test accessing ResultSets via DynaBeans.

Version:
$Revision: 1.5 $ $Date: 2004/02/28 13:18:36 $

Field Summary
protected  java.lang.String[] columns
          Names of the columns for this test.
protected  ResultSetDynaClass dynaClass
          The mock result set DynaClass to be tested.
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
DynaResultSetTestCase(java.lang.String name)
          Construct a new instance of this test case.
 
Method Summary
 void setUp()
          Set up instance variables required by this test case.
static junit.framework.Test suite()
          Return the tests included in this test suite.
 void tearDown()
          Tear down instance variables required by this test case.
 void testGetDynaProperties()
           
 void testGetDynaProperty()
           
 void testGetName()
           
 void testIteratorCount()
           
 void testIteratorResults()
           
 void testNewInstance()
           
 
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

dynaClass

protected ResultSetDynaClass dynaClass
The mock result set DynaClass to be tested.


columns

protected java.lang.String[] columns
Names of the columns for this test. Must match the order they are defined in TestResultSetMetaData, and must be all lower case.

Constructor Detail

DynaResultSetTestCase

public DynaResultSetTestCase(java.lang.String name)
Construct a new instance of this test case.

Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Set up instance variables required by this test case.


suite

public static junit.framework.Test suite()
Return the tests included in this test suite.


tearDown

public void tearDown()
Tear down instance variables required by this test case.


testGetName

public void testGetName()

testGetDynaProperty

public void testGetDynaProperty()

testGetDynaProperties

public void testGetDynaProperties()

testNewInstance

public void testNewInstance()

testIteratorCount

public void testIteratorCount()

testIteratorResults

public void testIteratorResults()