Commit 2d33ca77 authored by Naum Spaseski's avatar Naum Spaseski
Browse files

STF531: Corrected TC_CSE_REG_CRE_027


Signed-off-by: default avatarNaum Spaseski <naum.spaseski@gmail.com>
parent b8047454
...@@ -1540,7 +1540,7 @@ module OneM2M_Testcases { ...@@ -1540,7 +1540,7 @@ module OneM2M_Testcases {
* @desc Check that the IUT rejects the create request of <CSEBase> resource. * @desc Check that the IUT rejects the create request of <CSEBase> resource.
* *
*/ */
testcase TC_CSE_REG_CRE_027() runs on InCseSimu system CseSystem { testcase TC_CSE_REG_CRE_027() runs on AeSimu system CseSystem {
// Local variables // Local variables
var RequestPrimitive v_request; var RequestPrimitive v_request;
...@@ -1550,23 +1550,23 @@ module OneM2M_Testcases { ...@@ -1550,23 +1550,23 @@ module OneM2M_Testcases {
// Test control // Test control
// Test component configuration // Test component configuration
f_cf01UpCseSimuMaster(); f_cf02Up();
// Test adapter configuration // Test adapter configuration
// Preamble // Preamble
vc_remoteCseIndex := f_cse_registrationRemoteCse(mw_createRemoteCSEBase); vc_cseSimu.start(f_cse_registrationRemoteCse(mw_createRemoteCSEBase));
// Test Body // Test Body
vc_aeSimu.start(f_cse_createResource(int2, m_createAe(PX_APP_ID, omit, omit))); f_cse_createResource(int2, m_createAe(PX_APP_ID, omit, omit));
tc_ac.start; tc_ac.start;
alt { alt {
[] mccPort.receive(mw_response(mw_responsePrimitive(int2001))) { [] mcaPort.receive(mw_response(mw_responsePrimitive(int2001))) {
tc_ac.stop; tc_ac.stop;
setverdict(pass, __SCOPE__ & ": AE creation successful."); setverdict(pass, __SCOPE__ & ": AE creation successful.");
} }
[] mccPort.receive { [] mcaPort.receive {
tc_ac.stop; tc_ac.stop;
setverdict(fail, __SCOPE__ & ": Error while creating AE"); setverdict(fail, __SCOPE__ & ": Error while creating AE");
} }
...@@ -1576,10 +1576,10 @@ module OneM2M_Testcases { ...@@ -1576,10 +1576,10 @@ module OneM2M_Testcases {
} }
// Postamble // Postamble
f_cse_postamble_deleteResourcesCSE(); f_cse_postamble_deleteResources();
// Tear down // Tear down
f_cf01DownCseSimuMaster(); f_cf02Down();
}//end TC_CSE_REG_CRE_027 }//end TC_CSE_REG_CRE_027
......
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