D
- DAO classT
- Entity type of the DAOpublic abstract class AbstractDaoTestLongPk<D extends AbstractDao<T,java.lang.Long>,T> extends AbstractDaoTestSinglePk<D,T,java.lang.Long>
usedPks
dao, daoAccess, daoClass, identityScopeForDao
Constructor and Description |
---|
AbstractDaoTestLongPk(java.lang.Class<D> daoClass) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Long |
createRandomPk()
K does not have to be collision free, check nextPk for collision free PKs.
|
void |
testAssignPk() |
createEntity, createEntityWithRandomPk, nextPk, queryWithDummyColumnsInFront, runLoadPkTest, setUp, testCount, testDelete, testDeleteAll, testDeleteByKeyInTx, testDeleteInTx, testInsertAndLoad, testInsertInTx, testInsertOrReplaceInTx, testInsertOrReplaceTwice, testInsertTwice, testLoadAll, testLoadPk, testLoadPkWithOffset, testQuery, testReadWithOffset, testRowId, testUpdate
clearIdentityScopeIfAny, logTableDump, setIdentityScopeBeforeSetUp, setUpTableForDao
createApplication, createDatabase, getApplication, logTableDump, tearDown, terminateApplication
assertActivityRequiresPermission, assertReadingContentUriRequiresPermission, assertWritingContentUriRequiresPermission, getContext, scrubClass, setContext, testAndroidTestCaseSetupProperly
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame
public AbstractDaoTestLongPk(java.lang.Class<D> daoClass)
protected java.lang.Long createRandomPk()
createRandomPk
in class AbstractDaoTestSinglePk<D extends AbstractDao<T,java.lang.Long>,T,java.lang.Long>
public void testAssignPk()
Available under the Apache License, Version 2.0 - Copyright © 2011-2015 greenrobot.de. All Rights Reserved.