com.stratelia.webactiv.util.questionContainer.ejb
Class QuestionContainerDAOTest

java.lang.Object
  extended by com.stratelia.webactiv.util.questionContainer.ejb.QuestionContainerDAOTest

@ContextConfiguration(locations="/spring-question-container-embbed-datasource.xml")
public class QuestionContainerDAOTest
extends Object

Author:
ebonnet

Constructor Summary
QuestionContainerDAOTest()
           
 
Method Summary
 void generalSetUp()
           
 Connection getConnection()
           
 void setUp()
           
static void setUpClass()
           
 void tearDown()
           
static void tearDownClass()
           
 void testAddAVoter()
          Test of addAVoter method, of class QuestionContainerDAO.
 void testAddComment()
          Test of addComment method, of class QuestionContainerDAO.
 void testCloseQuestionContainer()
          Test of closeQuestionContainer method, of class QuestionContainerDAO.
 void testCreateQuestionContainerHeader()
          Test of createQuestionContainerHeader method, of class QuestionContainerDAO.
 void testDeleteComments()
          Test of deleteComments method, of class QuestionContainerDAO.
 void testDeleteQuestionContainerHeader()
          Test of deleteQuestionContainerHeader method, of class QuestionContainerDAO.
 void testGetClosedQuestionContainers()
          Test of getClosedQuestionContainers method, of class QuestionContainerDAO.
 void testGetComments()
          Test of getComments method, of class QuestionContainerDAO.
 void testGetInWaitQuestionContainers()
          Test of getInWaitQuestionContainers method, of class QuestionContainerDAO.
 void testGetNotClosedQuestionContainers()
          Test of getNotClosedQuestionContainers method, of class QuestionContainerDAO.
 void testGetOpenedQuestionContainers()
          Test of getOpenedQuestionContainers method, of class QuestionContainerDAO.
 void testGetQuestionContainerHeader()
          Test of getQuestionContainerHeader method, of class QuestionContainerDAO.
 void testGetQuestionContainerHeaderFromResultSet()
          Test of getQuestionContainerHeaderFromResultSet method, of class QuestionContainerDAO.
 void testGetQuestionContainers_Connection_List()
          Test of getQuestionContainers method, of class QuestionContainerDAO.
 void testGetQuestionContainers_Connection_QuestionContainerPK()
          Test of getQuestionContainers method, of class QuestionContainerDAO.
 void testOpenQuestionContainer()
          Test of openQuestionContainer method, of class QuestionContainerDAO.
 void testUpdateQuestionContainerHeader()
          Test of updateQuestionContainerHeader method, of class QuestionContainerDAO.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuestionContainerDAOTest

public QuestionContainerDAOTest()
Method Detail

getConnection

public Connection getConnection()
                         throws SQLException
Throws:
SQLException

generalSetUp

public void generalSetUp()
                  throws Exception
Throws:
Exception

setUpClass

public static void setUpClass()
                       throws Exception
Throws:
Exception

tearDownClass

public static void tearDownClass()
                          throws Exception
Throws:
Exception

setUp

public void setUp()

tearDown

public void tearDown()

testGetQuestionContainerHeaderFromResultSet

public void testGetQuestionContainerHeaderFromResultSet()
                                                 throws Exception
Test of getQuestionContainerHeaderFromResultSet method, of class QuestionContainerDAO.

Throws:
Exception

testGetQuestionContainers_Connection_QuestionContainerPK

public void testGetQuestionContainers_Connection_QuestionContainerPK()
                                                              throws Exception
Test of getQuestionContainers method, of class QuestionContainerDAO.

Throws:
Exception

testGetQuestionContainers_Connection_List

public void testGetQuestionContainers_Connection_List()
                                               throws Exception
Test of getQuestionContainers method, of class QuestionContainerDAO.

Throws:
Exception

testGetOpenedQuestionContainers

public void testGetOpenedQuestionContainers()
                                     throws Exception
Test of getOpenedQuestionContainers method, of class QuestionContainerDAO.

Throws:
Exception

testGetNotClosedQuestionContainers

public void testGetNotClosedQuestionContainers()
                                        throws Exception
Test of getNotClosedQuestionContainers method, of class QuestionContainerDAO.

Throws:
Exception

testGetClosedQuestionContainers

public void testGetClosedQuestionContainers()
                                     throws Exception
Test of getClosedQuestionContainers method, of class QuestionContainerDAO.

Throws:
Exception

testGetInWaitQuestionContainers

public void testGetInWaitQuestionContainers()
                                     throws Exception
Test of getInWaitQuestionContainers method, of class QuestionContainerDAO.

Throws:
Exception

testGetQuestionContainerHeader

public void testGetQuestionContainerHeader()
                                    throws Exception
Test of getQuestionContainerHeader method, of class QuestionContainerDAO.

Throws:
Exception

testCloseQuestionContainer

public void testCloseQuestionContainer()
                                throws Exception
Test of closeQuestionContainer method, of class QuestionContainerDAO.

Throws:
Exception

testOpenQuestionContainer

public void testOpenQuestionContainer()
                               throws Exception
Test of openQuestionContainer method, of class QuestionContainerDAO.

Throws:
Exception

testCreateQuestionContainerHeader

public void testCreateQuestionContainerHeader()
                                       throws Exception
Test of createQuestionContainerHeader method, of class QuestionContainerDAO.

Throws:
Exception

testUpdateQuestionContainerHeader

public void testUpdateQuestionContainerHeader()
                                       throws Exception
Test of updateQuestionContainerHeader method, of class QuestionContainerDAO.

Throws:
Exception

testDeleteQuestionContainerHeader

public void testDeleteQuestionContainerHeader()
                                       throws Exception
Test of deleteQuestionContainerHeader method, of class QuestionContainerDAO.

Throws:
Exception

testAddAVoter

public void testAddAVoter()
                   throws Exception
Test of addAVoter method, of class QuestionContainerDAO.

Throws:
Exception

testAddComment

public void testAddComment()
                    throws Exception
Test of addComment method, of class QuestionContainerDAO.

Throws:
Exception

testGetComments

public void testGetComments()
                     throws Exception
Test of getComments method, of class QuestionContainerDAO.

Throws:
Exception

testDeleteComments

public void testDeleteComments()
                        throws Exception
Test of deleteComments method, of class QuestionContainerDAO.

Throws:
Exception


Copyright © 2016 Silverpeas. All Rights Reserved.