Skip to content
Snippets Groups Projects
Commit 909502cd authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Receive statement added to f_CSE_DMR_CRE_BV_005 to be able to catch non...

Receive statement added to f_CSE_DMR_CRE_BV_005 to be able to catch non decodable message (response containing invalid values)

Signed-off-by: Miguel Angel Reina Ortega's avatarreinaortega <miguelangel.reinaortega@etsi.org>
parent 12f31bc7
No related branches found
No related tags found
1 merge request!25Ae fixes
......@@ -7,7 +7,7 @@
*
* @author oneM2M
* @version $URL: https://forge.etsi.org/svn/oneM2M/trunk/ttcn/OneM2M_Testcases.ttcn $
* $Id: OneM2M_Testcases.ttcn 269 2017-05-17 03:36:25Z reinaortega $
* $Id: OneM2M_Testcases.ttcn 271 2017-05-17 07:14:50Z reinaortega $
* @desc Module containing test cases for oneM2M
*
*/
......@@ -1880,13 +1880,17 @@ module OneM2M_Testcases {
[] mcaPort.receive(mw_response(mw_responsePrimitiveKO)) -> value v_response {
tc_ac.stop;
setverdict(pass, testcasename() & ": Creation rejected for resource type " & int2str(enum2int(p_resourceType)) & " containing an invalid value for attribute " & p_invalidAttribute.name);
}
}
[] mcaPort.receive(mw_response(mw_responsePrimitiveOK)) -> value v_response {
tc_ac.stop;
setverdict(fail, testcasename() & ": Accepted creation of resource type " & int2str(enum2int(p_resourceType)) & " containing an invalid value for attribute" & p_invalidAttribute.name);
}
[] mcaPort.receive {
tc_ac.stop;
setverdict(fail, testcasename() & ": Incorrect value received");
}
[] tc_ac.timeout {
setverdict(inconc, testcasename() & ": No answer while creating resource type " & int2str(enum2int(p_resourceType)));
setverdict(fail, testcasename() & ": No answer while creating resource type " & int2str(enum2int(p_resourceType)));
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment