Commit 555314ef authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Improvement for f_CSE_SUB_UPD_008 to match the content of the expected notification

Signed-off-by: Miguel Angel Reina Ortega's avatarreinaortega <>
parent 015b7601
......@@ -32,7 +32,7 @@ module OneM2M_Testcases_CSE_Release_2 {
var integer i;
var XSD.ID v_resourceAddress;
var RequestPrimitive v_request;
map(self:mcaPort, system:mcaPort);
map(self:mcaPort, system:mcaPort) param (PX_TS_AE1.mcaPort);
for (i:=0; i<lengthof(PX_RESOURCES_TO_BE_DELETED); i:= i+1) {
......@@ -3002,10 +3002,6 @@ module OneM2M_Testcases_CSE_Release_2 {
v_createRequest := m_createSubscriptionAdvanced(f_getResourceAddress(v_aeIndex), -, {f_getResourceAddress(v_ae2Index)},omit,omit,m_batchNotify(numberOfAggregatedNotification), true, omit, -, omit);
//TODO We Need to check if the IUT send a notification only for the latest update operation
// like we match a Notification we have to verify if it is the first (unvalid behavior) or the last (valid behavior)
// maybe we need to synchronise our components
v_resourceIndex := f_cse_createResource(int23, v_createRequest, v_aeIndex);//Subscription
if(vc_ae2.running) {
......@@ -3013,6 +3009,7 @@ module OneM2M_Testcases_CSE_Release_2 {
// Test Body
v_contentResponse.aE.labels := v_labels_3;
vc_ae2.start(f_cse_notifyProcedure_representationHandler(v_contentResponse)); // check if the notification is well received and if its content matchs
v_updateRequest.primitiveContent.aE.labels := v_labels_1;
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