|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.comment.service.AbstractCommentTest
com.silverpeas.comment.service.DefaultCommentServiceTest
public class DefaultCommentServiceTest
Unit tests on the DefaultCommentService behaviour.
| Field Summary | |
|---|---|
static String |
TEST_RESOURCE_TYPE
|
| Constructor Summary | |
|---|---|
DefaultCommentServiceTest()
|
|
| Method Summary | |
|---|---|
void |
emptyTest()
Empty test just to check all is ok before any test running. |
protected CommentService |
getCommentService()
Gets a DefaultCommentService instance with which tests has to be performed. |
void |
setUp()
|
void |
subscribersShouldBeInvokedAtCommentAdding()
When a comment is added, then any listeners subscribed for a such events should be invoked. |
void |
subscribersShouldBeInvokedAtCommentDeletion()
When a comment is deleted, then any listeners subscribed for a such events should be invoked. |
void |
subscribersShouldBeInvokedAtSeveralCommentsDeletion()
When several comments are deleted, then any listeners subscribed for a such events should be invoked. |
void |
tearDown()
|
| Methods inherited from class com.silverpeas.comment.service.AbstractCommentTest |
|---|
boostrapMessagingSystem |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String TEST_RESOURCE_TYPE
| Constructor Detail |
|---|
public DefaultCommentServiceTest()
| Method Detail |
|---|
public void setUp()
public void tearDown()
public void emptyTest()
public void subscribersShouldBeInvokedAtCommentAdding()
throws Exception
Exception - if an error occurs during the test execution.
public void subscribersShouldBeInvokedAtCommentDeletion()
throws Exception
Exception - if an error occurs during the test execution.
public void subscribersShouldBeInvokedAtSeveralCommentsDeletion()
throws Exception
Exception - if an error occurs during the test execution.protected CommentService getCommentService()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||