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

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

public abstract class AbstractDaoTestSinglePkAbstractDao,T,K>
extends AbstractDaoTest

    

Default tests for single-PK entities.


Constructor Summary
AbstractDaoTestSinglePk(java.lang.Class<D> daoClass)
           
 
Method Summary
 void testAssignPk()
           
 void testCount()
           
 void testDelete()
           
 void testDeleteAll()
           
 void testInsertAndLoad()
           
 void testInsertInTx()
           
 void testInsertOrReplaceTwice()
           
 void testInsertTwice()
           
 void testLoadAll()
           
 void testLoadPk()
           
 void testLoadPkWithOffset()
           
 void testQuery()
           
 void testReadWithOffset()
           
 void testRowId()
           
 void testUpdate()
           
 
Methods inherited from class de.greenrobot.dao.test.AbstractDaoTest
setIdentityScopeBeforeSetUp
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractDaoTestSinglePk

public AbstractDaoTestSinglePk(java.lang.Class<D> daoClass)
Method Detail

testInsertAndLoad

public void testInsertAndLoad()

testInsertInTx

public void testInsertInTx()

testAssignPk

public void testAssignPk()

testCount

public void testCount()

testInsertTwice

public void testInsertTwice()

testInsertOrReplaceTwice

public void testInsertOrReplaceTwice()

testDelete

public void testDelete()

testDeleteAll

public void testDeleteAll()

testRowId

public void testRowId()

testLoadAll

public void testLoadAll()

testQuery

public void testQuery()

testUpdate

public void testUpdate()

testReadWithOffset

public void testReadWithOffset()

testLoadPkWithOffset

public void testLoadPkWithOffset()

testLoadPk

public void testLoadPk()


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