public class PropertyApisTest extends SimpleOneRsrcOneServiceTest
ComponentBaseTest.ComponentOperationEnum
Modifier and Type | Field and Description |
---|---|
protected String |
acceptHeaderDate |
protected String |
body |
protected Config |
config |
protected String |
contentTypeHeaderData |
protected Map<String,String> |
headersMap |
protected HttpRequest |
httpRequest |
protected PropertyReqDetails |
property |
protected static String |
RESOURCE_CATEGORY |
static org.junit.rules.TestName |
testName |
artifactUtils, defaultArtifactDetails, heatArtifactDetails1, resourceDetails, resourceInstanceReqDetails, resourceUtils, sdncDesignerDetails, serviceDetails, utils
extendTest, extentReport, REPORT_FOLDER, titanGraph
Constructor and Description |
---|
PropertyApisTest() |
Modifier and Type | Method and Description |
---|---|
protected ResourceReqDetails |
createResource(User sdncUserDetails,
String resourceName) |
protected User |
createUser(String cspUserId,
String firstName,
String lastName,
String email,
String role) |
void |
deleteReqPropertyNotFound() |
void |
deleteReqToCreateUriNotAllowed() |
protected String |
getPropertyId(ResourceReqDetails resource,
PropertyReqDetails property) |
void |
getReqToCreateUriNotAllowed() |
protected String |
getResourceId(ResourceReqDetails resource) |
void |
init() |
void |
modifierNotTheStateOwner() |
void |
postReqInvalidContent() |
void |
postReqToUpdateUriNotAllowed() |
void |
putReqInvalidContent() |
void |
putReqToCreateUriNotAllowed() |
void |
testPropertyApis() |
void |
updateReqPropertyNotFound() |
before, createComponents, initializeMembers
afterState, beforeState, openTitan, shutdownTitan, verifyErrorCode
protected static final String RESOURCE_CATEGORY
protected Config config
protected String contentTypeHeaderData
protected String acceptHeaderDate
protected PropertyReqDetails property
protected String body
protected HttpRequest httpRequest
public static org.junit.rules.TestName testName
protected String getPropertyId(ResourceReqDetails resource, PropertyReqDetails property)
protected String getResourceId(ResourceReqDetails resource)
protected User createUser(String cspUserId, String firstName, String lastName, String email, String role) throws Exception
Exception
protected ResourceReqDetails createResource(User sdncUserDetails, String resourceName) throws Exception
Exception
public void putReqToCreateUriNotAllowed() throws Exception
Exception
public void getReqToCreateUriNotAllowed() throws Exception
Exception
public void deleteReqToCreateUriNotAllowed() throws Exception
Exception
public void postReqToUpdateUriNotAllowed() throws Exception
Exception
public void deleteReqPropertyNotFound() throws Exception
Exception
public void updateReqPropertyNotFound() throws Exception
Exception
Copyright © 2017. All rights reserved.