|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.comment.dao.CommentRequesterTest
@ContextConfiguration(locations="/spring-comment-dao.xml") public class CommentRequesterTest
| Field Summary | |
|---|---|
protected static SilverpeasJndiCase |
baseTest
|
| Constructor Summary | |
|---|---|
CommentRequesterTest()
|
|
| Method Summary | |
|---|---|
static void |
generalSetUp()
|
void |
prepareTest()
|
void |
tearDown()
|
void |
testCreateComment()
Test of createComment method, of class JDBCCommentRequester. |
void |
testDeleteAllComments()
Test of deleteAllComments method, of class JDBCCommentRequester. |
void |
testDeleteAllCommentsOnInstanceIdOnly()
Test of deleteAllComments method, of class JDBCCommentRequester. |
void |
testDeleteAllCommentsOnNullValues()
Test of deleteAllComments method, of class JDBCCommentRequester. |
void |
testDeleteAllCommentsOnResourceIdOnly()
Test of deleteAllComments method, of class JDBCCommentRequester. |
void |
testDeleteAllCommentsOnResourceTypeOnly()
Test of deleteAllComments method, of class JDBCCommentRequester. |
void |
testDeleteComment()
Test of createComment method, of class JDBCCommentRequester. |
void |
testGetAllComments()
Test of getAllComments method, of class JDBCCommentRequester. |
void |
testGetComment()
Test of createComment method, of class JDBCCommentRequester. |
void |
testGetCommentsCount()
Test of getCommentsCount method, of class JDBCCommentRequester. |
void |
testGetDataWithNoFiltersShouldNotWork()
Test of getSocialInformationCommentsListByUserId method, of class JDBCCommentRequester. |
void |
testGetLast2Comments()
|
void |
testGetLastComments()
|
void |
testGetMostCommentedAllPublications()
Test of getMostCommentedAllPublications method, of class JDBCCommentRequester. |
void |
testGetMostCommentedAllPublicationsForAGivenResourceType()
|
void |
testGetNoLastComments()
|
void |
testGetSocialInformationCommentsAndApplyingAllFilters()
Test of getSocialInformationCommentsListByUserId method, of class JDBCCommentRequester. |
void |
testGetSocialInformationCommentsFilteredOnInstanceId()
Test of getSocialInformationComments method, of class JDBCCommentRequester. |
void |
testGetSocialInformationCommentsFilteredOnPeriod()
Test of getSocialInformationComments method, of class JDBCCommentRequester. |
void |
testGetSocialInformationCommentsFilteredOnResourceTypes()
Test of getSocialInformationComments method, of class JDBCCommentRequester. |
void |
testGetSocialInformationCommentsFilteredOnUserId()
Test of getSocialInformationComments method, of class JDBCCommentRequester. |
void |
testGetSocialInformationCommentsForOneUser()
Test of getSocialInformationComments method, of class JDBCCommentRequester. |
void |
testGetSocialInformationCommentsReturningOneSocialInformationOfCreation()
Test of getSocialInformationComments method, of class JDBCCommentRequester. |
void |
testMoveComment()
Test of createComment method, of class JDBCCommentRequester. |
void |
testUpdateComment()
Test of createComment method, of class JDBCCommentRequester. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static SilverpeasJndiCase baseTest
| Constructor Detail |
|---|
public CommentRequesterTest()
| Method Detail |
|---|
public static void generalSetUp()
throws Exception
Exception
public void prepareTest()
throws Exception
Exceptionpublic void tearDown()
public void testCreateComment()
throws Exception
Exception
public void testGetLast2Comments()
throws Exception
Exception
public void testGetLastComments()
throws Exception
Exception
public void testGetNoLastComments()
throws Exception
Exception
public void testGetComment()
throws Exception
Exception
public void testDeleteComment()
throws Exception
Exception
public void testUpdateComment()
throws Exception
Exception
public void testMoveComment()
throws Exception
Exception
public void testGetMostCommentedAllPublications()
throws Exception
Exception
public void testGetMostCommentedAllPublicationsForAGivenResourceType()
throws Exception
Exception
public void testGetCommentsCount()
throws Exception
Exception
public void testGetAllComments()
throws Exception
Exception
public void testDeleteAllComments()
throws Exception
Exception
public void testDeleteAllCommentsOnNullValues()
throws Exception
Exception
public void testDeleteAllCommentsOnResourceTypeOnly()
throws Exception
Exception
public void testDeleteAllCommentsOnResourceIdOnly()
throws Exception
Exception
public void testDeleteAllCommentsOnInstanceIdOnly()
throws Exception
Exception
public void testGetDataWithNoFiltersShouldNotWork()
throws Exception
Exception
public void testGetSocialInformationCommentsReturningOneSocialInformationOfCreation()
throws Exception
Exception
public void testGetSocialInformationCommentsForOneUser()
throws Exception
Exception
public void testGetSocialInformationCommentsFilteredOnUserId()
throws Exception
Exception
public void testGetSocialInformationCommentsFilteredOnResourceTypes()
throws Exception
Exception
public void testGetSocialInformationCommentsFilteredOnInstanceId()
throws Exception
Exception
public void testGetSocialInformationCommentsFilteredOnPeriod()
throws Exception
Exception
public void testGetSocialInformationCommentsAndApplyingAllFilters()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||