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

Added TC_CSE_REG_CRE_026_CST

parent a8124c9f
No related branches found
No related tags found
No related merge requests found
......@@ -2199,6 +2199,15 @@ module OneM2M_Testcases_CSE {
f_CSE_REG_CRE_026(v_utRequest,v_request,v_action);
}
testcase TC_CSE_REG_CRE_026_CST() runs on CseSimu system CseSystem {
var template UtTriggerPrimitive v_utRequest := m_utCreateRemoteCSE;
var template RequestPrimitive v_request := mw_createRemoteCSE;
var charstring v_action := __SCOPE__ & ": Please, send a CSE registration request with optional attribute cseType";
v_utRequest.primitiveContent.remoteCSE.cseType := "UNINITIALIZED";
v_request.primitiveContent.remoteCSE.cseType := ?;
f_CSE_REG_CRE_026(v_utRequest,v_request,v_action);
}
function f_CSE_REG_CRE_026(template UtTriggerPrimitive p_utRequest, template RequestPrimitive p_request, in charstring p_action) runs on CseSimu {
var ResponsePrimitive v_responsePrimitive;
......@@ -2226,10 +2235,10 @@ module OneM2M_Testcases_CSE {
}
[] mccPortIn.receive {
tc_ac.stop;
setverdict(inconc, __SCOPE__&":INFO: Unexpected message received");
setverdict(fail, __SCOPE__&":INFO: Unexpected message received");
}
[] tc_ac.timeout {
setverdict(inconc, __SCOPE__&":INFO: No request received for creating resource type remoteCSE");
setverdict(fail, __SCOPE__&":INFO: No request received for creating resource type remoteCSE");
}
}
......
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