Improvement for AE_DMR_CRE and AE_DMR_UPD about logging

Signed-off-by: Miguel Angel Reina Ortega's avatarreinaortega <miguelangel.reinaortega@etsi.org>
parent 969cbd83
......@@ -525,12 +525,11 @@ module OneM2M_PermutationFunctions {
mcaPortIn.send(f_getMsgOutPrimitive(m_response(v_responsePrimitive)));
}
[] mcaPortIn.receive {
[] mcaPortIn.receive(mw_request(mw_create)) {
tc_ac.stop;
setverdict(fail, __SCOPE__ & " : ContentInstance creation request is rejected due to not including the attribute!");
setverdict(fail, __SCOPE__ & " : Unexpected CREATE request ");
mcaPortIn.send(f_getMsgOutPrimitive(m_response(valueof(m_responsePrimitive(int4004, v_request.primitive.requestPrimitive.requestIdentifier, omit)))));
}
[] tc_ac.timeout{
setverdict(fail, __SCOPE__ & " : Timeout due to no response received from requested SUT!");
}
......@@ -570,9 +569,9 @@ module OneM2M_PermutationFunctions {
//send back responsePrimitive
mcaPortIn.send(f_getMsgOutPrimitive(m_response(v_responsePrimitive)));
}
[] mcaPortIn.receive {
[] mcaPortIn.receive(mw_request(mw_create)) {
tc_ac.stop;
setverdict(fail, __SCOPE__ & " : Container creation request is rejected due to not including the attribute!");
setverdict(fail, __SCOPE__ & " : Unexpected CREATE request ");
mcaPortIn.send(f_getMsgOutPrimitive(m_response(valueof(m_responsePrimitive(int4004, v_request.primitive.requestPrimitive.requestIdentifier, omit)))));
}
[] tc_ac.timeout{
......@@ -618,9 +617,9 @@ module OneM2M_PermutationFunctions {
v_responsePrimitive := valueof(m_responsePrimitive(int2004, v_request.primitive.requestPrimitive.requestIdentifier, vc_localResourcesList[v_resourceIndex].resource));
mcaPortIn.send(f_getMsgOutPrimitive(m_response(v_responsePrimitive)));
}
[] mcaPortIn.receive(mw_request(?)) -> value v_request {
[] mcaPortIn.receive(mw_request(mw_update)) -> value v_request {
tc_ac.stop;
setverdict(fail, __SCOPE__ & " : AE update request is rejected due to not including the optional attribute!");
setverdict(fail, __SCOPE__ & " : Unexpected UPDATE request");
mcaPortIn.send(f_getMsgOutPrimitive(m_response(valueof(m_responsePrimitive(int4004, v_request.primitive.requestPrimitive.requestIdentifier, omit)))));
}
[] tc_ac.timeout{
......@@ -662,9 +661,9 @@ module OneM2M_PermutationFunctions {
mcaPortIn.send(f_getMsgOutPrimitive(m_response(v_responsePrimitive)));
}
[] mcaPortIn.receive(mw_request(?)) {
[] mcaPortIn.receive(mw_request(mw_update)) {
tc_ac.stop;
setverdict(fail, __SCOPE__ & " : Container update request is rejected due to not including the attribute!");
setverdict(fail, __SCOPE__ & " : Unexpected UPDATE request");
mcaPortIn.send(f_getMsgOutPrimitive(m_response(valueof(m_responsePrimitive(int4004, v_request.primitive.requestPrimitive.requestIdentifier, omit)))));
}
......
......@@ -840,9 +840,9 @@ module OneM2M_Testcases_AE_Release_1 {
//send back responsePrimitive
mcaPortIn.send(f_getMsgOutPrimitive(m_response(v_responsePrimitive)));
}
[] mcaPortIn.receive {
[] mcaPortIn.receive(mw_request(mw_create)) {
tc_ac.stop;
setverdict(fail, __SCOPE__ & " : Container creation request is rejected due to not including mandatory attributes!!");
setverdict(fail, __SCOPE__ & " : Unexpected CREATE request ");
mcaPortIn.send(f_getMsgOutPrimitive(m_response(valueof(m_responsePrimitive(int4004, v_request.primitive.requestPrimitive.requestIdentifier, omit)))));
}
[] tc_ac.timeout{
......@@ -907,12 +907,11 @@ module OneM2M_Testcases_AE_Release_1 {
//send back responsePrimitive
mcaPortIn.send(f_getMsgOutPrimitive(m_response(v_responsePrimitive)));
}
[] mcaPortIn.receive {
[] mcaPortIn.receive(mw_request(mw_create)) {
tc_ac.stop;
setverdict(fail, __SCOPE__ & " : ContentInstance creation request is rejected due to not including mandatory attributes!!");
setverdict(fail, __SCOPE__ & " : Unexpected CREATE request ");
mcaPortIn.send(f_getMsgOutPrimitive(m_response(valueof(m_responsePrimitive(int4004, v_request.primitive.requestPrimitive.requestIdentifier, omit)))));
}
[] tc_ac.timeout{
setverdict(fail, __SCOPE__ & " : Timeout due to no response received from requested SUT!");
}
......
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