|
||||||||||
| 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.silverpeas.social.relationShip.TestRelationShipDao
public class TestRelationShipDao
| Field Summary |
|---|
| Fields inherited from class com.silverpeas.components.model.AbstractTestDao |
|---|
datasource |
| Constructor Summary | |
|---|---|
TestRelationShipDao()
|
|
| Method Summary | |
|---|---|
protected String |
getDatasetFileName()
|
protected String |
getTableCreationFileName()
|
void |
setUp()
|
void |
tearDown()
|
void |
testCreateRelationShip()
|
void |
testDeleteRelationShip()
|
void |
testGetAllMyRelationShips()
|
void |
testGetRelationShip()
|
void |
testGetRelationShipById()
|
| 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 TestRelationShipDao()
| Method Detail |
|---|
public void setUp()
throws Exception
setUp in class AbstractTestDaoException
public void tearDown()
throws Exception
tearDown in class AbstractTestDaoExceptionprotected String getDatasetFileName()
getDatasetFileName in class AbstractTestDao
public void testCreateRelationShip()
throws Exception
Exception
public void testDeleteRelationShip()
throws Exception
Exception
public void testGetRelationShip()
throws Exception
Exception
public void testGetRelationShipById()
throws Exception
Exception
public void testGetAllMyRelationShips()
throws Exception
Exceptionprotected String getTableCreationFileName()
getTableCreationFileName in class AbstractTestDao
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||