public class BlogServiceTest extends BaseWebScriptTest
BaseWebScriptTest.BaseWebScriptTestListener, BaseWebScriptTest.HttpMethodResponse, BaseWebScriptTest.PatchMethod, BaseWebScriptTest.RemoteServer, BaseWebScriptTest.WebScriptTestListener| Constructor and Description |
|---|
BlogServiceTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
_testTagsStressTest()
Does some stress tests.
|
void |
off_testClearTags() |
void |
off_testPostTags() |
protected void |
setUp() |
protected void |
tearDown() |
void |
testBlogIntegration()
You can attach information to the blog container relating
to integration with external blogs.
|
void |
testCannotDoUnpublish() |
void |
testComments() |
void |
testCreateDraftPost() |
void |
testCreateDraftPostWithTagsAndComment() |
void |
testCreateEmptyPost() |
void |
testCreatePublishedPost() |
void |
testGetAll() |
void |
testGetDrafts() |
void |
testGetNew() |
void |
testMyPublished() |
void |
testPublishThroughUpdate() |
void |
testUpdated() |
void |
testUpdateWithEmptyValues() |
getCustomAuthenticatorFactory, getDefaultRunAs, getRemoteServer, getServer, isLogEnabled, log, sendLocalRequest, sendRemoteRequest, sendRequest, sendRequest, setCustomAuthenticatorFactory, setCustomContext, setDefaultRunAs, setListener, setRemoteServer, setTraceReqRescountTestCases, createResult, getName, run, run, runBare, runTest, setName, toStringassertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, formatprotected void setUp()
throws java.lang.Exception
setUp in class BaseWebScriptTestjava.lang.Exceptionprotected void tearDown()
throws java.lang.Exception
tearDown in class junit.framework.TestCasejava.lang.Exceptionpublic void testCreateDraftPost()
throws java.lang.Exception
java.lang.Exceptionpublic void testCreateDraftPostWithTagsAndComment()
throws java.lang.Exception
java.lang.Exceptionpublic void testCreatePublishedPost()
throws java.lang.Exception
java.lang.Exceptionpublic void testCreateEmptyPost()
throws java.lang.Exception
java.lang.Exceptionpublic void testUpdated()
throws java.lang.Exception
java.lang.Exceptionpublic void testUpdateWithEmptyValues()
throws java.lang.Exception
java.lang.Exceptionpublic void testPublishThroughUpdate()
throws java.lang.Exception
java.lang.Exceptionpublic void testCannotDoUnpublish()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetAll()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetNew()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetDrafts()
throws java.lang.Exception
java.lang.Exceptionpublic void testMyPublished()
throws java.lang.Exception
java.lang.Exceptionpublic void testComments()
throws java.lang.Exception
java.lang.Exceptionpublic void testBlogIntegration()
throws java.lang.Exception
java.lang.Exceptionpublic void _testTagsStressTest()
throws java.lang.Exception
java.lang.Exceptionpublic void off_testPostTags()
throws java.lang.Exception
java.lang.Exceptionpublic void off_testClearTags()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.