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

TC_CSE_DMR_DEL_003 - Fixed. Unexisting resource address generated according to...

TC_CSE_DMR_DEL_003 - Fixed. Unexisting resource address generated according to addressing method and primitive scope variables

Signed-off-by: Miguel Angel Reina Ortega's avatarMiguel Angel Reina Ortega <miguelangel.reinaortega@etsi.org>
parent e30fb4d8
No related branches found
No related tags found
1 merge request!25Ae fixes
......@@ -7,7 +7,7 @@
*
* @author oneM2M
* @version $URL: https://oldforge.etsi.org/svn/oneM2M/trunk/ttcn/OneM2M_Testcases.ttcn $
* $Id: OneM2M_Testcases.ttcn 341 2017-08-07 12:44:50Z reinaortega $
* $Id: OneM2M_Testcases.ttcn 342 2017-08-07 13:03:50Z reinaortega $
* @desc Module containing test cases for oneM2M
*
*/
......@@ -12131,7 +12131,7 @@ module OneM2M_Testcases {
var MsgIn v_response;
var RequestPrimitive v_request;
var integer v_aeIndex := -1;
var charstring c_falseAdressResource := "NoExistingResource";
var charstring v_resourceIdOrName := "NotExistingResource";
// Test control
......@@ -12144,7 +12144,11 @@ module OneM2M_Testcases {
v_aeIndex := f_cse_preamble_registerAe();//c_CRUDNDi);
// Test Body
v_request := valueof(m_deleteRequest(f_getResourceAddress(v_aeIndex) & "/" & c_falseAdressResource));
if(vc_addressingMethod == e_nonHierarchical and (vc_primitiveScope == e_cseRelative)) {
v_request := valueof(m_deleteRequest(v_resourceIdOrName));
} else {
v_request := valueof(m_deleteRequest(f_getResourceAddress(v_aeIndex) & "/" & v_resourceIdOrName));
}
mcaPort.send(m_request(v_request));
tc_ac.start;
......
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