Skip to content
Snippets Groups Projects
Commit 5e832b5c authored by Naum Spaseski's avatar Naum Spaseski
Browse files

STF531: Corrected TC_CSE_REG_CRE_029

parent 04d53589
No related branches found
No related tags found
No related merge requests found
...@@ -1636,7 +1636,7 @@ module OneM2M_Testcases { ...@@ -1636,7 +1636,7 @@ module OneM2M_Testcases {
testcase TC_CSE_REG_CRE_029() runs on CseSimu system CseSystem { testcase TC_CSE_REG_CRE_029() runs on CseSimu system CseSystem {
//var MsgIn v_response; var MsgIn v_response;
var RequestPrimitive v_request; var RequestPrimitive v_request;
var RequestPrimitive v_createRequestPrimitive := valueof(m_createRemoteCSEBase); var RequestPrimitive v_createRequestPrimitive := valueof(m_createRemoteCSEBase);
...@@ -1652,14 +1652,13 @@ module OneM2M_Testcases { ...@@ -1652,14 +1652,13 @@ module OneM2M_Testcases {
// Preamble // Preamble
v_request := f_getCreateRequestPrimitive(v_resourceType, v_createRequestPrimitive, -1); v_request := f_getCreateRequestPrimitive(v_resourceType, v_createRequestPrimitive, -1);
mccPort.send(m_request(v_request));
tc_ac.start; tc_ac.start;
alt { alt {
[] mccPort.receive(mw_response(mw_responsePrimitiveOK)) { [] mccPort.receive(mw_request(mw_createRemoteCSEBase(PX_CSE_ID,f_getResourceAddress(-1)))) -> value v_response {
tc_ac.stop; tc_ac.stop;
setverdict(pass, __SCOPE__ & ": Resource type remoteCSE created successfully"); setverdict(pass, __SCOPE__ & ": Resource type remoteCSE created successfully");
} }
[] mccPort.receive(mw_response(mw_responsePrimitiveKO)) { [] mccPort.receive {
tc_ac.stop; tc_ac.stop;
setverdict(fail, __SCOPE__ & ": Error while creating resource type remoteCSE"); setverdict(fail, __SCOPE__ & ": Error while creating resource type remoteCSE");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment