Loading ttcn/LibdPMR_Messages.ttcn→ttcn/dPMR_Messages.ttcn +0 −0 File moved. View file ttcn/dPMR_Templates.ttcn 0 → 100644 +43 −0 Original line number Diff line number Diff line /* * @author STF 340 * @version $vx.x.x$ * @desc Templates of messages are defined here. * */ module dPMR_Templates { //LibCommon import from LibCommon_DataStrings all; import from LibCommon_BasicTypesAndValues all; import from LibCommon_DataStrings all; //Ats import from dPMR_TestSystem all; import from dPMR_Messages all; // import from dPMR_Pixits all; import from dPMR_Types all; import from dPMR_Values all; // template CallOrSrvReq m_callOrSrvReq( template HeaderFrame p_headerFrame , // template EndFrame p_endFrame ) := // { // headerFrame := p_headerFrame , // endFrame := p_endFrame // } // template HeaderFrame m_headerFrame := { // TO BE DONE !!! // } // template EndFrame m_endFrame := { // TO BE DONE !!! // } } // end module dPMR_Templates No newline at end of file ttcn/dPMR_TestCases.ttcn +41 −2 Original line number Diff line number Diff line Loading @@ -15,8 +15,8 @@ module dPMR_TestCases { import from LibCommon_DataStrings all; //Ats import from dPMR_TestSystem all; // import from dPMR_templates all; // import from dPMR_messages all; import from dPMR_Templates all; import from dPMR_Messages all; import from dPMR_TestConfiguration all; group IsfCsfCommon { Loading @@ -25,8 +25,47 @@ group IsfCsfCommon { /* * @desc TP Ref: TP_PMR_0406_01 * TP version: V1.1.1 * */ /* testcase TC_PMR_0406_01() runs on Simu system TestAdapter { // Variables // Configuration //Default //Preamble action("Bring IUT to Standby state"); //Test Body t_tcTimer.start ; dp1Port.send(m_callOrSrvReq); alt { [] dp1Port.receive(mw_acknowledgement()) { setverdict(pass); } [] t_tcTimer.timeout { log("**** TC_PMR_0406_01: TC Timer expiration before reception of Acknowledgement ****"); setverdict(fail); } } // end alt //Postamble }//end TC_PMR_0406_01 */ } // end group Framing } // end group IsfCsfCommon Loading ttcn/dPMR_TestSystem.ttcn +2 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,8 @@ group componentDefs { port SyncPort syncPort; //port TaPort taPort; port UtPort utPort; timer t_tcTimer ; // PtcSyncPort used for synchronization between 2 PTCs // port SyncPort ptcSyncPort; //port CfPort cfPort; Loading ttcn/LibdPMR_Types.ttcn→ttcn/dPMR_Types.ttcn +0 −0 File moved. View file Loading
ttcn/dPMR_Templates.ttcn 0 → 100644 +43 −0 Original line number Diff line number Diff line /* * @author STF 340 * @version $vx.x.x$ * @desc Templates of messages are defined here. * */ module dPMR_Templates { //LibCommon import from LibCommon_DataStrings all; import from LibCommon_BasicTypesAndValues all; import from LibCommon_DataStrings all; //Ats import from dPMR_TestSystem all; import from dPMR_Messages all; // import from dPMR_Pixits all; import from dPMR_Types all; import from dPMR_Values all; // template CallOrSrvReq m_callOrSrvReq( template HeaderFrame p_headerFrame , // template EndFrame p_endFrame ) := // { // headerFrame := p_headerFrame , // endFrame := p_endFrame // } // template HeaderFrame m_headerFrame := { // TO BE DONE !!! // } // template EndFrame m_endFrame := { // TO BE DONE !!! // } } // end module dPMR_Templates No newline at end of file
ttcn/dPMR_TestCases.ttcn +41 −2 Original line number Diff line number Diff line Loading @@ -15,8 +15,8 @@ module dPMR_TestCases { import from LibCommon_DataStrings all; //Ats import from dPMR_TestSystem all; // import from dPMR_templates all; // import from dPMR_messages all; import from dPMR_Templates all; import from dPMR_Messages all; import from dPMR_TestConfiguration all; group IsfCsfCommon { Loading @@ -25,8 +25,47 @@ group IsfCsfCommon { /* * @desc TP Ref: TP_PMR_0406_01 * TP version: V1.1.1 * */ /* testcase TC_PMR_0406_01() runs on Simu system TestAdapter { // Variables // Configuration //Default //Preamble action("Bring IUT to Standby state"); //Test Body t_tcTimer.start ; dp1Port.send(m_callOrSrvReq); alt { [] dp1Port.receive(mw_acknowledgement()) { setverdict(pass); } [] t_tcTimer.timeout { log("**** TC_PMR_0406_01: TC Timer expiration before reception of Acknowledgement ****"); setverdict(fail); } } // end alt //Postamble }//end TC_PMR_0406_01 */ } // end group Framing } // end group IsfCsfCommon Loading
ttcn/dPMR_TestSystem.ttcn +2 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,8 @@ group componentDefs { port SyncPort syncPort; //port TaPort taPort; port UtPort utPort; timer t_tcTimer ; // PtcSyncPort used for synchronization between 2 PTCs // port SyncPort ptcSyncPort; //port CfPort cfPort; Loading