org.silverpeas.admin.web
Class SpaceGettingTest
java.lang.Object
com.sun.jersey.test.framework.JerseyTest
com.silverpeas.web.RESTWebServiceTest<T>
com.silverpeas.web.ResourceGettingTest<AdminTestResources>
org.silverpeas.admin.web.SpaceGettingTest
- All Implemented Interfaces:
- WebResourceTesting
public class SpaceGettingTest
- extends ResourceGettingTest<AdminTestResources>
Tests on the comment getting by the CommentResource web service.
- Author:
- Yohann Chastagnier
| 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 |
SpaceGettingTest
public SpaceGettingTest()
prepareTestResources
public void prepareTestResources()
get
public void get()
getForceGettingFavorite
public void getForceGettingFavorite()
getDenied
public void getDenied()
get3
public void get3()
get3ForceGettingFavorite
public void get3ForceGettingFavorite()
getAll
public void getAll()
getAllForceGettingFavorite
public void getAllForceGettingFavorite()
getSpaces
public void getSpaces()
getSpacesDenied
public void getSpacesDenied()
getSpaces3
public void getSpaces3()
getSpaces3ForceGettingFavorite
public void getSpaces3ForceGettingFavorite()
getUsersAndGroupsRoles
public void getUsersAndGroupsRoles()
getAppearance
public void getAppearance()
getAppearanceDenied
public void getAppearanceDenied()
getAppearance3
public void getAppearance3()
getPersonals
public void getPersonals()
getComponents
public void getComponents()
getComponentsDenied
public void getComponentsDenied()
getComponents3
public void getComponents3()
getContent
public void getContent()
getContentDenied
public void getContentDenied()
getContent3
public void getContent3()
gettingAResourceByAnUnauthorizedUser
public void gettingAResourceByAnUnauthorizedUser()
- Overrides:
gettingAResourceByAnUnauthorizedUser in class ResourceGettingTest<AdminTestResources>
aResourceURI
public String aResourceURI()
aResourceURI
public String aResourceURI(String id)
anUnexistingResourceURI
public String anUnexistingResourceURI()
aResource
public SpaceInstLight aResource()
getSessionKey
public String getSessionKey()
getWebEntityClass
public Class<?> getWebEntityClass()
getExistingComponentInstances
public String[] getExistingComponentInstances()
- Specified by:
getExistingComponentInstances in class RESTWebServiceTest<AdminTestResources>
Copyright © 2016 Silverpeas. All Rights Reserved.