com.stratelia.webactiv.forums.forumsManager.ejb
Class ForumsDAOTest

java.lang.Object
  extended by com.silverpeas.components.model.AbstractJndiCase
      extended by com.stratelia.webactiv.forums.forumsManager.ejb.ForumsDAOTest

public class ForumsDAOTest
extends com.silverpeas.components.model.AbstractJndiCase

Author:
ehugonnet

Field Summary
 
Fields inherited from class com.silverpeas.components.model.AbstractJndiCase
baseTest
 
Constructor Summary
ForumsDAOTest()
           
 
Method Summary
 void bootstrapDatabase()
           
static void generalSetUp()
           
static void generalTearDown()
           
 void shutdownDatabase()
           
 void testCreateForum()
          Test of createForum method, of class ForumsDAO.
 void testDeleteForum()
          Test of deleteForum method, of class ForumsDAO.
 void testGetForum()
          Test of getForum method, of class ForumsDAO.
 void testGetForumCreatorId()
          Test of getForumCreatorId method, of class ForumsDAO.
 void testGetForumInstanceId()
          Test of getForumInstanceId method, of class ForumsDAO.
 void testGetForumName()
          Test of getForumName method, of class ForumsDAO.
 void testGetForumParentId()
          Test of getForumParentId method, of class ForumsDAO.
 void testGetForumsByKeys()
          Test of getForumsByKeys method, of class ForumsDAO.
 void testGetForumsIds()
          Test of getForumsIds method, of class ForumsDAO.
 void testGetForumsList()
          Test of getForumsList method, of class ForumsDAO.
 void testGetForumsListByCategory()
          Test of getForumsListByCategory method, of class ForumsDAO.
 void testGetForumSonsIds()
          Test of getForumSonsIds method, of class ForumsDAO.
 void testIsForumActive()
          Test of isForumActive method, of class ForumsDAO.
 void testLockForum()
          Test of lockForum method, of class ForumsDAO.
 void testSelectByForumPKs()
          Test of selectByForumPKs method, of class ForumsDAO.
 void testUnlockForum()
          Test of unlockForum method, of class ForumsDAO.
 void testUpdateForum()
          Test of updateForum method, of class ForumsDAO.
 
Methods inherited from class com.silverpeas.components.model.AbstractJndiCase
executeDDL, loadDDL, setUp, tearDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForumsDAOTest

public ForumsDAOTest()
Method Detail

generalSetUp

public static void generalSetUp()
                         throws IOException,
                                NamingException,
                                Exception
Throws:
IOException
NamingException
Exception

generalTearDown

public static void generalTearDown()
                            throws Exception
Throws:
Exception

bootstrapDatabase

public void bootstrapDatabase()
                       throws Exception
Throws:
Exception

shutdownDatabase

public void shutdownDatabase()
                      throws Exception
Throws:
Exception

testSelectByForumPKs

public void testSelectByForumPKs()
                          throws Exception
Test of selectByForumPKs method, of class ForumsDAO.

Throws:
Exception

testGetForumsByKeys

public void testGetForumsByKeys()
                         throws Exception
Test of getForumsByKeys method, of class ForumsDAO.

Throws:
Exception

testGetForumsList

public void testGetForumsList()
                       throws Exception
Test of getForumsList method, of class ForumsDAO.

Throws:
Exception

testGetForumsIds

public void testGetForumsIds()
                      throws Exception
Test of getForumsIds method, of class ForumsDAO.

Throws:
Exception

testGetForumsListByCategory

public void testGetForumsListByCategory()
                                 throws Exception
Test of getForumsListByCategory method, of class ForumsDAO.

Throws:
Exception

testGetForumSonsIds

public void testGetForumSonsIds()
                         throws Exception
Test of getForumSonsIds method, of class ForumsDAO.

Throws:
Exception

testGetForum

public void testGetForum()
                  throws Exception
Test of getForum method, of class ForumsDAO.

Throws:
Exception

testGetForumName

public void testGetForumName()
                      throws Exception
Test of getForumName method, of class ForumsDAO.

Throws:
Exception

testIsForumActive

public void testIsForumActive()
                       throws Exception
Test of isForumActive method, of class ForumsDAO.

Throws:
Exception

testGetForumParentId

public void testGetForumParentId()
                          throws Exception
Test of getForumParentId method, of class ForumsDAO.

Throws:
Exception

testGetForumInstanceId

public void testGetForumInstanceId()
                            throws Exception
Test of getForumInstanceId method, of class ForumsDAO.

Throws:
Exception

testGetForumCreatorId

public void testGetForumCreatorId()
                           throws Exception
Test of getForumCreatorId method, of class ForumsDAO.

Throws:
Exception

testLockForum

public void testLockForum()
                   throws Exception
Test of lockForum method, of class ForumsDAO.

Throws:
Exception

testUnlockForum

public void testUnlockForum()
                     throws Exception
Test of unlockForum method, of class ForumsDAO.

Throws:
Exception

testCreateForum

public void testCreateForum()
                     throws Exception
Test of createForum method, of class ForumsDAO.

Throws:
Exception

testUpdateForum

public void testUpdateForum()
                     throws Exception
Test of updateForum method, of class ForumsDAO.

Throws:
Exception

testDeleteForum

public void testDeleteForum()
                     throws Exception
Test of deleteForum method, of class ForumsDAO.

Throws:
Exception


Copyright © 2016 Silverpeas. All Rights Reserved.