|
||||||||||
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.questionReply.control.QuestionManagerTest
public class QuestionManagerTest
Field Summary |
---|
Fields inherited from class com.silverpeas.components.model.AbstractTestDao |
---|
datasource |
Constructor Summary | |
---|---|
QuestionManagerTest()
|
Method Summary | |
---|---|
protected String |
getDatasetFileName()
|
protected String |
getTableCreationFileName()
|
void |
prepareMocks()
|
void |
setUp()
|
void |
testGetAllQuestions()
Test of getAllQuestions method, of class QuestionManager. |
void |
testGetAllQuestionsByCategory()
Test of getAllQuestionsByCategory method, of class QuestionManager. |
void |
testGetInstance()
Test of getInstance method, of class QuestionManager. |
void |
testGetPublicQuestions()
Test of getPublicQuestions method, of class QuestionManager. |
void |
testGetQuestions()
Test of getQuestions method, of class QuestionManager. |
void |
testGetSimpleQuestion()
Test of getQuestion method, of class QuestionManager. |
void |
testGetWrongQuestion()
Test of getQuestion method, of class QuestionManager. |
void |
testUpdateRepliesPublicStatus()
Test of updateRepliesPublicStatus method, of class QuestionManager. |
void |
testUpdateRepliesPublicStatusShouldDeleteQuestionWithNoResponse()
Test of updateRepliesPublicStatus method, of class QuestionManager. |
void |
testUpdateRepliesPublicStatusShouldHaveNoEffectsOnPrivateReplies()
Test of updateRepliesPublicStatus method, of class QuestionManager. |
Methods inherited from class com.silverpeas.components.model.AbstractTestDao |
---|
cleanData, configureJNDIDatasource, getDataSet, getLookupName, getTableCreationScript, getTearDownOperation, prepareData, 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 |
---|
public QuestionManagerTest()
Method Detail |
---|
public void prepareMocks()
public void setUp() throws Exception
setUp
in class com.silverpeas.components.model.AbstractTestDao
Exception
public void testGetInstance()
public void testUpdateRepliesPublicStatusShouldDeleteQuestionWithNoResponse() throws Exception
Exception
public void testUpdateRepliesPublicStatusShouldHaveNoEffectsOnPrivateReplies() throws Exception
Exception
public void testUpdateRepliesPublicStatus() throws Exception
Exception
public void testGetSimpleQuestion() throws Exception
Exception
public void testGetWrongQuestion() throws Exception
Exception
public void testGetQuestions() throws Exception
Exception
public void testGetAllQuestions() throws Exception
Exception
public void testGetAllQuestionsByCategory() throws Exception
Exception
public void testGetPublicQuestions() throws Exception
Exception
protected String getDatasetFileName()
getDatasetFileName
in class com.silverpeas.components.model.AbstractTestDao
protected String getTableCreationFileName()
getTableCreationFileName
in class com.silverpeas.components.model.AbstractTestDao
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |