com.silverpeas.questionReply.web
Class QuestionGettingTest

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

public class QuestionGettingTest
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
QuestionGettingTest()
           
 
Method Summary
 void getAnInvisibleQuestionByAnAuthenticatedUser()
           
 void getAQuestionByAnAuthenticatedUser()
           
 void getAQuestionByANonAuthenticatedUser()
           
 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

QuestionGettingTest

public QuestionGettingTest()
Method Detail

getAQuestionByANonAuthenticatedUser

public void getAQuestionByANonAuthenticatedUser()

getAQuestionByAnAuthenticatedUser

public void getAQuestionByAnAuthenticatedUser()
                                       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.