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, setTraceReqRes
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
assertEquals, 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, format
protected void setUp() throws java.lang.Exception
setUp
in class BaseWebScriptTest
java.lang.Exception
protected void tearDown() throws java.lang.Exception
tearDown
in class junit.framework.TestCase
java.lang.Exception
public void testCreateDraftPost() throws java.lang.Exception
java.lang.Exception
public void testCreateDraftPostWithTagsAndComment() throws java.lang.Exception
java.lang.Exception
public void testCreatePublishedPost() throws java.lang.Exception
java.lang.Exception
public void testCreateEmptyPost() throws java.lang.Exception
java.lang.Exception
public void testUpdated() throws java.lang.Exception
java.lang.Exception
public void testUpdateWithEmptyValues() throws java.lang.Exception
java.lang.Exception
public void testPublishThroughUpdate() throws java.lang.Exception
java.lang.Exception
public void testCannotDoUnpublish() throws java.lang.Exception
java.lang.Exception
public void testGetAll() throws java.lang.Exception
java.lang.Exception
public void testGetNew() throws java.lang.Exception
java.lang.Exception
public void testGetDrafts() throws java.lang.Exception
java.lang.Exception
public void testMyPublished() throws java.lang.Exception
java.lang.Exception
public void testComments() throws java.lang.Exception
java.lang.Exception
public void testBlogIntegration() throws java.lang.Exception
java.lang.Exception
public void _testTagsStressTest() throws java.lang.Exception
java.lang.Exception
public void off_testPostTags() throws java.lang.Exception
java.lang.Exception
public void off_testClearTags() throws java.lang.Exception
java.lang.Exception
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.