com.khubla.pragmatach.contrib.testsupport.dao
Class AbstractDAOTest<T,I extends Serializable>

java.lang.Object
  extended by com.khubla.pragmatach.contrib.testsupport.dao.AbstractDAOTest<T,I>

public abstract class AbstractDAOTest<T,I extends Serializable>
extends Object

Author:
tome

Constructor Summary
AbstractDAOTest()
           
 
Method Summary
abstract  DAO<T,I> getDAO()
          get the DAO
abstract  I getId(T t)
          get id
abstract  T getInstance()
          get an instance
 void setupClass()
          for the class
 void testCRUD()
          basic CRUD tests on the DAO
 void testPager()
          test that we can get pager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractDAOTest

public AbstractDAOTest()
Method Detail

getDAO

public abstract DAO<T,I> getDAO()
get the DAO


getId

public abstract I getId(T t)
get id


getInstance

public abstract T getInstance()
get an instance


setupClass

public void setupClass()
for the class


testCRUD

public void testCRUD()
basic CRUD tests on the DAO


testPager

public void testPager()
test that we can get pager



Copyright © 2014 khubla.com. All rights reserved.