|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.alfresco.repo.web.scripts.BaseWebScriptTest
org.alfresco.repo.web.scripts.blog.BlogServiceTest
public class BlogServiceTest
Unit Test to test Blog Web Script API
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.alfresco.repo.web.scripts.BaseWebScriptTest |
---|
BaseWebScriptTest.BaseWebScriptTestListener, BaseWebScriptTest.HttpMethodResponse, BaseWebScriptTest.PatchMethod, BaseWebScriptTest.RemoteServer, BaseWebScriptTest.WebScriptTestListener |
Constructor Summary | |
---|---|
BlogServiceTest()
|
Method Summary | |
---|---|
void |
_testClearTags()
|
void |
_testGetDrafts()
|
void |
_testMyPublished()
|
void |
_testPostTags()
|
void |
_testTagsStressTest()
Does some stress tests. |
protected void |
setUp()
|
protected void |
tearDown()
|
void |
testCannotDoUnpublish()
|
void |
testComments()
|
void |
testCreateDraftPost()
|
void |
testCreateEmptyPost()
|
void |
testCreatePublishedPost()
|
void |
testGetAll()
|
void |
testGetNew()
|
void |
testPublishThroughUpdate()
|
void |
testUpdated()
|
void |
testUpdateWithEmptyValues()
|
Methods inherited from class org.alfresco.repo.web.scripts.BaseWebScriptTest |
---|
getDefaultRunAs, getRemoteServer, getServer, isLogEnabled, log, sendLocalRequest, sendRemoteRequest, sendRequest, sendRequest, setCustomContext, setDefaultRunAs, setListener, setRemoteServer, setTraceReqRes |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BlogServiceTest()
Method Detail |
---|
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 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 _testTagsStressTest() throws java.lang.Exception
java.lang.Exception
public void _testPostTags() throws java.lang.Exception
java.lang.Exception
public void _testClearTags() throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |