org.silverpeas.viewer.web
Class ViewerTestResources

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

@Named(value="testRESTResources")
public class ViewerTestResources
extends TestResources

Resources required by all the unit tests on the comment web resource.


Field Summary
static String JAVA_PACKAGE
           
static String SPRING_CONTEXT
           
 
Fields inherited from class com.silverpeas.web.TestResources
DEFAULT_DOMAIN, DEFAULT_LANGUAGE, TEST_RESOURCES_NAME, USER_ID_IN_TEST
 
Constructor Summary
ViewerTestResources()
           
 
Method Summary
 SimpleDocumentServiceWrapper getAttachmentServiceMock()
           
 DocumentViewServiceMockWrapper getDocumentViewServiceMockWrapper()
           
 PreviewServiceMockWrapper getPreviewServiceMockWrapper()
           
 
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

JAVA_PACKAGE

public static final String JAVA_PACKAGE
See Also:
Constant Field Values

SPRING_CONTEXT

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

ViewerTestResources

public ViewerTestResources()
Method Detail

getAttachmentServiceMock

public SimpleDocumentServiceWrapper getAttachmentServiceMock()

getPreviewServiceMockWrapper

public PreviewServiceMockWrapper getPreviewServiceMockWrapper()

getDocumentViewServiceMockWrapper

public DocumentViewServiceMockWrapper getDocumentViewServiceMockWrapper()


Copyright © 2016 Silverpeas. All Rights Reserved.