Commit 64ab4b37 authored by gajre's avatar gajre

added attribute relatedSemantics and OntoloryRepository in test case TC_CSE_SEM_UPD_006()

parent 169f2bc9
......@@ -11244,12 +11244,14 @@ module OneM2M_Testcases_CSE_Release_3 {
var integer v_acpAuxIndex := -1;
var integer v_resourceIndex := -1;
var ResponseStatusCode v_responseStatusCode := int2004;
var RequestPrimitive p_createRequestPrimitive1 := m_createOntologyRepositoryBase;
var RequestPrimitive p_updateRequestPrimitive := m_updateSemanticDescriptorBase;
var RequestPrimitive v_request;
var ResourceType p_resourceType := int24; //Semantic Descriptor
var boolean v_validationEnable := true;
const octetstring v_descriptor := int2oct(0,65000); //Base64Binary
var XSD.AnyURI v_ontologyRef := "NotInitialized";
var ListOfURIs v_relatedSemantics := {"NotInitilized"};
var XSD.ID v_targetResourceAddress;
// Test control
......@@ -11271,13 +11273,16 @@ module OneM2M_Testcases_CSE_Release_3 {
p_updateRequestPrimitive.primitiveContent.semanticDescriptor.validationEnable := v_validationEnable;
p_updateRequestPrimitive.primitiveContent.semanticDescriptor.descriptor := v_descriptor;
p_updateRequestPrimitive.primitiveContent.semanticDescriptor.ontologyRef := v_ontologyRef;
p_updateRequestPrimitive.primitiveContent.semanticDescriptor.relatedSemantics := v_relatedSemantics; //linked semantic descriptor
p_updateRequestPrimitive.to_ := f_getResourceAddress(v_resourceIndex);
p_updateRequestPrimitive.from_ := f_getOriginator(v_aeIndex);
v_request := f_getUpdateRequestPrimitive(p_resourceType, v_resourceIndex, p_updateRequestPrimitive);
v_targetResourceAddress := f_getResourceAddress(v_resourceIndex) & "/" & c_resourceShortNameSemanticValidation;
v_request := f_getUpdateRequestPrimitive(p_resourceType, v_targetResourceIndex, p_updateRequestPrimitive);
vc_ae1.start(f_cse_operationResource(v_request));
tc_ac.start;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment