org.alfresco.repo.web.scripts.publishing
Class PublishingRestApiTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.alfresco.repo.web.scripts.BaseWebScriptTest
              extended by org.alfresco.repo.web.scripts.publishing.PublishingRestApiTest
All Implemented Interfaces:
junit.framework.Test

public class PublishingRestApiTest
extends BaseWebScriptTest

Since:
4.0

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
PublishingRestApiTest()
           
 
Method Summary
 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()
           
 
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

PublishingRestApiTest

public PublishingRestApiTest()
Method Detail

testGetChannels

public void testGetChannels()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testGetChannelsForNode

public void testGetChannelsForNode()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testChannelPut

public void testChannelPut()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testPublishingQueuePost

public void testPublishingQueuePost()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testPublishingEventsGet

public void testPublishingEventsGet()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testChannelTypesGet

public void testChannelTypesGet()
                         throws java.lang.Exception
Throws:
java.lang.Exception

getDataArray

public org.json.JSONArray getDataArray(org.springframework.extensions.webscripts.TestWebScriptServer.Response response)
                                throws java.lang.Exception
Throws:
java.lang.Exception

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class BaseWebScriptTest
Throws:
java.lang.Exception

tearDown

public void tearDown()
              throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.