de.greenrobot.dao.test
Class AbstractDaoTestAbstractDao,T,K>

java.lang.Object
  extended by 
      extended by de.greenrobot.dao.test.DbTest
          extended by de.greenrobot.dao.test.AbstractDaoTest
Type Parameters:
D - DAO class
T - Entity type of the DAO
K - Key type of the DAO
Direct Known Subclasses:
AbstractDaoTestSinglePk

public abstract class AbstractDaoTestAbstractDao,T,K>
extends DbTest

    

Base class for DAO related testing. Prepares an in-memory DB and DAO.


Constructor Summary
AbstractDaoTest(java.lang.Class<D> daoClass)
           
AbstractDaoTest(java.lang.Class<D> daoClass, boolean inMemory)
           
 
Method Summary
 void setIdentityScopeBeforeSetUp(IdentityScope<K,T> identityScope)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractDaoTest

public AbstractDaoTest(java.lang.Class<D> daoClass)

AbstractDaoTest

public AbstractDaoTest(java.lang.Class<D> daoClass,
                       boolean inMemory)
Method Detail

setIdentityScopeBeforeSetUp

public void setIdentityScopeBeforeSetUp(IdentityScope<K,T> identityScope)


Copyright © 2011-2012 greenrobot.de. All Rights Reserved.