|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.blog.BlogServiceImplTest
public class BlogServiceImplTest
Test cases for BlogServiceImpl
.
Constructor Summary | |
---|---|
BlogServiceImplTest()
|
Method Summary | |
---|---|
void |
createDraftBlogPostsAndGetPagedResults()
|
void |
createTaggedDraftBlogPost()
|
static void |
deleteClassTestNodesAndUsers()
|
void |
deleteTestNodes()
|
void |
ensureBlogPostsAreCorrectlySorted()
|
void |
findBlogPostsByPublishedDate()
This test method uses the eventually consistent find*() method and so may fail if Lucene is disabled. |
void |
getBlogPostsFilteredByDateRange()
|
static void |
initTestsContext()
|
void |
multipleUsersCreateDraftsAndPublishedPostsAndBrowse()
This test uses two different users to create draft and internally published blog posts. |
void |
setAdminUser()
By default, all tests are run as the admin user. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BlogServiceImplTest()
Method Detail |
---|
public static void initTestsContext() 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
public void createDraftBlogPostsAndGetPagedResults() throws java.lang.Exception
java.lang.Exception
public void createTaggedDraftBlogPost() throws java.lang.Exception
java.lang.Exception
public void findBlogPostsByPublishedDate() throws java.lang.Exception
java.lang.Exception
public void ensureBlogPostsAreCorrectlySorted() throws java.lang.Exception
java.lang.Exception
public void multipleUsersCreateDraftsAndPublishedPostsAndBrowse() throws java.lang.Exception
java.lang.Exception
public void getBlogPostsFilteredByDateRange() throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |