com.silverpeas.questionReply.web
Class ReplyGettingTest

java.lang.Object
  extended by com.sun.jersey.test.framework.JerseyTest
      extended by com.silverpeas.web.RESTWebServiceTest<QuestionReplyTestResources>
          extended by com.silverpeas.questionReply.web.ReplyGettingTest

public class ReplyGettingTest
extends com.silverpeas.web.RESTWebServiceTest<QuestionReplyTestResources>

Tests on the comment getting by the CommentResource web service.


Field Summary
 
Fields inherited from class com.silverpeas.web.RESTWebServiceTest
CONTEXT_NAME
 
Constructor Summary
ReplyGettingTest()
           
 
Method Summary
 void getAllRepliesByAnAuthenticatedUser()
           
 void getAllRepliesByANonAuthenticatedUser()
           
 void getAnInvisibleQuestionByAnAuthenticatedUser()
           
 String[] getExistingComponentInstances()
           
 void preparePersonalizationAndQuestionCreator()
           
 
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
 

Constructor Detail

ReplyGettingTest

public ReplyGettingTest()
Method Detail

getAllRepliesByANonAuthenticatedUser

public void getAllRepliesByANonAuthenticatedUser()

getAllRepliesByAnAuthenticatedUser

public void getAllRepliesByAnAuthenticatedUser()
                                        throws Exception
Throws:
Exception

getAnInvisibleQuestionByAnAuthenticatedUser

public void getAnInvisibleQuestionByAnAuthenticatedUser()
                                                 throws Exception
Throws:
Exception

preparePersonalizationAndQuestionCreator

public void preparePersonalizationAndQuestionCreator()

getExistingComponentInstances

public String[] getExistingComponentInstances()
Specified by:
getExistingComponentInstances in class com.silverpeas.web.RESTWebServiceTest<QuestionReplyTestResources>


Copyright © 2016 Silverpeas. All Rights Reserved.