public class ImportToscaResourceTest extends ComponentBaseTest
ComponentBaseTest.ComponentOperationEnum
config, extendTest, extentReport, REPORT_FOLDER, titanGraph
Constructor and Description |
---|
ImportToscaResourceTest() |
afterState, beforeState, openTitan, shutdownTitan, verifyErrorCode
protected Utils utils
public ImportReqDetails importReqDetails
protected static User sdncUserDetails
protected static User testerUser
protected String testResourcesPath
protected ResourceReqDetails resourceDetails
public static org.junit.rules.TestName name
protected final String importMapPropertySuccess
protected final String importAttributeSuccess
protected final String importSuccessFile
protected final String derivedFromMyCompute
protected final String importSuccessVFFile
protected final String importNoDerivedFromFile
protected final String importInvalidDefinitionVersionFile
protected final String importIncorrectNameSpaceFormatFile
protected final String importNoDefenitionVersionFile
protected final String importNodeTypesTwiceFile
protected final String importTopologyTemplateFile
protected final String importNoContentFile
protected final String importWithOccurrences
protected final String importListPropertyBadDefault
protected final String importListPropertyGoodDefault
protected final String importListPropertySuccess
protected final String importDuplicateRequirements
protected final String importDuplicateCapability
protected final String importCapabilityNameExistsOnParent
protected final String importRequirementNameExistsOnParent
protected final String importToscaResourceReqCapDerivedFromParent
protected final String missingCapInReqDef
protected final String missingCapInCapDef
public void importToscaResourceWithOccurrencesFailuresFlow01(String ymlFileWithInvalidCapReqOccurrences) throws Exception
Exception
public void importToscaResourceWithOccurrencesFailuresFlow02(String ymlFileWithInvalidCapReqOccurrences) throws Exception
Exception
public void importToscaResourceWithOccurrencesSuccessFlow() throws Exception
Exception
public void importToscaResourceVFResType() throws Exception
Exception
public void importToscaResourceDerivedFromNotExist() throws Exception
Exception
public void importToscaResourceIncorrectDefinitionVersion() throws Exception
Exception
public void importToscaResourceIncorrectSpaceNameFormat() throws Exception
Exception
public void importToscaResourceNoDefinitionVersion() throws Exception
Exception
public void importToscaResourceNoContent() throws Exception
Exception
public void importToscaResourceWithTopologyTemplate() throws Exception
Exception
public void importToscaResourceWithNodeTypesTwice() throws Exception
Exception
public void importToscaResourceWithTheSameNameAsCreatedResourceBefore() throws Exception
Exception
public void importToscaResourceInvalidChecksum() throws Exception
Exception
public void importToscaResourceInvalidResType() throws Exception
Exception
public void derivedTemplateImportedSecondResourceAsFirstImportedNodeType() throws Exception
Exception
public void importToscaResourceListPropertyGoodDefault() throws Exception
Exception
public void importToscaResourceListPropertyBadDefault() throws Exception
Exception
public void importToscaResourceListPropertySuccessFlow() throws Exception
Exception
public void importToscaResourceListPropertyFailureFlows(String ymlFileWithInvalidPropertyDefualtValues, String defualtValues, String enterySchemaType) throws Exception
Exception
public void importToscaResourceListPropertyNonSupportEntrySchemaType() throws Exception
Exception
public void importToscaResourceListPropertyNonSupportedPropertyType() throws Exception
Exception
public void importToscaResourceMapPropertySuccessFlow() throws Exception
Exception
public void importToscaResourceMapPropertyFailureFlows(String ymlFileWithInvalidPropertyDefualtValues, String defualtValues, String enterySchemaType) throws Exception
Exception
public void importToscaResourceMaptPropertyNonSupportedPropertyType() throws Exception
Exception
public void importToscaResourceMissingCapabilityInReqDefinition() throws Exception
Exception
public void importToscaResourceMissingCapabilityInCapDefinition() throws Exception
Exception
public void importToscaResourceDuplicateRequirements() throws Exception
Exception
public void importToscaResourceDuplicateCapabilities() throws Exception
Exception
public void importToscaResourceRequirementNameExistsOnParent() throws Exception
Exception
public void importToscaResourceCapabilityNameExistsOnParent() throws Exception
Exception
public void importToscaResourceReqCapDerivedFromParent() throws Exception
Exception
public void caseRequirementInsensitiveTest() throws Exception
Exception
public void caseCapabilitiesInsensitiveTest() throws Exception
Exception
public void fatherAndChildHaveDifferentRequirementsTest() throws Exception
Exception
public void fatherHasNoRequirementsTest() throws Exception
Exception
public void childHasSameReqNameAndTypeLikeFatherTest() throws Exception
Exception
public void childHasSameCapNameAndTypeLikeFatherTest() throws Exception
Exception
public void childGetsAllRequirementsOfFatherAndGrandfatherTest() throws Exception
Exception
public void childOverridesGrandfatherRequirementsTest() throws Exception
Exception
public void childAndGrandfatherHaveDifferenetReqiurementTypeTest() throws Exception
Exception
public void fatherAndChildGetReqCapFromGrandfatherTest() throws Exception
Exception
public void requirementWithMissingTypeTest() throws Exception
Exception
public void TwinBrothersHaveSameReqCapTest() throws Exception
Exception
public void checkCPHasImmutableInvariantUuidTest() throws Exception
Exception
public void checkVFCHasImmutableInvariantUuidTest() throws Exception
Exception
public void checkResourceHasImmutableInvariantUuidTest(ImportReqDetails importReqDetails) throws Exception
Exception
Copyright © 2017. All rights reserved.