com.silverpeas.pdc.web
Class PredefinedClassificationGettingTest
java.lang.Object
com.sun.jersey.test.framework.JerseyTest
com.silverpeas.web.RESTWebServiceTest<T>
com.silverpeas.web.ResourceGettingTest<PdcTestResources>
com.silverpeas.pdc.web.PredefinedClassificationGettingTest
- All Implemented Interfaces:
- WebResourceTesting
public class PredefinedClassificationGettingTest
- extends ResourceGettingTest<PdcTestResources>
Unit tests on the predefined classification web resources.
| 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 |
PredefinedClassificationGettingTest
public PredefinedClassificationGettingTest()
setUpUserSessionAndPdCClassifications
public void setUpUserSessionAndPdCClassifications()
getNoPredefinedClassificationForAComponentInstance
public void getNoPredefinedClassificationForAComponentInstance()
getPredefinedClassificationForANodeInAComponentInstance
public void getPredefinedClassificationForANodeInAComponentInstance()
throws Exception
- Throws:
Exception
getPredefinedClassificationForAComponentInstance
public void getPredefinedClassificationForAComponentInstance()
throws Exception
- Throws:
Exception
getExistingComponentInstances
public String[] getExistingComponentInstances()
- Specified by:
getExistingComponentInstances in class RESTWebServiceTest<PdcTestResources>
aResourceURI
public String aResourceURI()
anUnexistingResourceURI
public String anUnexistingResourceURI()
aResource
public PdcClassificationEntity aResource()
getSessionKey
public String getSessionKey()
getWebEntityClass
public Class<?> getWebEntityClass()
Copyright © 2016 Silverpeas. All Rights Reserved.