Commit 64ab4b377ae0b75b54f902aaa82c626a1dfced67

Authored by gajre
1 parent 169f2bc9

added attribute relatedSemantics and OntoloryRepository in test case TC_CSE_SEM_UPD_006()

... ... @@ -11244,12 +11244,14 @@ module OneM2M_Testcases_CSE_Release_3 {
11244 11244 var integer v_acpAuxIndex := -1;
11245 11245 var integer v_resourceIndex := -1;
11246 11246 var ResponseStatusCode v_responseStatusCode := int2004;
  11247 + var RequestPrimitive p_createRequestPrimitive1 := m_createOntologyRepositoryBase;
11247 11248 var RequestPrimitive p_updateRequestPrimitive := m_updateSemanticDescriptorBase;
11248 11249 var RequestPrimitive v_request;
11249 11250 var ResourceType p_resourceType := int24; //Semantic Descriptor
11250 11251 var boolean v_validationEnable := true;
11251 11252 const octetstring v_descriptor := int2oct(0,65000); //Base64Binary
11252 11253 var XSD.AnyURI v_ontologyRef := "NotInitialized";
  11254 + var ListOfURIs v_relatedSemantics := {"NotInitilized"};
11253 11255 var XSD.ID v_targetResourceAddress;
11254 11256  
11255 11257 // Test control
... ... @@ -11271,13 +11273,16 @@ module OneM2M_Testcases_CSE_Release_3 {
11271 11273 p_updateRequestPrimitive.primitiveContent.semanticDescriptor.validationEnable := v_validationEnable;
11272 11274 p_updateRequestPrimitive.primitiveContent.semanticDescriptor.descriptor := v_descriptor;
11273 11275 p_updateRequestPrimitive.primitiveContent.semanticDescriptor.ontologyRef := v_ontologyRef;
  11276 + p_updateRequestPrimitive.primitiveContent.semanticDescriptor.relatedSemantics := v_relatedSemantics; //linked semantic descriptor
11274 11277  
11275 11278  
11276 11279 p_updateRequestPrimitive.to_ := f_getResourceAddress(v_resourceIndex);
11277 11280 p_updateRequestPrimitive.from_ := f_getOriginator(v_aeIndex);
11278 11281  
11279   - v_request := f_getUpdateRequestPrimitive(p_resourceType, v_resourceIndex, p_updateRequestPrimitive);
  11282 + v_targetResourceAddress := f_getResourceAddress(v_resourceIndex) & "/" & c_resourceShortNameSemanticValidation;
11280 11283  
  11284 + v_request := f_getUpdateRequestPrimitive(p_resourceType, v_targetResourceIndex, p_updateRequestPrimitive);
  11285 +
11281 11286 vc_ae1.start(f_cse_operationResource(v_request));
11282 11287  
11283 11288 tc_ac.start;
... ...