|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
pt.moredata.tests.TestCase
pt.moredata.dao.core.GenericDAOTest
GenericDAOTest.java Company MoreData
| Field Summary | |
int |
afterApplyCount
Description of the Field |
int |
afterDeleteCount
Description of the Field |
int |
afterInsertCount
Description of the Field |
int |
afterQueryCount
Description of the Field |
int |
afterRowAppliedCount
Description of the Field |
int |
afterUpdateCount
Description of the Field |
int |
beforeApplyCount
Description of the Field |
int |
beforeDeleteCount
Description of the Field |
int |
beforeInsertCount
Description of the Field |
int |
beforeQueryCount
Description of the Field |
int |
beforeRowAppliedCount
Description of the Field |
int |
beforeUpdateCount
Description of the Field |
int |
rowRetrievedCount
Description of the Field |
| Constructor Summary | |
GenericDAOTest(java.lang.String name)
Constructor for the GenericDAOTest object |
|
| Method Summary | |
static void |
main(java.lang.String[] args)
|
protected void |
setUp()
Executado antes de cada método do test case |
static junit.framework.Test |
suite()
A unit test suite for JUnit |
protected void |
tearDown()
Limpa as variaveis |
void |
testAddAllColumnsFromTable()
A unit test for JUnit |
void |
testAddApplyListener()
A unit test for JUnit |
void |
testAddColumn()
A unit test for JUnit |
void |
testAddDeleteListener()
A unit test for JUnit |
void |
testAddDescColumn()
A unit test for JUnit |
void |
testAddInsertListener()
A unit test for JUnit |
void |
testAddJoin()
A unit test for JUnit |
void |
testAddJoinClause()
Test of addJoinClause method, of class pt.moredata.dao.GenericDAO. |
void |
testAddMetaField()
A unit test for JUnit |
void |
testAddOrderBy()
A unit test for JUnit |
void |
testAddPkColumn()
A unit test for JUnit |
void |
testAddPkToListMap()
A unit test for JUnit |
void |
testAddQueryListener()
A unit test for JUnit |
void |
testAddRowAppliedListener()
A unit test for JUnit |
void |
testAddRowRetrivedListener()
A unit test for JUnit |
void |
testAddSecTable()
A unit test for JUnit |
void |
testAddTable()
Test of addTable method, of class pt.moredata.dao.GenericDAO. |
void |
testAddUpdateListener()
A unit test for JUnit |
void |
testApply()
A unit test for JUnit |
void |
testApplyEvents()
Este metodo testa a geracao de eventos do metodo apply() |
void |
testApplyWithDynasetColumn()
A unit test for JUnit |
void |
testBackupPk()
A unit test for JUnit |
void |
testBuildDelete()
A unit test for JUnit |
void |
testBuildIndividualUpdate()
A unit test for JUnit |
void |
testBuildInsert()
A unit test for JUnit |
void |
testBuildLock()
A unit test for JUnit |
void |
testBuildQuery()
A unit test for JUnit |
void |
testBuildSuperSetUpdate()
A unit test for JUnit |
void |
testClear()
A unit test for JUnit |
void |
testClearAllJoins()
A unit test for JUnit |
void |
testClearAllSecTables()
A unit test for JUnit |
void |
testClearJoin()
A unit test for JUnit |
void |
testClearJoinClauses()
Test of clearJoinClauses method, of class pt.moredata.dao.GenericDAO. |
void |
testClearMetaFieldAt()
A unit test for JUnit |
void |
testClearMetaFields()
A unit test for JUnit |
void |
testClearOrderBy()
A unit test for JUnit |
void |
testClearRecordSet()
A unit test for JUnit |
void |
testClearSecTable()
A unit test for JUnit |
void |
testClearSecTableAt()
A unit test for JUnit |
void |
testClearWhereStr()
A unit test for JUnit |
void |
testDelete()
A unit test for JUnit |
void |
testDeleteEvents()
Este metodo testa a geracao de eventos do metodo delete() |
void |
testDeleteFromDAO()
Test of deleteFromDAO method, of class pt.moredata.dao.GenericDAO. |
void |
testDeleteFromDataSource()
Test of deleteFromDataSource method, of class pt.moredata.dao.GenericDAO. |
void |
testDeleteRow()
A unit test for JUnit |
void |
testDump()
A unit test for JUnit |
void |
testDumpMetaFields()
A unit test for JUnit |
void |
testExecuteDeleteFor()
A unit test for JUnit |
void |
testExecuteInsertFor()
A unit test for JUnit |
void |
testExecuteLockFor()
A unit test for JUnit |
void |
testExecuteQuery()
A unit test for JUnit |
void |
testExecuteUpdateFor()
A unit test for JUnit |
void |
testGetBackupCellAt()
A unit test for JUnit |
void |
testGetBadRowNumber()
A unit test for JUnit |
void |
testGetCellAt()
A unit test for JUnit |
void |
testGetCellByPk()
A unit test for JUnit |
void |
testGetCellFromPk()
A unit test for JUnit |
void |
testGetColumnName()
A unit test for JUnit |
void |
testGetColumnNames()
A unit test for JUnit |
void |
testGetColumnNumber()
A unit test for JUnit |
void |
testGetColumns()
A unit test for JUnit |
void |
testGetDataMetaField()
A unit test for JUnit |
void |
testGetDataSourceAction()
A unit test for JUnit |
void |
testGetDataSourcePk()
A unit test for JUnit |
void |
testGetDbType()
A unit test for JUnit |
void |
testGetDSource()
A unit test for JUnit |
void |
testGetMetaField()
Test of getMetaField method, of class pt.moredata.dao.GenericDAO. |
void |
testGetOrderBy()
A unit test for JUnit |
void |
testGetPKName()
A unit test for JUnit |
void |
testGetPKNameAndValue()
A unit test for JUnit |
void |
testGetPKValue()
A unit test for JUnit |
void |
testGetQueryPolicy()
Test of getQueryPolicy method, of class pt.moredata.dao.GenericDAO. |
void |
testGetRecordSet()
Test of getRecordSet method, of class pt.moredata.dao.GenericDAO. |
void |
testGetRowFromPk()
A unit test for JUnit |
void |
testGetRows()
A unit test for JUnit |
void |
testGetTableInfo()
A unit test for JUnit |
void |
testGetTableName()
A unit test for JUnit |
void |
testGetUpdateType()
A unit test for JUnit |
void |
testGetWhereStr()
A unit test for JUnit |
void |
testHasPrimaryKey()
A unit test for JUnit |
void |
testHowManySecTables()
A unit test for JUnit |
void |
testInitPktoListMap()
A unit test for JUnit |
void |
testInsert()
A unit test for JUnit |
void |
testInsertEvents()
Este metodo testa a geracao de eventos do metodo insert() |
void |
testIsCellModified()
A unit test for JUnit |
void |
testIsColumn()
A unit test for JUnit |
void |
testIsDeleted()
A unit test for JUnit |
void |
testIsDescColumn()
A unit test for JUnit |
void |
testIsInsertColumn()
A unit test for JUnit |
void |
testIsModified()
A unit test for JUnit |
void |
testIsNewRow()
A unit test for JUnit |
void |
testIsPkPart()
A unit test for JUnit |
void |
testIsPrimaryKey()
A unit test for JUnit |
void |
testIsUpdateColumn()
A unit test for JUnit |
void |
testMissingTest()
Este teste verifica se esta classe de testes implementa pelo menos um teste por cada metodo public da classe que esta a ser testada. |
void |
testPrepareDelete()
A unit test for JUnit |
void |
testPrepareInsert()
A unit test for JUnit |
void |
testPrepareLock()
A unit test for JUnit |
void |
testPrepareQuery()
A unit test for JUnit |
void |
testPrepareUpdate()
A unit test for JUnit |
void |
testQuery()
A unit test for JUnit |
void |
testQueryByPk()
A unit test for JUnit |
void |
testQueryEvents()
Este metodo testa a geracao de eventos do metodo query() |
void |
testQueryWithDynasetColumn()
A unit test for JUnit |
void |
testRebuildPkMap()
A unit test for JUnit |
void |
testRemoveApplyListener()
A unit test for JUnit |
void |
testRemoveDeleteListener()
A unit test for JUnit |
void |
testRemoveInsertListener()
A unit test for JUnit |
void |
testRemoveQueryListener()
A unit test for JUnit |
void |
testRemoveRowAppliedListener()
A unit test for JUnit |
void |
testRemoveRowRetrivedListener()
A unit test for JUnit |
void |
testRemoveTable()
Test of removeTable method, of class pt.moredata.dao.GenericDAO. |
void |
testRemoveUpdateListener()
A unit test for JUnit |
void |
testSetCellAt()
A unit test for JUnit |
void |
testSetCounterColumn()
A unit test for JUnit |
void |
testSetDataSource()
A unit test for JUnit |
void |
testSetDefaultValue()
Test of setDefaultValue method, of class pt.moredata.dao.GenericDAO. |
void |
testSetDeleted()
A unit test for JUnit |
void |
testSetDistinctQuery()
A unit test for JUnit |
void |
testSetFixedValue()
A unit test for JUnit |
void |
testSetMainTable()
A unit test for JUnit |
void |
testSetNewRow()
A unit test for JUnit |
void |
testSetOrderBy()
A unit test for JUnit |
void |
testSetQueryPolicy()
Test of setQueryPolicy method, of class pt.moredata.dao.GenericDAO. |
void |
testSetRecordValuesForDelete()
A unit test for JUnit |
void |
testSetRecordValuesForInsert()
A unit test for JUnit |
void |
testSetRecordValuesForUpdate()
A unit test for JUnit |
void |
testSetTableName()
A unit test for JUnit |
void |
testSetUpdateType()
A unit test for JUnit |
void |
testSetWhereStr()
A unit test for JUnit |
void |
testSort()
A unit test for JUnit |
void |
testUpdate()
A unit test for JUnit |
void |
testUpdateEvents()
Este metodo testa a geracao de eventos do metodo update() |
void |
testUpdateWithDynasetColumn()
A unit test for JUnit |
| Methods inherited from class pt.moredata.tests.TestCase |
assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, main, testMissingTest |
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
| Methods inherited from class junit.framework.Assert |
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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public int beforeApplyCount
public int beforeDeleteCount
public int beforeInsertCount
public int beforeQueryCount
public int beforeRowAppliedCount
public int beforeUpdateCount
public int afterApplyCount
public int afterDeleteCount
public int afterInsertCount
public int afterQueryCount
public int afterRowAppliedCount
public int afterUpdateCount
public int rowRetrievedCount
| Constructor Detail |
public GenericDAOTest(java.lang.String name)
name - Description of the Parameter| Method Detail |
protected void setUp()
protected void tearDown()
public static junit.framework.Test suite()
public void testMissingTest()
throws java.lang.SecurityException
java.lang.SecurityException - Description of the Exceptionpublic void testGetDbType()
public void testAddAllColumnsFromTable()
public void testAddColumn()
public void testAddDescColumn()
public void testAddMetaField()
public void testAddOrderBy()
public void testAddPkColumn()
public void testAddSecTable()
public void testClearAllJoins()
public void testClearJoin()
public void testAddJoin()
public void testSetWhereStr()
public void testClearWhereStr()
public void testClearMetaFields()
public void testClearMetaFieldAt()
public void testIsPrimaryKey()
public void testHasPrimaryKey()
public void testBackupPk()
public void testClear()
public void testClearOrderBy()
public void testClearRecordSet()
public void testIsPkPart()
public void testDelete()
public void testDeleteRow()
public void testGetBackupCellAt()
public void testGetBadRowNumber()
public void testGetCellAt()
public void testGetCellByPk()
public void testGetCellFromPk()
public void testGetColumnName()
public void testGetColumnNames()
public void testGetColumnNumber()
throws DAORuntimeException
DAORuntimeException - Description of the Exceptionpublic void testGetColumns()
public void testAddPkToListMap()
public void testSetTableName()
public void testGetDSource()
public void testGetDataSourceAction()
public void testGetDataSourcePk()
public void testGetDataMetaField()
public void testGetOrderBy()
public void testSetOrderBy()
public void testGetPKName()
public void testGetPKNameAndValue()
public void testGetPKValue()
public void testGetRowFromPk()
public void testGetRows()
public void testGetTableInfo()
public void testGetTableName()
public void testGetUpdateType()
public void testSetUpdateType()
public void testGetWhereStr()
public void testInsert()
public void testQueryByPk()
public void testIsCellModified()
public void testIsColumn()
public void testIsDeleted()
public void testIsDescColumn()
public void testIsInsertColumn()
public void testIsModified()
public void testIsNewRow()
public void testIsUpdateColumn()
public void testSetCellAt()
public void testSetCounterColumn()
public void testSetDataSource()
public void testSetDeleted()
public void testSetFixedValue()
public void testClearAllSecTables()
public void testHowManySecTables()
public void testClearSecTableAt()
public void testClearSecTable()
public void testSetMainTable()
public void testSetNewRow()
public void testDumpMetaFields()
public void testDump()
public void testSort()
public void testGetQueryPolicy()
public void testSetQueryPolicy()
public void testAddTable()
public void testRemoveTable()
public void testAddJoinClause()
public void testClearJoinClauses()
public void testDeleteFromDataSource()
public void testDeleteFromDAO()
public void testGetMetaField()
public void testGetRecordSet()
public void testSetDefaultValue()
public void testInitPktoListMap()
public void testBuildQuery()
public void testPrepareQuery()
public void testExecuteQuery()
throws java.sql.SQLException
java.sql.SQLException - Description of the Exceptionpublic void testBuildSuperSetUpdate()
public void testBuildIndividualUpdate()
public void testPrepareUpdate()
public void testExecuteUpdateFor()
public void testSetRecordValuesForUpdate()
throws java.sql.SQLException
java.sql.SQLException - Description of the Exception
public void testSetRecordValuesForInsert()
throws java.sql.SQLException
java.sql.SQLException - Description of the Exception
public void testSetRecordValuesForDelete()
throws java.sql.SQLException
java.sql.SQLException - Description of the Exceptionpublic void testBuildInsert()
public void testPrepareInsert()
public void testExecuteInsertFor()
public void testBuildDelete()
public void testPrepareDelete()
public void testExecuteDeleteFor()
public void testBuildLock()
public void testPrepareLock()
public void testExecuteLockFor()
public void testRebuildPkMap()
throws java.sql.SQLException
java.sql.SQLException - Description of the Exceptionpublic void testAddApplyListener()
public void testAddDeleteListener()
public void testAddInsertListener()
public void testAddQueryListener()
public void testAddUpdateListener()
public void testAddRowAppliedListener()
public void testAddRowRetrivedListener()
public void testRemoveApplyListener()
public void testRemoveDeleteListener()
public void testRemoveInsertListener()
public void testRemoveQueryListener()
public void testRemoveUpdateListener()
public void testRemoveRowAppliedListener()
public void testRemoveRowRetrivedListener()
public void testApplyEvents()
public void testDeleteEvents()
public void testInsertEvents()
public void testQueryEvents()
public void testUpdateEvents()
public void testSetDistinctQuery()
public void testQuery()
public void testQueryWithDynasetColumn()
public void testUpdate()
public void testUpdateWithDynasetColumn()
public void testApply()
public void testApplyWithDynasetColumn()
public static void main(java.lang.String[] args)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||