public class DistributionDownloadArtifactTest extends ComponentBaseTest
ComponentBaseTest.ComponentOperationEnum
Modifier and Type | Field and Description |
---|---|
protected static User |
adminUser |
protected static String |
artifactInterfaceType |
protected static String |
artifactOperationName |
protected String |
authorizationHeader |
protected ConsumerDataDefinition |
consumerDataDefinition |
protected static User |
designerUser |
protected String |
HASHED_PASSWORD |
static org.junit.rules.TestName |
name |
protected String |
PASSWORD |
protected static String |
resourceBaseVersion |
protected static ResourceReqDetails |
resourceDetails |
protected String |
SALT |
protected static String |
serviceBaseVersion |
protected static ServiceReqDetails |
serviceDetails |
protected static String |
serviceUniqueId |
protected String |
USER |
config, extendTest, extentReport, REPORT_FOLDER, titanGraph
Constructor and Description |
---|
DistributionDownloadArtifactTest() |
Modifier and Type | Method and Description |
---|---|
protected ConsumerDataDefinition |
createConsumer() |
protected void |
download_serviceNameNotFound_inner(String serviceName,
String serviceVersion,
String resourceName,
String resourceVersion) |
protected void |
download_serviceVersionNotFound_inner(String serviceName,
String serviceVersion,
String resourceName,
String resourceVersion) |
void |
downloadResourceArtifact_NoConsumerId() |
void |
downloadResourceArtifact_ResourceNameNotFound() |
void |
downloadResourceArtifact_ResourceVersionNotFound() |
void |
downloadResourceArtifact_ServiceNameNotFound() |
void |
downloadResourceArtifact_ServiceVersionNotFound() |
void |
downloadResourceArtifactSuccess() |
void |
downloadServiceArtifact_ServiceNameNotFound() |
void |
downloadServiceArtifact_ServiceVersionNotFound() |
void |
downloadServiceArtifactSuccess() |
protected String |
encodeUrlForDownload(String url) |
void |
setup() |
afterState, beforeState, openTitan, shutdownTitan, verifyErrorCode
protected static ResourceReqDetails resourceDetails
protected static User designerUser
protected static User adminUser
protected static String resourceBaseVersion
protected final String authorizationHeader
protected ConsumerDataDefinition consumerDataDefinition
public static org.junit.rules.TestName name
protected static String artifactInterfaceType
protected static String artifactOperationName
protected static ServiceReqDetails serviceDetails
protected static String serviceBaseVersion
protected static String serviceUniqueId
protected final String USER
protected final String PASSWORD
protected final String SALT
protected final String HASHED_PASSWORD
public void downloadResourceArtifactSuccess() throws Exception
Exception
protected void download_serviceNameNotFound_inner(String serviceName, String serviceVersion, String resourceName, String resourceVersion) throws Exception
Exception
protected void download_serviceVersionNotFound_inner(String serviceName, String serviceVersion, String resourceName, String resourceVersion) throws Exception
Exception
protected ConsumerDataDefinition createConsumer()
public void downloadServiceArtifactSuccess() throws Exception
Exception
public void downloadResourceArtifact_NoConsumerId() throws Exception
Exception
public void downloadResourceArtifact_ResourceNameNotFound() throws Exception
Exception
public void downloadResourceArtifact_ResourceVersionNotFound() throws Exception
Exception
public void downloadResourceArtifact_ServiceNameNotFound() throws Exception
Exception
public void downloadResourceArtifact_ServiceVersionNotFound() throws Exception
Exception
public void downloadServiceArtifact_ServiceNameNotFound() throws Exception
Exception
Copyright © 2017. All rights reserved.