|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.discussion.DiscussionServiceImplTest
public class DiscussionServiceImplTest
Test cases for DiscussionServiceImpl
.
Constructor Summary | |
---|---|
DiscussionServiceImplTest()
|
Method Summary | |
---|---|
void |
basicListings()
Tests listing of topics in a site/node, and posts in a topic |
void |
createNewTopic()
|
void |
createNewTopicAndPostAndReply()
|
void |
createUpdateDeleteEntries()
|
static void |
deleteClassTestNodesAndUsers()
|
void |
deleteTestNodes()
|
void |
discussionsHotTopicsListing()
Checks we correctly identify hot topics |
void |
discussionsListingPermissionsChecking()
Checks that the correct permission checking occurs on fetching topic and post listings (which go through canned queries) |
static void |
initTestsContext()
|
void |
newContainerSetup()
Ensures that when we try to write an entry to the container of a new site, it is correctly setup for us. |
void |
replyListing()
Ensures that the listing / nesting of replies is correct |
void |
setAdminUser()
By default, all tests are run as the admin user. |
void |
tagging()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DiscussionServiceImplTest()
Method Detail |
---|
public static void initTestsContext() throws java.lang.Exception
java.lang.Exception
public void createNewTopic() throws java.lang.Exception
java.lang.Exception
public void createNewTopicAndPostAndReply() throws java.lang.Exception
java.lang.Exception
public void createUpdateDeleteEntries() throws java.lang.Exception
java.lang.Exception
public void basicListings() throws java.lang.Exception
java.lang.Exception
public void replyListing() throws java.lang.Exception
java.lang.Exception
public void newContainerSetup() throws java.lang.Exception
java.lang.Exception
public void tagging() throws java.lang.Exception
java.lang.Exception
public void discussionsHotTopicsListing() throws java.lang.Exception
java.lang.Exception
public void discussionsListingPermissionsChecking() throws java.lang.Exception
java.lang.Exception
public void setAdminUser()
public void deleteTestNodes() throws java.lang.Exception
java.lang.Exception
public static void deleteClassTestNodesAndUsers() throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |