com.silverpeas.pdc.web
Class ClassificationPositionDeletionTest

java.lang.Object
  extended by com.sun.jersey.test.framework.JerseyTest
      extended by com.silverpeas.web.RESTWebServiceTest<T>
          extended by com.silverpeas.web.ResourceDeletionTest<PdcTestResources>
              extended by com.silverpeas.pdc.web.ClassificationPositionDeletionTest
All Implemented Interfaces:
WebResourceTesting

public class ClassificationPositionDeletionTest
extends ResourceDeletionTest<PdcTestResources>

Unit tests on the deletion of existing positions in the PdC classification of a resource. PdC).


Field Summary
 
Fields inherited from class com.silverpeas.web.RESTWebServiceTest
CONTEXT_NAME
 
Fields inherited from interface com.silverpeas.web.WebResourceTesting
HTTP_SESSIONKEY
 
Constructor Summary
ClassificationPositionDeletionTest()
           
 
Method Summary
 String anUnexistingResourceURI()
           
 PdcClassificationEntity aResource()
           
 String aResourceURI()
           
 void deletionOfAnUnexistingPositionInAPdcClassification()
           
 void deletionOfAPositionInAPdcClassification()
           
 String[] getExistingComponentInstances()
           
 String getSessionKey()
           
 Class<?> getWebEntityClass()
           
 void prepareAPdcClassification()
           
 
Methods inherited from class com.silverpeas.web.ResourceDeletionTest
deleteAt, deleteAt, deletionOfAnUnexistingResource, deletionOfAResourceByANonAuthenticatedUser, deletionOfAResourceByANonAuthorizedUser, deletionOfAResourceWithADeprecatedSession
 
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

ClassificationPositionDeletionTest

public ClassificationPositionDeletionTest()
Method Detail

prepareAPdcClassification

public void prepareAPdcClassification()

deletionOfAnUnexistingPositionInAPdcClassification

public void deletionOfAnUnexistingPositionInAPdcClassification()

deletionOfAPositionInAPdcClassification

public void deletionOfAPositionInAPdcClassification()
                                             throws Exception
Throws:
Exception

aResourceURI

public String aResourceURI()

anUnexistingResourceURI

public String anUnexistingResourceURI()

aResource

public PdcClassificationEntity aResource()

getSessionKey

public String getSessionKey()

getWebEntityClass

public Class<?> getWebEntityClass()

getExistingComponentInstances

public String[] getExistingComponentInstances()
Specified by:
getExistingComponentInstances in class RESTWebServiceTest<PdcTestResources>


Copyright © 2016 Silverpeas. All Rights Reserved.