test.tester
Class GerboTest

java.lang.Object
  |
  +--TestCase
        |
        +--test.tester.GerboTest

public class GerboTest
extends TestCase

This class has a main, its only purpose it to teach you how to use the generated classes. And to test Gerbo as a JUnit test suit.

Simply run it. If you need (you probably do), change the database properties file for setting the connection string and all the nasty stuff.

See Also:
Serialized Form

Constructor Summary
GerboTest(java.lang.String s)
           
 
Method Summary
static void main(java.lang.String[] args)
           
protected  void setUp()
           
static Test suite()
           
 void testRowCount(int x)
           
 void testRowInsert()
           
 void testRowUpdate()
           
 void testSelectAndDelete()
           
 void testTablesCreation()
           
 void testTablesDropping()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GerboTest

public GerboTest(java.lang.String s)
Method Detail

main

public static void main(java.lang.String[] args)

suite

public static Test suite()

setUp

protected void setUp()
              throws DAOException
DAOException

testTablesDropping

public void testTablesDropping()
                        throws DAOException
DAOException

testTablesCreation

public void testTablesCreation()
                        throws DAOException
DAOException

testRowInsert

public void testRowInsert()
                   throws DAOException
DAOException

testRowUpdate

public void testRowUpdate()
                   throws DAOException
DAOException

testSelectAndDelete

public void testSelectAndDelete()
                         throws DAOException
DAOException

testRowCount

public void testRowCount(int x)
                  throws DAOException
DAOException