com.stratelia.webactiv.util.answer.ejb
Class AnswerDAOTest

java.lang.Object
  extended by com.stratelia.webactiv.util.answer.ejb.AnswerDAOTest

@ContextConfiguration(locations="/spring-answer-embbed-datasource.xml")
public class AnswerDAOTest
extends Object

Author:
ebonnet

Constructor Summary
AnswerDAOTest()
           
 
Method Summary
 void generalSetUp()
           
 Connection getConnection()
           
 void setUp()
           
static void setUpClass()
           
 void tearDown()
           
static void tearDownClass()
           
 void testAddAnswersToAQuestion()
          Test of addAnswersToAQuestion method, of class AnswerDAO.
 void testAddAnswerToAQuestion()
          Test of addAnswerToAQuestion method, of class AnswerDAO.
 void testDeleteAnswersToAQuestion()
          Test of deleteAnswersToAQuestion method, of class AnswerDAO.
 void testDeleteAnswerToAQuestion()
          Test of deleteAnswerToAQuestion method, of class AnswerDAO.
 void testGetAnswersByQuestionPK()
          Test of getAnswersByQuestionPK method, of class AnswerDAO.
 void testRecordThisAnswerAsVote()
          Test of recordThisAnswerAsVote method, of class AnswerDAO.
 void testUpdateAnswerToAQuestion()
          Test of updateAnswerToAQuestion method, of class AnswerDAO.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnswerDAOTest

public AnswerDAOTest()
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()

testGetAnswersByQuestionPK

public void testGetAnswersByQuestionPK()
                                throws Exception
Test of getAnswersByQuestionPK method, of class AnswerDAO.

Throws:
Exception

testRecordThisAnswerAsVote

public void testRecordThisAnswerAsVote()
                                throws Exception
Test of recordThisAnswerAsVote method, of class AnswerDAO.

Throws:
Exception

testAddAnswersToAQuestion

public void testAddAnswersToAQuestion()
                               throws Exception
Test of addAnswersToAQuestion method, of class AnswerDAO.

Throws:
Exception

testAddAnswerToAQuestion

public void testAddAnswerToAQuestion()
                              throws Exception
Test of addAnswerToAQuestion method, of class AnswerDAO.

Throws:
Exception

testDeleteAnswersToAQuestion

public void testDeleteAnswersToAQuestion()
                                  throws Exception
Test of deleteAnswersToAQuestion method, of class AnswerDAO.

Throws:
Exception

testDeleteAnswerToAQuestion

public void testDeleteAnswerToAQuestion()
                                 throws Exception
Test of deleteAnswerToAQuestion method, of class AnswerDAO.

Throws:
Exception

testUpdateAnswerToAQuestion

public void testUpdateAnswerToAQuestion()
                                 throws Exception
Test of updateAnswerToAQuestion method, of class AnswerDAO.

Throws:
Exception


Copyright © 2016 Silverpeas. All Rights Reserved.