public class DiscussionServiceImplTest
extends java.lang.Object
DiscussionServiceImpl.| Constructor and Description |
|---|
DiscussionServiceImplTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
alf_9460()
Tests that "fm:post" content is not archived.
|
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() |
public static void initTestsContext()
throws java.lang.Exception
java.lang.Exceptionpublic void createNewTopic()
throws java.lang.Exception
java.lang.Exceptionpublic void createNewTopicAndPostAndReply()
throws java.lang.Exception
java.lang.Exceptionpublic void createUpdateDeleteEntries()
throws java.lang.Exception
java.lang.Exceptionpublic void basicListings()
throws java.lang.Exception
java.lang.Exceptionpublic void replyListing()
throws java.lang.Exception
java.lang.Exceptionpublic void newContainerSetup()
throws java.lang.Exception
java.lang.Exceptionpublic void tagging()
throws java.lang.Exception
java.lang.Exceptionpublic void discussionsHotTopicsListing()
throws java.lang.Exception
java.lang.Exceptionpublic void discussionsListingPermissionsChecking()
throws java.lang.Exception
java.lang.Exceptionpublic void alf_9460()
public void setAdminUser()
public void deleteTestNodes()
throws java.lang.Exception
java.lang.Exceptionpublic static void deleteClassTestNodesAndUsers()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.