org.jcrontab.data.tests
Class DAOTest

java.lang.Object
  extended byTestCase
      extended byorg.jcrontab.data.tests.DAOTest

public class DAOTest
extends TestCase

In order to run this test you need a void Database and GenericSQL DataSource

See Also:
Serialized Form

Constructor Summary
DAOTest(java.lang.String name)
           
 
Method Summary
static void main(java.lang.String[] args)
           
protected  void setUp()
           
static Test suite()
           
 void testAdd()
           
 void testFind()
           
 void testFindAll()
           
 void testRemove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DAOTest

public DAOTest(java.lang.String name)
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Throws:
java.lang.Exception

suite

public static Test suite()

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

testAdd

public void testAdd()
             throws java.lang.Exception
Throws:
java.lang.Exception

testFind

public void testFind()
              throws java.lang.Exception
Throws:
java.lang.Exception

testFindAll

public void testFindAll()
                 throws java.lang.Exception
Throws:
java.lang.Exception

testRemove

public void testRemove()
                throws java.lang.Exception
Throws:
java.lang.Exception