Skip to content
Snippets Groups Projects
Commit 7c2e88fa authored by Pramod Kulkarni's avatar Pramod Kulkarni
Browse files

Merge branch 'Test_architecture_improvement' of https://git.onem2m.org/TST/ATS...

Merge branch 'Test_architecture_improvement' of https://git.onem2m.org/TST/ATS into Test_architecture_improvement
parents f877bf6b 29435c77
No related branches found
No related tags found
No related merge requests found
...@@ -101,7 +101,7 @@ module OneM2M_Functions { ...@@ -101,7 +101,7 @@ module OneM2M_Functions {
vc_aeSimu := AeSimu.create("AE1") alive; vc_aeSimu := AeSimu.create("AE1") alive;
// Map // Map
map(self:mccPort, system:mcaPort); map(self:mccPort, system:mccPort);
map(vc_aeSimu:mcaPort, system:mcaPort); map(vc_aeSimu:mcaPort, system:mcaPort);
map(self:acPort, system:acPort); map(self:acPort, system:acPort);
activate(a_default()); activate(a_default());
...@@ -1365,7 +1365,7 @@ module OneM2M_Functions { ...@@ -1365,7 +1365,7 @@ module OneM2M_Functions {
v_request := f_getCreateRequestPrimitive(int16, p_requestPrimitive, -1); v_request := f_getCreateRequestPrimitive(int16, p_requestPrimitive, -1);
mcaPort.send(m_request(v_request)); mccPort.send(m_request(v_request));
tc_ac.start; tc_ac.start;
alt { alt {
[] mccPort.receive(mw_response(mw_responsePrimitiveOK)) -> value v_response { [] mccPort.receive(mw_response(mw_responsePrimitiveOK)) -> value v_response {
...@@ -2409,12 +2409,13 @@ module OneM2M_Functions { ...@@ -2409,12 +2409,13 @@ module OneM2M_Functions {
f_cse_postamble_deleteResourcesCSE(); f_cse_postamble_deleteResourcesCSE();
if(vc_config == e_cf03) { if(vc_config == e_cf03) {
f_cf03Down(); f_cf03Down();
stop;
} else if (vc_config ==e_cf04) { } else if (vc_config ==e_cf04) {
f_cf04Down(); f_cf04Down();
}
stop; stop;
} }
} }
}
/** /**
* @desc Sending of an Adapter Control primitive * @desc Sending of an Adapter Control primitive
......
...@@ -40,7 +40,7 @@ module OneM2M_TestControl { ...@@ -40,7 +40,7 @@ module OneM2M_TestControl {
execute(TC_CSE_REG_CRE_016_CST()); execute(TC_CSE_REG_CRE_016_CST());
execute(TC_CSE_REG_CRE_016_POA()); execute(TC_CSE_REG_CRE_016_POA());
execute(TC_CSE_REG_CRE_016_NL()); execute(TC_CSE_REG_CRE_016_NL());
execute(TC_CSE_REG_CRE_018()); execute(TC_CSE_REG_CRE_019());
execute(TC_CSE_REG_CRE_022()); execute(TC_CSE_REG_CRE_022());
execute(TC_CSE_REG_CRE_023()); execute(TC_CSE_REG_CRE_023());
execute(TC_CSE_REG_CRE_025()); execute(TC_CSE_REG_CRE_025());
......
...@@ -1249,6 +1249,7 @@ module OneM2M_Testcases { ...@@ -1249,6 +1249,7 @@ module OneM2M_Testcases {
v_createRequest.primitiveContent.remoteCSE.pointOfAccess := {"http://" & PX_CSE1_ADDRESS & "/"}; v_createRequest.primitiveContent.remoteCSE.pointOfAccess := {"http://" & PX_CSE1_ADDRESS & "/"};
v_cse1.start(f_CSE_REG_CRE_016(v_createRequest, c_optionalAttribute)); v_cse1.start(f_CSE_REG_CRE_016(v_createRequest, c_optionalAttribute));
v_cse1.done;
} }
...@@ -1325,7 +1326,7 @@ module OneM2M_Testcases { ...@@ -1325,7 +1326,7 @@ module OneM2M_Testcases {
* @desc Check that the IUT rejects an AE registration (not allowed App-ID) * @desc Check that the IUT rejects an AE registration (not allowed App-ID)
* *
*/ */
testcase TC_CSE_REG_CRE_018() runs on AeSimu system CseSystem { testcase TC_CSE_REG_CRE_019() runs on AeSimu system CseSystem {
var MsgIn v_response; var MsgIn v_response;
var RequestPrimitive v_request; var RequestPrimitive v_request;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment