|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.dbunit.DatabaseTestCase
org.dbunit.DBTestCase
org.dbunit.JndiBasedDBTestCase
com.silverpeas.components.model.AbstractTestDao
com.stratelia.webactiv.util.publication.ejb.PublicationDAOTest
public class PublicationDAOTest
| Field Summary |
|---|
| Fields inherited from class com.silverpeas.components.model.AbstractTestDao |
|---|
datasource |
| Constructor Summary | |
|---|---|
PublicationDAOTest()
|
|
| Method Summary | |
|---|---|
protected String |
getDatasetFileName()
|
protected String |
getTableCreationFileName()
|
void |
setUp()
|
void |
tearDown()
|
void |
testChangeInstanceId()
Test of changeInstanceId method, of class PublicationDAO. |
void |
testGetAllPublicationsIDbyUserid()
|
void |
testInsertRow()
Test of insertRow method, of class PublicationDAO. |
void |
testLoadRow()
Test of loadRow method, of class PublicationDAO. |
void |
testSearchByKeywords()
Test of searchByKeywords method, of class PublicationDAO. |
void |
testSelectByFatherIds()
Test of selectByFatherIds method, of class PublicationDAO. |
void |
testSelectByFatherPK_5args()
Test of selectByFatherPK method, of class PublicationDAO. |
void |
testSelectByFatherPK_Connection_NodePK()
Test of selectByFatherPK method, of class PublicationDAO. |
void |
testSelectByName()
Test of selectByName method, of class PublicationDAO. |
void |
testSelectByNameAndNodeId()
Test of selectByNameAndNodeId method, of class PublicationDAO. |
void |
testSelectByPrimaryKey()
Test of selectByPrimaryKey method, of class PublicationDAO. |
void |
testSelectByPublicationName()
Test of selectByPublicationName method, of class PublicationDAO. |
void |
testSelectByPublicationNameAndNodeId()
Test of selectByPublicationNameAndNodeId method, of class PublicationDAO. |
void |
testSelectByStatus_3args_1()
Test of selectByStatus method, of class PublicationDAO. |
void |
testSelectByStatus_3args_2()
Test of selectByStatus method, of class PublicationDAO. |
void |
testStoreRow()
Test of storeRow method, of class PublicationDAO. |
| Methods inherited from class com.silverpeas.components.model.AbstractTestDao |
|---|
cleanData, configureJNDIDatasource, getDataSet, getLookupName, getTableCreationScript, getTearDownOperation, prepareData, setUpClass, tearDownClass |
| Methods inherited from class org.dbunit.JndiBasedDBTestCase |
|---|
getJNDIProperties, newDatabaseTester |
| Methods inherited from class org.dbunit.DBTestCase |
|---|
getConnection |
| Methods inherited from class org.dbunit.DatabaseTestCase |
|---|
closeConnection, getDatabaseTester, getOperationListener, getSetUpOperation, setUpDatabaseConfig |
| Methods inherited from class junit.framework.TestCase |
|---|
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PublicationDAOTest()
| Method Detail |
|---|
public void setUp()
throws Exception
setUp in class AbstractTestDaoException
public void tearDown()
throws Exception
tearDown in class AbstractTestDaoException
public void testInsertRow()
throws Exception
Exception
public void testSelectByPrimaryKey()
throws Exception
Exception
public void testSelectByPublicationName()
throws Exception
Exception
public void testSelectByPublicationNameAndNodeId()
throws Exception
Exception
public void testSelectByFatherPK_Connection_NodePK()
throws Exception
Exception
public void testSelectByFatherPK_5args()
throws Exception
Exception
public void testSelectByFatherIds()
throws Exception
Exception
public void testSelectByStatus_3args_1()
throws Exception
Exception
public void testSelectByStatus_3args_2()
throws Exception
Exception
public void testSearchByKeywords()
throws Exception
Exception
public void testLoadRow()
throws Exception
Exception
public void testChangeInstanceId()
throws Exception
Exception
public void testStoreRow()
throws Exception
Exception
public void testSelectByName()
throws Exception
Exception
public void testSelectByNameAndNodeId()
throws Exception
Exception
public void testGetAllPublicationsIDbyUserid()
throws Exception
Exceptionprotected String getDatasetFileName()
getDatasetFileName in class AbstractTestDaoprotected String getTableCreationFileName()
getTableCreationFileName in class AbstractTestDao
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||