Finalization of all retargeting test cases

Signed-off-by: Miguel Angel Reina Ortega's avatarreinaortega <miguelangel.reinaortega@etsi.org>
parent aaa2bde1
This diff is collapsed.
......@@ -1803,19 +1803,19 @@ module OneM2M_PermutationFunctions {
[v_responseStatusCode == int2000] mccPortIn.receive(mw_request(mw_retrieve(v_targetResourceAddress))) -> value vc_request {
tc_ac.stop;
setverdict(pass, __SCOPE__ & ": Request primitive retargeted successfully");
//f_processRetrieveRequestPrimitive(vc_request.primitive.requestPrimitive);
f_processRetrieveRequestPrimitive(vc_request.primitive.requestPrimitive);
mccPortIn.send(m_response(vc_response.primitive.responsePrimitive));
}
[v_responseStatusCode == int2004] mccPortIn.receive(mw_request(mw_update(-, v_targetResourceAddress))) -> value vc_request {
tc_ac.stop;
setverdict(pass, __SCOPE__ & ": Request primitive retargeted successfully");
//f_processUpdateRequestPrimitive(vc_request.primitive.requestPrimitive);
f_processUpdateRequestPrimitive(vc_request.primitive.requestPrimitive);
mccPortIn.send(m_response(vc_response.primitive.responsePrimitive));
}
[v_responseStatusCode == int2002] mccPortIn.receive(mw_request(mw_delete(v_targetResourceAddress))) -> value vc_request {
tc_ac.stop;
setverdict(pass, __SCOPE__ & ": Request primitive retargeted successfully");
//f_processDeleteRequestPrimitive(vc_request.primitive.requestPrimitive);
f_processDeleteRequestPrimitive(vc_request.primitive.requestPrimitive);
mccPortIn.send(m_response(vc_response.primitive.responsePrimitive));
}
[] mccPortIn.receive(mw_request(?)) -> value vc_request {
......@@ -1878,13 +1878,13 @@ module OneM2M_PermutationFunctions {
vc_cse1.start(f_cse_createResourceHandler(mw_create(-, v_targetResourceAddress )));
} else if(valueof(p_requestPrimitive.operation) == int2) {
v_responseStatusCode := int2000;
//vc_cse1.start(f_cse_retrieveResourceHandler());
vc_cse1.start(f_cse_retrieveResourceHandler(v_targetResourceIndex));
} else if(valueof(p_requestPrimitive.operation) == int3) {
v_responseStatusCode := int2004;
vc_cse1.start(f_cse_updateResourceHandler(v_targetResourceIndex ,mw_update()));
vc_cse1.start(f_cse_updateResourceHandler(v_targetResourceIndex));
} else if(valueof(p_requestPrimitive.operation) == int4) {
v_responseStatusCode := int2002;
//vc_cse1.start(f_cse_deleteResourceHandler());
vc_cse1.start(f_cse_deleteResourceHandler(v_targetResourceIndex));
}
mcaPort.send(f_getMsgOutPrimitive(m_request(valueof(p_requestPrimitive))));
......
......@@ -5169,7 +5169,6 @@ module OneM2M_Testcases_CSE_Release_2 {
}
}
}
} // end g_CSE_DMR_UPD_006
testcase TC_CSE_DMR_UPD_006_TS_LBL() runs on Tester system CseSystem {
// Local variable
......@@ -5197,8 +5196,7 @@ module OneM2M_Testcases_CSE_Release_2 {
}
}
} // end g_CSE_DMR_UPD_006
} // end g_CSE_DMR_UPD_006
group g_CSE_DMR_UPD_007{
......
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