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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GerboTest
public GerboTest(java.lang.String s)
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