Commit 5e832b5c authored by Naum Spaseski's avatar Naum Spaseski
Browse files

STF531: Corrected TC_CSE_REG_CRE_029


Signed-off-by: default avatarNaum Spaseski <naum.spaseski@gmail.com>
parent 04d53589
......@@ -1636,7 +1636,7 @@ module OneM2M_Testcases {
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_createRequestPrimitive := valueof(m_createRemoteCSEBase);
......@@ -1652,14 +1652,13 @@ module OneM2M_Testcases {
// Preamble
v_request := f_getCreateRequestPrimitive(v_resourceType, v_createRequestPrimitive, -1);
mccPort.send(m_request(v_request));
tc_ac.start;
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;
setverdict(pass, __SCOPE__ & ": Resource type remoteCSE created successfully");
}
[] mccPort.receive(mw_response(mw_responsePrimitiveKO)) {
[] mccPort.receive {
tc_ac.stop;
setverdict(fail, __SCOPE__ & ": Error while creating resource type remoteCSE");
}
......
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