com.stratelia.webactiv.calendar.model
Class TestJournalDAO

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.dbunit.DatabaseTestCase
              extended by org.dbunit.DBTestCase
                  extended by org.dbunit.JndiBasedDBTestCase
                      extended by com.silverpeas.components.model.AbstractTestDao
                          extended by com.stratelia.webactiv.calendar.model.TestJournalDAO
All Implemented Interfaces:
junit.framework.Test

public class TestJournalDAO
extends AbstractTestDao

Author:
azzedine

Field Summary
 
Fields inherited from class com.silverpeas.components.model.AbstractTestDao
datasource
 
Constructor Summary
TestJournalDAO()
           
 
Method Summary
protected  String getDatasetFileName()
           
protected  String getTableCreationFileName()
           
 void testGetLastEventsForMyContacts()
           
 void testGetMyLastEvents()
           
 void testGetNextEventsForMyContacts()
           
 void testGetNextEventsForUser()
           
 
Methods inherited from class com.silverpeas.components.model.AbstractTestDao
cleanData, configureJNDIDatasource, getDataSet, getLookupName, getTableCreationScript, getTearDownOperation, prepareData, setUp, setUpClass, tearDown, 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

TestJournalDAO

public TestJournalDAO()
Method Detail

getDatasetFileName

protected String getDatasetFileName()
Specified by:
getDatasetFileName in class AbstractTestDao

testGetNextEventsForUser

public void testGetNextEventsForUser()
                              throws Exception
Throws:
Exception

testGetNextEventsForMyContacts

public void testGetNextEventsForMyContacts()
                                    throws Exception
Throws:
Exception

testGetLastEventsForMyContacts

public void testGetLastEventsForMyContacts()
                                    throws Exception
Throws:
Exception

testGetMyLastEvents

public void testGetMyLastEvents()
                         throws Exception
Throws:
Exception

getTableCreationFileName

protected String getTableCreationFileName()
Specified by:
getTableCreationFileName in class AbstractTestDao


Copyright © 2016 Silverpeas. All Rights Reserved.