public class PublishingRestApiTest extends BaseWebScriptTest
BaseWebScriptTest.BaseWebScriptTestListener, BaseWebScriptTest.HttpMethodResponse, BaseWebScriptTest.PatchMethod, BaseWebScriptTest.RemoteServer, BaseWebScriptTest.WebScriptTestListener| Constructor and Description |
|---|
PublishingRestApiTest() |
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONArray |
getDataArray(org.springframework.extensions.webscripts.TestWebScriptServer.Response response) |
protected void |
setUp() |
void |
tearDown() |
void |
testChannelPut() |
void |
testChannelTypesGet() |
void |
testGetChannels() |
void |
testGetChannelsForNode() |
void |
testPublishingEventsGet() |
void |
testPublishingQueuePost() |
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, formatpublic void testGetChannels()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetChannelsForNode()
throws java.lang.Exception
java.lang.Exceptionpublic void testChannelPut()
throws java.lang.Exception
java.lang.Exceptionpublic void testPublishingQueuePost()
throws java.lang.Exception
java.lang.Exceptionpublic void testPublishingEventsGet()
throws java.lang.Exception
java.lang.Exceptionpublic void testChannelTypesGet()
throws java.lang.Exception
java.lang.Exceptionpublic org.json.JSONArray getDataArray(org.springframework.extensions.webscripts.TestWebScriptServer.Response response)
throws java.lang.Exception
java.lang.Exceptionprotected void setUp()
throws java.lang.Exception
setUp in class BaseWebScriptTestjava.lang.Exceptionpublic void tearDown()
throws java.lang.Exception
tearDown in class junit.framework.TestCasejava.lang.ExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.