org.silverpeas.resourcesmanager.web
Class ResourceManagerReservationGettingTest

java.lang.Object
  extended by com.sun.jersey.test.framework.JerseyTest
      extended by com.silverpeas.web.RESTWebServiceTest<T>
          extended by com.silverpeas.web.ResourceGettingTest<ResourceManagerTestResources>
              extended by org.silverpeas.resourcesmanager.web.ResourceManagerReservationGettingTest
All Implemented Interfaces:
com.silverpeas.web.WebResourceTesting

public class ResourceManagerReservationGettingTest
extends com.silverpeas.web.ResourceGettingTest<ResourceManagerTestResources>

Tests on the gallery album getting by the GalleryResource web service.

Author:
Yohann Chastagnier

Field Summary
 
Fields inherited from class com.silverpeas.web.RESTWebServiceTest
CONTEXT_NAME
 
Fields inherited from interface com.silverpeas.web.WebResourceTesting
HTTP_SESSIONKEY
 
Constructor Summary
ResourceManagerReservationGettingTest()
           
 
Method Summary
 String anUnexistingResourceURI()
           
 Reservation aResource()
           
 String aResourceURI()
           
 void getCategory()
           
 String[] getExistingComponentInstances()
           
 void getMonthReservationsAllUsers()
           
 void getMonthReservationsFiltredByCategory()
           
 void getMonthReservationsFiltredByCategoryOfUser()
           
 void getMonthReservationsFiltredByResource()
           
 void getMonthReservationsFiltredByResourceOfUser()
           
 void getMonthReservationsForValidation()
           
 void getMonthReservationsOfUser()
           
 void getReservation()
           
 void getResource()
           
 void getResourcesOfReservation()
           
 String getSessionKey()
           
 Class<?> getWebEntityClass()
           
 void prepareTestResources()
           
 
Methods inherited from class com.silverpeas.web.ResourceGettingTest
asMediaType, getAt, getAt, gettingAnUnexistingResource, gettingAResourceByANonAuthenticatedUser, gettingAResourceByAnUnauthorizedUser, gettingAResourceWithAnExpiredSession, withAsSessionKey
 
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

ResourceManagerReservationGettingTest

public ResourceManagerReservationGettingTest()
Method Detail

prepareTestResources

public void prepareTestResources()

getReservation

public void getReservation()

getResourcesOfReservation

public void getResourcesOfReservation()

getCategory

public void getCategory()

getResource

public void getResource()

getMonthReservationsAllUsers

public void getMonthReservationsAllUsers()

getMonthReservationsForValidation

public void getMonthReservationsForValidation()

getMonthReservationsFiltredByCategory

public void getMonthReservationsFiltredByCategory()

getMonthReservationsFiltredByResource

public void getMonthReservationsFiltredByResource()

getMonthReservationsOfUser

public void getMonthReservationsOfUser()

getMonthReservationsFiltredByCategoryOfUser

public void getMonthReservationsFiltredByCategoryOfUser()

getMonthReservationsFiltredByResourceOfUser

public void getMonthReservationsFiltredByResourceOfUser()

aResourceURI

public String aResourceURI()

anUnexistingResourceURI

public String anUnexistingResourceURI()

aResource

public Reservation aResource()

getSessionKey

public String getSessionKey()

getWebEntityClass

public Class<?> getWebEntityClass()

getExistingComponentInstances

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


Copyright © 2016 Silverpeas. All Rights Reserved.