com.silverpeas.comment.web
Class CommentGettingTest
java.lang.Object
com.sun.jersey.test.framework.JerseyTest
com.silverpeas.web.RESTWebServiceTest<T>
com.silverpeas.web.ResourceGettingTest<CommentTestResources>
com.silverpeas.comment.web.CommentGettingTest
- All Implemented Interfaces:
- WebResourceTesting
public class CommentGettingTest
- extends ResourceGettingTest<CommentTestResources>
Tests on the comment getting by the CommentResource web service.
| Methods inherited from class com.silverpeas.web.RESTWebServiceTest |
addComponentInstance, addTool, aUser, authenticate, buildQueryParametersFrom, denieAuthorizationToUsers, denieSpaceAuthorizationToUsers, getAccessControllerMock, getExistingTools, getMockedSpaceAccessController, getOrganizationControllerMock, getPersonalizationServiceMock, getTestResources, prepareMockedResources, resource, setComponentAccessibilityToUser |
| Methods inherited from class com.sun.jersey.test.framework.JerseyTest |
client, configure, getBaseURI, getClient, getClientFactory, getPort, getTestContainerFactory, setClientFactory, setTestContainerFactory, setUp, tearDown |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommentGettingTest
public CommentGettingTest()
prepareMessagingContext
public static void prepareMessagingContext()
throws Exception
- Throws:
Exception
releaseMessagingContext
public static void releaseMessagingContext()
throws Exception
- Throws:
Exception
prepareTestResources
public void prepareTestResources()
getAComment
public void getAComment()
getAllComments
public void getAllComments()
aResourceURI
public String aResourceURI()
anUnexistingResourceURI
public String anUnexistingResourceURI()
aResource
public Comment aResource()
getSessionKey
public String getSessionKey()
getWebEntityClass
public Class<?> getWebEntityClass()
getExistingComponentInstances
public String[] getExistingComponentInstances()
- Specified by:
getExistingComponentInstances in class RESTWebServiceTest<CommentTestResources>
Copyright © 2016 Silverpeas. All Rights Reserved.