com.silverpeas.questionReply.web
Class QuestionReplyTestResources

java.lang.Object
  extended by com.silverpeas.web.TestResources
      extended by com.silverpeas.questionReply.web.QuestionReplyTestResources
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

@Named(value="testRESTResources")
public class QuestionReplyTestResources
extends com.silverpeas.web.TestResources

A wrapper of resources used in the tests of the Question and Reply web services.


Field Summary
static String COMPONENT_INSTANCE_ID
           
static String QUESTION_RESOURCE_PATH
           
static String REPLY_RESOURCE_PATH
           
 
Fields inherited from class com.silverpeas.web.TestResources
DEFAULT_DOMAIN, DEFAULT_LANGUAGE, TEST_RESOURCES_NAME, USER_ID_IN_TEST
 
Constructor Summary
QuestionReplyTestResources()
           
 
Method Summary
 MockableQuestionManager getMockableQuestionManager()
           
 
Methods inherited from class com.silverpeas.web.TestResources
aUser, aUserNamed, getAccessControllerMock, getApplicationContext, getOrganizationControllerMock, getPersonalizationServiceMock, getSessionManagerMock, getSpaceAccessControllerMock, getTestResources, getTokenServiceMock, registerUser, setApplicationContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPONENT_INSTANCE_ID

public static final String COMPONENT_INSTANCE_ID
See Also:
Constant Field Values

QUESTION_RESOURCE_PATH

public static final String QUESTION_RESOURCE_PATH
See Also:
Constant Field Values

REPLY_RESOURCE_PATH

public static final String REPLY_RESOURCE_PATH
See Also:
Constant Field Values
Constructor Detail

QuestionReplyTestResources

public QuestionReplyTestResources()
Method Detail

getMockableQuestionManager

public MockableQuestionManager getMockableQuestionManager()


Copyright © 2016 Silverpeas. All Rights Reserved.