Loading ttcn/AtsECall_IVS_Testcases.ttcn +39 −39 Original line number Diff line number Diff line Loading @@ -83,7 +83,7 @@ module AtsECall_IVS_Testcases { testcase CTP_1_1_2_2() runs on PsapMtc system PsapSystem { // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body f_establishCall(AUTOMATIC, ANY); Loading Loading @@ -146,7 +146,7 @@ module AtsECall_IVS_Testcases { } // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body uiPort.send(m_Mgs); Loading Loading @@ -217,7 +217,7 @@ module AtsECall_IVS_Testcases { } // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body uiPort.send(m_Mgs); Loading Loading @@ -278,7 +278,7 @@ module AtsECall_IVS_Testcases { } // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body for (v_crashType := 0; v_crashType < lengthof(PX_SUPPORTED_CRASH_TYPES); v_crashType := v_crashType + 1) { Loading Loading @@ -339,7 +339,7 @@ module AtsECall_IVS_Testcases { testcase CTP_1_1_3_2() runs on PsapMtc system PsapSystem { // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body f_establishCall(MANUAL, ANY); Loading Loading @@ -382,7 +382,7 @@ module AtsECall_IVS_Testcases { testcase CTP_1_1_5_2() runs on PsapMtc system PsapSystem { // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body f_establishCall(AUTOMATIC, ANY); Loading Loading @@ -428,7 +428,7 @@ module AtsECall_IVS_Testcases { var integer v_button; // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body f_establishCall(MANUAL, ANY); Loading Loading @@ -474,7 +474,7 @@ module AtsECall_IVS_Testcases { var integer v_button; // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body f_establishCall(AUTOMATIC, ANY); Loading Loading @@ -520,7 +520,7 @@ module AtsECall_IVS_Testcases { var integer v_button; // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body f_establishCall(MANUAL, ANY); Loading Loading @@ -568,7 +568,7 @@ module AtsECall_IVS_Testcases { var integer v_button; // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body f_userAction("Establish non eCall communication"); Loading Loading @@ -628,7 +628,7 @@ module AtsECall_IVS_Testcases { var integer v_button; // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body f_establishCall(); Loading Loading @@ -669,7 +669,7 @@ module AtsECall_IVS_Testcases { */ testcase CTP_1_1_7_1() runs on PsapMtc system PsapSystem { // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body f_establishCall(AUTOMATIC, EMERGENCY); Loading Loading @@ -704,7 +704,7 @@ module AtsECall_IVS_Testcases { testcase CTP_1_1_8_1() runs on PsapMtc system PsapSystem { // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body f_establishCall(MANUAL, EMERGENCY); Loading Loading @@ -739,7 +739,7 @@ module AtsECall_IVS_Testcases { testcase CTP_1_1_9_1() runs on PsapMtc system PsapSystem { // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body f_establishCall(ANY, TEST); Loading Loading @@ -817,10 +817,10 @@ module AtsECall_IVS_Testcases { // Local variables var boolean v_redialAttempted := false; var ModemConfiguration v_locaPsapSimCfg := modifies c_defaultPsapSimulatorConfiguration := {numberOfAlAcks := 0, numberOfLlAcks := 0, automaticAlAck := false} template(value) ModemConfiguration m_locaPsapSimCfg modifies m_defaultPsapSimulatorConfiguration := {numberOfAlAcks := 0, numberOfLlAcks := 0, automaticAlAck := false} // Test component configuration f_configIvsUp(v_locaPsapSimCfg); f_configIvsUp(m_locaPsapSimCfg); // Test Body f_establishCall(); Loading Loading @@ -858,7 +858,7 @@ module AtsECall_IVS_Testcases { testcase CTP_1_1_10_3() runs on PsapMtc system PsapSystem { // Local variables var ModemConfiguration v_locaPsapSimCfg := modifies c_defaultPsapSimulatorConfiguration := {inbandDirection := PUSH, ignoreSendSignal := true}; template(value) ModemConfiguration m_locaPsapSimCfg modifies m_defaultPsapSimulatorConfiguration := {inbandDirection := PUSH, ignoreSendSignal := true}; var ExpectResult v_feedback; var Event v_event; var InbandSendSignalReceivedEvent v_firstSendSignal, v_lastSendSignal; Loading @@ -866,7 +866,7 @@ module AtsECall_IVS_Testcases { timer t_guard := c_t3_timer * 2.0; // Test component configuration f_configIvsUp(v_locaPsapSimCfg); f_configIvsUp(m_locaPsapSimCfg); // Test Body v_feedback := f_establishCall(); Loading Loading @@ -927,7 +927,7 @@ module AtsECall_IVS_Testcases { testcase CTP_1_1_11_1() runs on PsapMtc system PsapSystem { // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body f_establishCall(AUTOMATIC, EMERGENCY); Loading Loading @@ -963,7 +963,7 @@ module AtsECall_IVS_Testcases { testcase CTP_1_1_12_1() runs on PsapMtc system PsapSystem { // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body f_establishCall(MANUAL, EMERGENCY); Loading Loading @@ -1000,7 +1000,7 @@ module AtsECall_IVS_Testcases { testcase CTP_1_1_13_1() runs on PsapMtc system PsapSystem { // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body f_establishCall(ANY, TEST); Loading Loading @@ -1037,7 +1037,7 @@ module AtsECall_IVS_Testcases { testcase CTP_1_1_14_1() runs on PsapMtc system PsapSystem { // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body f_establishCall(ANY, TEST); Loading Loading @@ -1074,7 +1074,7 @@ module AtsECall_IVS_Testcases { testcase CTP_1_1_15_1() runs on PsapMtc system PsapSystem { // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body f_establishCall(ANY, TEST); Loading Loading @@ -1122,7 +1122,7 @@ module AtsECall_IVS_Testcases { testcase CTP_1_1_15_2() runs on PsapMtc system PsapSystem { // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body f_establishCall(); Loading Loading @@ -1181,10 +1181,10 @@ module AtsECall_IVS_Testcases { testcase CTP_1_1_15_3() runs on PsapMtc system PsapSystem { // Local variables var ModemConfiguration v_locaPsapSimCfg := modifies c_defaultPsapSimulatorConfiguration := {inbandDirection := PUSH, ignoreSendSignal := true} template(value) ModemConfiguration m_locaPsapSimCfg modifies m_defaultPsapSimulatorConfiguration := {inbandDirection := PUSH, ignoreSendSignal := true} // Test component configuration f_configIvsUp(v_locaPsapSimCfg); f_configIvsUp(m_locaPsapSimCfg); // Test Body f_establishCall(ANY, TEST); Loading Loading @@ -1225,10 +1225,10 @@ module AtsECall_IVS_Testcases { testcase CTP_1_1_15_4() runs on PsapMtc system PsapSystem { // Local variables var ModemConfiguration v_locaPsapSimCfg := modifies c_defaultPsapSimulatorConfiguration := {numberOfAlAcks := 0, automaticAlAck := false} template(value) ModemConfiguration m_locaPsapSimCfg modifies m_defaultPsapSimulatorConfiguration := {numberOfAlAcks := 0, automaticAlAck := false} // Test component configuration f_configIvsUp(v_locaPsapSimCfg); f_configIvsUp(m_locaPsapSimCfg); // Test Body f_establishCall(ANY, TEST); Loading Loading @@ -1281,10 +1281,10 @@ module AtsECall_IVS_Testcases { var TimerExpiredEvent v_t8Expired; var integer v_lastNackDelta; timer t := PX_TIMEOUT; var ModemConfiguration v_locaPsapSimCfg := modifies c_defaultPsapSimulatorConfiguration := {noAckOfMsd := true} template(value) ModemConfiguration m_locaPsapSimCfg modifies m_defaultPsapSimulatorConfiguration := {noAckOfMsd := true} // Test component configuration f_configIvsUp(v_locaPsapSimCfg); f_configIvsUp(m_locaPsapSimCfg); // Test Body f_establishCall(ANY, TEST); Loading Loading @@ -1362,7 +1362,7 @@ module AtsECall_IVS_Testcases { testcase CTP_1_1_16_1() runs on PsapMtc system PsapSystem { // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body Loading Loading @@ -1436,7 +1436,7 @@ module AtsECall_IVS_Testcases { timer t_t2 := f_timerUpperBound(c_t2_timer); // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body v_feedback := f_establishCall(ANY, TEST); Loading Loading @@ -1505,10 +1505,10 @@ module AtsECall_IVS_Testcases { testcase CTP_1_1_16_3() runs on PsapMtc system PsapSystem { // Local variables var ModemConfiguration v_locaPsapSimCfg := modifies c_defaultPsapSimulatorConfiguration := {alAckValue := c_clearDownAlAck}; template(value) ModemConfiguration m_locaPsapSimCfg modifies m_defaultPsapSimulatorConfiguration := {alAckValue := c_clearDownAlAck}; // Test component configuration f_configIvsUp(v_locaPsapSimCfg); f_configIvsUp(m_locaPsapSimCfg); // Test Body f_establishCall(ANY, TEST); Loading Loading @@ -1553,7 +1553,7 @@ module AtsECall_IVS_Testcases { testcase CTP_1_1_17_2() runs on PsapMtc system PsapSystem { // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body Loading Loading @@ -1642,7 +1642,7 @@ module AtsECall_IVS_Testcases { timer t_callbackDelay := PX_CTP_1_1_17_3_CALL_BACK_DELAY; // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Precondition: Call-back is in progress f_establishCall(); Loading Loading @@ -1756,7 +1756,7 @@ module AtsECall_IVS_Testcases { timer t_callbackDelay := c_ctp_1_1_17_4_call_back_delay; // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body f_establishCall(); Loading Loading @@ -1813,7 +1813,7 @@ module AtsECall_IVS_Testcases { testcase CTP_1_1_14_2() runs on PsapMtc system PsapSystem { // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body f_establishCall(ANY, TEST); Loading Loading @@ -1862,7 +1862,7 @@ module AtsECall_IVS_Testcases { timer t_callbackDelay := PX_CTP_1_1_17_3_CALL_BACK_DELAY; // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Postamble: eCall has been successfully terminated by the PSAP f_establishCall(ANY, TEST); Loading ttcn/AtsECall_PSAP_Testcases.ttcn +22 −22 Original line number Diff line number Diff line Loading @@ -50,7 +50,7 @@ module AtsECall_PSAP_Testcases { testcase CTP_3_1_10() runs on IvsMtc system IvsSystem { // Test component configuration f_configPsapUp(c_defaultIVSSimulatorConfiguration); f_configPsapUp(m_defaultIVSSimulatorConfiguration); // Test Body callControl.send(m_callCreate(PX_MODEM_INSTANCES[0].id, PX_PSAP_PHONE_NUMBER)); Loading Loading @@ -101,7 +101,7 @@ module AtsECall_PSAP_Testcases { testcase CTP_3_1_3_2() runs on IvsMtc system IvsSystem { // Test component configuration f_configPsapUp(c_defaultIVSSimulatorConfiguration); f_configPsapUp(m_defaultIVSSimulatorConfiguration); // Test Body callControl.send(m_callCreate(PX_MODEM_INSTANCES[0].id, PX_PSAP_PHONE_NUMBER)); Loading Loading @@ -151,7 +151,7 @@ module AtsECall_PSAP_Testcases { testcase CTP_3_1_3_3() runs on IvsMtc system IvsSystem { // Test component configuration f_configPsapUp(c_defaultIVSSimulatorConfiguration); f_configPsapUp(m_defaultIVSSimulatorConfiguration); // Test Body callControl.send(m_callCreate(PX_MODEM_INSTANCES[0].id, PX_PSAP_PHONE_NUMBER)); Loading Loading @@ -203,7 +203,7 @@ module AtsECall_PSAP_Testcases { testcase CTP_3_1_7_4() runs on IvsMtc system IvsSystem { // Local variables template(value) ModemConfiguration m_localIVSSimulatorConfiguration modifies c_defaultIVSSimulatorConfiguration := {simulateCrcError := true}; template(value) ModemConfiguration m_localIVSSimulatorConfiguration modifies m_defaultIVSSimulatorConfiguration := {simulateCrcError := true}; // Test component configuration f_configPsapUp(m_localIVSSimulatorConfiguration); Loading Loading @@ -281,7 +281,7 @@ module AtsECall_PSAP_Testcases { testcase CTP_3_1_7_5() runs on IvsMtc system IvsSystem { // Local variables template(value) ModemConfiguration m_localIVSSimulatorConfiguration modifies c_defaultIVSSimulatorConfiguration := {eCallMessage := PX_BAD_ECALL_MESSAGE}; template(value) ModemConfiguration m_localIVSSimulatorConfiguration modifies m_defaultIVSSimulatorConfiguration := {eCallMessage := PX_BAD_ECALL_MESSAGE}; // Test component configuration f_configPsapUp(m_localIVSSimulatorConfiguration); Loading Loading @@ -332,7 +332,7 @@ module AtsECall_PSAP_Testcases { testcase CTP_3_1_11() runs on IvsMtc system IvsSystem { // Test component configuration f_configPsapUp(c_defaultIVSSimulatorConfiguration); f_configPsapUp(m_defaultIVSSimulatorConfiguration); // Test Body callControl.send(m_callCreate(PX_MODEM_INSTANCES[0].id, PX_PSAP_PHONE_NUMBER)); Loading Loading @@ -376,7 +376,7 @@ module AtsECall_PSAP_Testcases { testcase CTP_3_1_12() runs on IvsMtc system IvsSystem { // Test component configuration f_configPsapUp(c_defaultIVSSimulatorConfiguration); f_configPsapUp(m_defaultIVSSimulatorConfiguration); // Test Body callControl.send(m_callCreate(PX_MODEM_INSTANCES[0].id, PX_PSAP_PHONE_NUMBER)); Loading Loading @@ -430,7 +430,7 @@ module AtsECall_PSAP_Testcases { testcase CTP_3_1_13() runs on IvsMtc system IvsSystem { // Test component configuration f_configPsapUp(c_defaultIVSSimulatorConfiguration); f_configPsapUp(m_defaultIVSSimulatorConfiguration); // Test Body callControl.send(m_callCreate(PX_MODEM_INSTANCES[0].id, PX_PSAP_PHONE_NUMBER)); Loading Loading @@ -488,7 +488,7 @@ module AtsECall_PSAP_Testcases { testcase CTP_3_1_14_1() runs on IvsMtc system IvsSystem { // Test component configuration f_configPsapUp(c_defaultIVSSimulatorConfiguration); f_configPsapUp(m_defaultIVSSimulatorConfiguration); // Test Body callControl.send(m_callCreate(PX_MODEM_INSTANCES[0].id, PX_PSAP_PHONE_NUMBER)); Loading Loading @@ -553,7 +553,7 @@ module AtsECall_PSAP_Testcases { testcase CTP_3_1_14_2() runs on IvsMtc system IvsSystem { // Test component configuration f_configPsapUp(c_defaultIVSSimulatorConfiguration); f_configPsapUp(m_defaultIVSSimulatorConfiguration); // Test Body callControl.send(m_callCreate(PX_MODEM_INSTANCES[0].id, PX_PSAP_PHONE_NUMBER)); Loading Loading @@ -600,7 +600,7 @@ module AtsECall_PSAP_Testcases { testcase CTP_3_1_15() runs on IvsMtc system IvsSystem { // Test component configuration f_configPsapUp(c_defaultIVSSimulatorConfiguration); f_configPsapUp(m_defaultIVSSimulatorConfiguration); // Test Body callControl.send(m_callCreate(PX_MODEM_INSTANCES[0].id, PX_PSAP_PHONE_NUMBER)); Loading Loading @@ -657,7 +657,7 @@ module AtsECall_PSAP_Testcases { testcase CTP_3_1_16() runs on IvsMtc system IvsSystem { // Test component configuration f_configPsapUp(c_defaultIVSSimulatorConfiguration); f_configPsapUp(m_defaultIVSSimulatorConfiguration); // Test Body callControl.send(m_callCreate(PX_MODEM_INSTANCES[0].id, PX_PSAP_PHONE_NUMBER)); Loading Loading @@ -714,7 +714,7 @@ module AtsECall_PSAP_Testcases { testcase CTP_3_1_3_1() runs on IvsMtc system IvsSystem { // Test component configuration f_configPsapUp(c_defaultIVSSimulatorConfiguration); f_configPsapUp(m_defaultIVSSimulatorConfiguration); // Test Body callControl.send(m_callCreate(PX_MODEM_INSTANCES[0].id, PX_PSAP_PHONE_NUMBER)); Loading Loading @@ -755,7 +755,7 @@ module AtsECall_PSAP_Testcases { testcase CTP_3_1_5_1() runs on IvsMtc system IvsSystem { // Test component configuration f_configPsapUp(c_defaultIVSSimulatorConfiguration); f_configPsapUp(m_defaultIVSSimulatorConfiguration); // Test Body callControl.send(m_callCreate(PX_MODEM_INSTANCES[0].id, PX_PSAP_PHONE_NUMBER)); Loading Loading @@ -795,10 +795,10 @@ module AtsECall_PSAP_Testcases { testcase CTP_3_1_5_2() runs on IvsMtc system IvsSystem { // Local variables template(value) ModemConfiguration v_localIvsSimulatorConfiguration modifies c_defaultIVSSimulatorConfiguration := {disableInitiationSignal := true} template(value) ModemConfiguration m_localIvsSimulatorConfiguration modifies m_defaultIVSSimulatorConfiguration := {disableInitiationSignal := true} // Test component configuration f_configPsapUp(v_localIvsSimulatorConfiguration); f_configPsapUp(m_localIvsSimulatorConfiguration); // Test Body callControl.send(m_callCreate(PX_MODEM_INSTANCES[0].id, PX_PSAP_PHONE_NUMBER)); Loading Loading @@ -847,7 +847,7 @@ module AtsECall_PSAP_Testcases { var CallEstablishedEvent v_callEstablished; // Test component configuration f_configPsapUp(c_defaultIVSSimulatorConfiguration); f_configPsapUp(m_defaultIVSSimulatorConfiguration); // Test Body callControl.send(m_callCreate(PX_MODEM_INSTANCES[0].id, PX_PSAP_PHONE_NUMBER)); Loading Loading @@ -903,7 +903,7 @@ module AtsECall_PSAP_Testcases { var InbandAlAckReceivedEvent v_alAckReceived; // Test component configuration f_configPsapUp(c_defaultIVSSimulatorConfiguration); f_configPsapUp(m_defaultIVSSimulatorConfiguration); // Test Body callControl.send(m_callCreate(PX_MODEM_INSTANCES[0].id, PX_PSAP_PHONE_NUMBER)); Loading Loading @@ -972,7 +972,7 @@ module AtsECall_PSAP_Testcases { testcase CTP_3_1_7_2() runs on IvsMtc system IvsSystem { // Test component configuration f_configPsapUp(c_defaultIVSSimulatorConfiguration); f_configPsapUp(m_defaultIVSSimulatorConfiguration); // Test Body callControl.send(m_callCreate(PX_MODEM_INSTANCES[0].id, PX_PSAP_PHONE_NUMBER)); Loading Loading @@ -1012,10 +1012,10 @@ module AtsECall_PSAP_Testcases { testcase CTP_3_1_7_3() runs on IvsMtc system IvsSystem { // Local variables template(value) ModemConfiguration v_localIvsSimulatorConfiguration modifies c_defaultIVSSimulatorConfiguration := {simulateCrcError := true} template(value) ModemConfiguration m_localIvsSimulatorConfiguration modifies m_defaultIVSSimulatorConfiguration := {simulateCrcError := true} // Test component configuration f_configPsapUp(v_localIvsSimulatorConfiguration); f_configPsapUp(valueof(m_localIvsSimulatorConfiguration)); // Test Body callControl.send(m_callCreate(PX_MODEM_INSTANCES[0].id, PX_PSAP_PHONE_NUMBER)); Loading Loading @@ -1060,7 +1060,7 @@ module AtsECall_PSAP_Testcases { testcase CTP_3_1_9() runs on IvsMtc system IvsSystem { // Test component configuration f_configPsapUp(c_defaultIVSSimulatorConfiguration); f_configPsapUp(m_defaultIVSSimulatorConfiguration); // Test Body callControl.send(m_callCreate(PX_MODEM_INSTANCES[0].id, PX_PSAP_PHONE_NUMBER)); Loading ttcn/LibItsECall_Functions.ttcn +9 −7 Original line number Diff line number Diff line Loading @@ -96,6 +96,7 @@ module LibItsECall_Functions { var ECallMessage v_eCallMessage; var MSDMessage v_receivedMSDMessage; var integer v_decoded; var bitstring v_encoded; template MSDMessage mw_msdMessage := f_generateMSDTemplate(); Loading Loading @@ -135,7 +136,8 @@ module LibItsECall_Functions { // Check MSD message contents // v_decoded := decvalue(oct2bit(v_eCallMessage.msd), v_receivedMSDMessage); v_encoded := oct2bit(v_eCallMessage.msd); v_decoded := decvalue(v_encoded, v_receivedMSDMessage); if (v_decoded != 0) { f_stopIvsTestcase(fail, "MSD message could not be decoded"); } Loading Loading @@ -210,11 +212,11 @@ module LibItsECall_Functions { } case (TEST) { m_localMsg.msg := m_localMsg.msg & " (non-emergency number)"; m_localMsg.msg := valueof(m_localMsg.msg) & " (non-emergency number)"; } case (EMERGENCY) { m_localMsg.msg := m_localMsg.msg & " (emergency number)"; m_localMsg.msg := valueof(m_localMsg.msg) & " (emergency number)"; } } Loading Loading @@ -685,7 +687,7 @@ module LibItsECall_Functions { * @desc Setup function for IVS test system * @param p_configuration Simulator's configuration parameters (PSAP mode) */ function f_configIvsUp(in ModemConfiguration p_modemConfiguration := c_defaultPsapSimulatorConfiguration, in MnoConfiguration p_mnoConfiguraion := c_defaultMnoConfiguration) runs on PsapMtc { function f_configIvsUp(in template (value) ModemConfiguration p_modemConfiguration := m_defaultPsapSimulatorConfiguration, in template(value) MnoConfiguration p_mnoConfiguraion := m_defaultMnoConfiguration) runs on PsapMtc { vc_logComponent := LogComponent.create("Log Component"); vc_uiComponent := UIComponent.create("UIComponent"); Loading @@ -708,7 +710,7 @@ module LibItsECall_Functions { * @param p_mnoConfiguraion MNO configuration parameters * @verdict */ function f_configMnoUp(in MnoConfiguration p_mnoConfiguraion := c_defaultMnoConfiguration) runs on PsapMtc { function f_configMnoUp(in template (value) MnoConfiguration p_mnoConfiguraion := m_defaultMnoConfiguration) runs on PsapMtc { map(self:callControl, system:callControl); } // end f_configMnoUp Loading @@ -716,7 +718,7 @@ module LibItsECall_Functions { * @desc Setup function for modem test system (PSAP mode) * @param p_configuration Simulator's configuration parameters (PSAP mode) */ function f_configIvsModemUp(in ModemConfiguration p_configuration) runs on PsapMtc { function f_configIvsModemUp(in template (value)ModemConfiguration p_configuration) runs on PsapMtc { var ModemConfiguration v_ivsConfig := {mode := IVS}; map(self:modem, system:modem); Loading Loading @@ -792,7 +794,7 @@ module LibItsECall_Functions { * @desc Setup fonction for PSAP test system * @param p_configuration Simulator's configuration parameters (IVS mode) */ function f_configPsapUp(in ModemConfiguration p_configuration) runs on IvsMtc { function f_configPsapUp(in template (value) ModemConfiguration p_configuration) runs on IvsMtc { vc_logComponent := LogComponent.create("LogComponent"); vc_uiComponent := UIComponent.create("UIComponent"); Loading ttcn/LibItsECall_Pics.ttcn3→ttcn/LibItsECall_Pics.ttcn +0 −0 File moved. View file ttcn/LibItsECall_Pixits.ttcn +2 −2 Original line number Diff line number Diff line Loading @@ -105,7 +105,7 @@ module LibItsECall_Pixits { /** * @desc Vehicle direction */ modulepar _0MSDStructure1 PX_VEHICLE_DIRECTION := 0; modulepar /*_0MSDStructure1*/UInt8 PX_VEHICLE_DIRECTION := 0; /** * @desc Recent location 1 Loading @@ -126,7 +126,7 @@ module LibItsECall_Pixits { /** * @desc Vehicle passenger number */ modulepar _0MSDStructure2 PX_NUMBER_OF_PASSENGERS := 1; modulepar /*_0MSDStructure2*/UInt8 PX_NUMBER_OF_PASSENGERS := 1; /** * @desc Additional data Loading Loading
ttcn/AtsECall_IVS_Testcases.ttcn +39 −39 Original line number Diff line number Diff line Loading @@ -83,7 +83,7 @@ module AtsECall_IVS_Testcases { testcase CTP_1_1_2_2() runs on PsapMtc system PsapSystem { // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body f_establishCall(AUTOMATIC, ANY); Loading Loading @@ -146,7 +146,7 @@ module AtsECall_IVS_Testcases { } // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body uiPort.send(m_Mgs); Loading Loading @@ -217,7 +217,7 @@ module AtsECall_IVS_Testcases { } // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body uiPort.send(m_Mgs); Loading Loading @@ -278,7 +278,7 @@ module AtsECall_IVS_Testcases { } // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body for (v_crashType := 0; v_crashType < lengthof(PX_SUPPORTED_CRASH_TYPES); v_crashType := v_crashType + 1) { Loading Loading @@ -339,7 +339,7 @@ module AtsECall_IVS_Testcases { testcase CTP_1_1_3_2() runs on PsapMtc system PsapSystem { // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body f_establishCall(MANUAL, ANY); Loading Loading @@ -382,7 +382,7 @@ module AtsECall_IVS_Testcases { testcase CTP_1_1_5_2() runs on PsapMtc system PsapSystem { // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body f_establishCall(AUTOMATIC, ANY); Loading Loading @@ -428,7 +428,7 @@ module AtsECall_IVS_Testcases { var integer v_button; // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body f_establishCall(MANUAL, ANY); Loading Loading @@ -474,7 +474,7 @@ module AtsECall_IVS_Testcases { var integer v_button; // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body f_establishCall(AUTOMATIC, ANY); Loading Loading @@ -520,7 +520,7 @@ module AtsECall_IVS_Testcases { var integer v_button; // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body f_establishCall(MANUAL, ANY); Loading Loading @@ -568,7 +568,7 @@ module AtsECall_IVS_Testcases { var integer v_button; // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body f_userAction("Establish non eCall communication"); Loading Loading @@ -628,7 +628,7 @@ module AtsECall_IVS_Testcases { var integer v_button; // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body f_establishCall(); Loading Loading @@ -669,7 +669,7 @@ module AtsECall_IVS_Testcases { */ testcase CTP_1_1_7_1() runs on PsapMtc system PsapSystem { // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body f_establishCall(AUTOMATIC, EMERGENCY); Loading Loading @@ -704,7 +704,7 @@ module AtsECall_IVS_Testcases { testcase CTP_1_1_8_1() runs on PsapMtc system PsapSystem { // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body f_establishCall(MANUAL, EMERGENCY); Loading Loading @@ -739,7 +739,7 @@ module AtsECall_IVS_Testcases { testcase CTP_1_1_9_1() runs on PsapMtc system PsapSystem { // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body f_establishCall(ANY, TEST); Loading Loading @@ -817,10 +817,10 @@ module AtsECall_IVS_Testcases { // Local variables var boolean v_redialAttempted := false; var ModemConfiguration v_locaPsapSimCfg := modifies c_defaultPsapSimulatorConfiguration := {numberOfAlAcks := 0, numberOfLlAcks := 0, automaticAlAck := false} template(value) ModemConfiguration m_locaPsapSimCfg modifies m_defaultPsapSimulatorConfiguration := {numberOfAlAcks := 0, numberOfLlAcks := 0, automaticAlAck := false} // Test component configuration f_configIvsUp(v_locaPsapSimCfg); f_configIvsUp(m_locaPsapSimCfg); // Test Body f_establishCall(); Loading Loading @@ -858,7 +858,7 @@ module AtsECall_IVS_Testcases { testcase CTP_1_1_10_3() runs on PsapMtc system PsapSystem { // Local variables var ModemConfiguration v_locaPsapSimCfg := modifies c_defaultPsapSimulatorConfiguration := {inbandDirection := PUSH, ignoreSendSignal := true}; template(value) ModemConfiguration m_locaPsapSimCfg modifies m_defaultPsapSimulatorConfiguration := {inbandDirection := PUSH, ignoreSendSignal := true}; var ExpectResult v_feedback; var Event v_event; var InbandSendSignalReceivedEvent v_firstSendSignal, v_lastSendSignal; Loading @@ -866,7 +866,7 @@ module AtsECall_IVS_Testcases { timer t_guard := c_t3_timer * 2.0; // Test component configuration f_configIvsUp(v_locaPsapSimCfg); f_configIvsUp(m_locaPsapSimCfg); // Test Body v_feedback := f_establishCall(); Loading Loading @@ -927,7 +927,7 @@ module AtsECall_IVS_Testcases { testcase CTP_1_1_11_1() runs on PsapMtc system PsapSystem { // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body f_establishCall(AUTOMATIC, EMERGENCY); Loading Loading @@ -963,7 +963,7 @@ module AtsECall_IVS_Testcases { testcase CTP_1_1_12_1() runs on PsapMtc system PsapSystem { // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body f_establishCall(MANUAL, EMERGENCY); Loading Loading @@ -1000,7 +1000,7 @@ module AtsECall_IVS_Testcases { testcase CTP_1_1_13_1() runs on PsapMtc system PsapSystem { // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body f_establishCall(ANY, TEST); Loading Loading @@ -1037,7 +1037,7 @@ module AtsECall_IVS_Testcases { testcase CTP_1_1_14_1() runs on PsapMtc system PsapSystem { // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body f_establishCall(ANY, TEST); Loading Loading @@ -1074,7 +1074,7 @@ module AtsECall_IVS_Testcases { testcase CTP_1_1_15_1() runs on PsapMtc system PsapSystem { // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body f_establishCall(ANY, TEST); Loading Loading @@ -1122,7 +1122,7 @@ module AtsECall_IVS_Testcases { testcase CTP_1_1_15_2() runs on PsapMtc system PsapSystem { // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body f_establishCall(); Loading Loading @@ -1181,10 +1181,10 @@ module AtsECall_IVS_Testcases { testcase CTP_1_1_15_3() runs on PsapMtc system PsapSystem { // Local variables var ModemConfiguration v_locaPsapSimCfg := modifies c_defaultPsapSimulatorConfiguration := {inbandDirection := PUSH, ignoreSendSignal := true} template(value) ModemConfiguration m_locaPsapSimCfg modifies m_defaultPsapSimulatorConfiguration := {inbandDirection := PUSH, ignoreSendSignal := true} // Test component configuration f_configIvsUp(v_locaPsapSimCfg); f_configIvsUp(m_locaPsapSimCfg); // Test Body f_establishCall(ANY, TEST); Loading Loading @@ -1225,10 +1225,10 @@ module AtsECall_IVS_Testcases { testcase CTP_1_1_15_4() runs on PsapMtc system PsapSystem { // Local variables var ModemConfiguration v_locaPsapSimCfg := modifies c_defaultPsapSimulatorConfiguration := {numberOfAlAcks := 0, automaticAlAck := false} template(value) ModemConfiguration m_locaPsapSimCfg modifies m_defaultPsapSimulatorConfiguration := {numberOfAlAcks := 0, automaticAlAck := false} // Test component configuration f_configIvsUp(v_locaPsapSimCfg); f_configIvsUp(m_locaPsapSimCfg); // Test Body f_establishCall(ANY, TEST); Loading Loading @@ -1281,10 +1281,10 @@ module AtsECall_IVS_Testcases { var TimerExpiredEvent v_t8Expired; var integer v_lastNackDelta; timer t := PX_TIMEOUT; var ModemConfiguration v_locaPsapSimCfg := modifies c_defaultPsapSimulatorConfiguration := {noAckOfMsd := true} template(value) ModemConfiguration m_locaPsapSimCfg modifies m_defaultPsapSimulatorConfiguration := {noAckOfMsd := true} // Test component configuration f_configIvsUp(v_locaPsapSimCfg); f_configIvsUp(m_locaPsapSimCfg); // Test Body f_establishCall(ANY, TEST); Loading Loading @@ -1362,7 +1362,7 @@ module AtsECall_IVS_Testcases { testcase CTP_1_1_16_1() runs on PsapMtc system PsapSystem { // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body Loading Loading @@ -1436,7 +1436,7 @@ module AtsECall_IVS_Testcases { timer t_t2 := f_timerUpperBound(c_t2_timer); // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body v_feedback := f_establishCall(ANY, TEST); Loading Loading @@ -1505,10 +1505,10 @@ module AtsECall_IVS_Testcases { testcase CTP_1_1_16_3() runs on PsapMtc system PsapSystem { // Local variables var ModemConfiguration v_locaPsapSimCfg := modifies c_defaultPsapSimulatorConfiguration := {alAckValue := c_clearDownAlAck}; template(value) ModemConfiguration m_locaPsapSimCfg modifies m_defaultPsapSimulatorConfiguration := {alAckValue := c_clearDownAlAck}; // Test component configuration f_configIvsUp(v_locaPsapSimCfg); f_configIvsUp(m_locaPsapSimCfg); // Test Body f_establishCall(ANY, TEST); Loading Loading @@ -1553,7 +1553,7 @@ module AtsECall_IVS_Testcases { testcase CTP_1_1_17_2() runs on PsapMtc system PsapSystem { // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body Loading Loading @@ -1642,7 +1642,7 @@ module AtsECall_IVS_Testcases { timer t_callbackDelay := PX_CTP_1_1_17_3_CALL_BACK_DELAY; // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Precondition: Call-back is in progress f_establishCall(); Loading Loading @@ -1756,7 +1756,7 @@ module AtsECall_IVS_Testcases { timer t_callbackDelay := c_ctp_1_1_17_4_call_back_delay; // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body f_establishCall(); Loading Loading @@ -1813,7 +1813,7 @@ module AtsECall_IVS_Testcases { testcase CTP_1_1_14_2() runs on PsapMtc system PsapSystem { // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Test Body f_establishCall(ANY, TEST); Loading Loading @@ -1862,7 +1862,7 @@ module AtsECall_IVS_Testcases { timer t_callbackDelay := PX_CTP_1_1_17_3_CALL_BACK_DELAY; // Test component configuration f_configIvsUp(c_defaultPsapSimulatorConfiguration); f_configIvsUp(m_defaultPsapSimulatorConfiguration); // Postamble: eCall has been successfully terminated by the PSAP f_establishCall(ANY, TEST); Loading
ttcn/AtsECall_PSAP_Testcases.ttcn +22 −22 Original line number Diff line number Diff line Loading @@ -50,7 +50,7 @@ module AtsECall_PSAP_Testcases { testcase CTP_3_1_10() runs on IvsMtc system IvsSystem { // Test component configuration f_configPsapUp(c_defaultIVSSimulatorConfiguration); f_configPsapUp(m_defaultIVSSimulatorConfiguration); // Test Body callControl.send(m_callCreate(PX_MODEM_INSTANCES[0].id, PX_PSAP_PHONE_NUMBER)); Loading Loading @@ -101,7 +101,7 @@ module AtsECall_PSAP_Testcases { testcase CTP_3_1_3_2() runs on IvsMtc system IvsSystem { // Test component configuration f_configPsapUp(c_defaultIVSSimulatorConfiguration); f_configPsapUp(m_defaultIVSSimulatorConfiguration); // Test Body callControl.send(m_callCreate(PX_MODEM_INSTANCES[0].id, PX_PSAP_PHONE_NUMBER)); Loading Loading @@ -151,7 +151,7 @@ module AtsECall_PSAP_Testcases { testcase CTP_3_1_3_3() runs on IvsMtc system IvsSystem { // Test component configuration f_configPsapUp(c_defaultIVSSimulatorConfiguration); f_configPsapUp(m_defaultIVSSimulatorConfiguration); // Test Body callControl.send(m_callCreate(PX_MODEM_INSTANCES[0].id, PX_PSAP_PHONE_NUMBER)); Loading Loading @@ -203,7 +203,7 @@ module AtsECall_PSAP_Testcases { testcase CTP_3_1_7_4() runs on IvsMtc system IvsSystem { // Local variables template(value) ModemConfiguration m_localIVSSimulatorConfiguration modifies c_defaultIVSSimulatorConfiguration := {simulateCrcError := true}; template(value) ModemConfiguration m_localIVSSimulatorConfiguration modifies m_defaultIVSSimulatorConfiguration := {simulateCrcError := true}; // Test component configuration f_configPsapUp(m_localIVSSimulatorConfiguration); Loading Loading @@ -281,7 +281,7 @@ module AtsECall_PSAP_Testcases { testcase CTP_3_1_7_5() runs on IvsMtc system IvsSystem { // Local variables template(value) ModemConfiguration m_localIVSSimulatorConfiguration modifies c_defaultIVSSimulatorConfiguration := {eCallMessage := PX_BAD_ECALL_MESSAGE}; template(value) ModemConfiguration m_localIVSSimulatorConfiguration modifies m_defaultIVSSimulatorConfiguration := {eCallMessage := PX_BAD_ECALL_MESSAGE}; // Test component configuration f_configPsapUp(m_localIVSSimulatorConfiguration); Loading Loading @@ -332,7 +332,7 @@ module AtsECall_PSAP_Testcases { testcase CTP_3_1_11() runs on IvsMtc system IvsSystem { // Test component configuration f_configPsapUp(c_defaultIVSSimulatorConfiguration); f_configPsapUp(m_defaultIVSSimulatorConfiguration); // Test Body callControl.send(m_callCreate(PX_MODEM_INSTANCES[0].id, PX_PSAP_PHONE_NUMBER)); Loading Loading @@ -376,7 +376,7 @@ module AtsECall_PSAP_Testcases { testcase CTP_3_1_12() runs on IvsMtc system IvsSystem { // Test component configuration f_configPsapUp(c_defaultIVSSimulatorConfiguration); f_configPsapUp(m_defaultIVSSimulatorConfiguration); // Test Body callControl.send(m_callCreate(PX_MODEM_INSTANCES[0].id, PX_PSAP_PHONE_NUMBER)); Loading Loading @@ -430,7 +430,7 @@ module AtsECall_PSAP_Testcases { testcase CTP_3_1_13() runs on IvsMtc system IvsSystem { // Test component configuration f_configPsapUp(c_defaultIVSSimulatorConfiguration); f_configPsapUp(m_defaultIVSSimulatorConfiguration); // Test Body callControl.send(m_callCreate(PX_MODEM_INSTANCES[0].id, PX_PSAP_PHONE_NUMBER)); Loading Loading @@ -488,7 +488,7 @@ module AtsECall_PSAP_Testcases { testcase CTP_3_1_14_1() runs on IvsMtc system IvsSystem { // Test component configuration f_configPsapUp(c_defaultIVSSimulatorConfiguration); f_configPsapUp(m_defaultIVSSimulatorConfiguration); // Test Body callControl.send(m_callCreate(PX_MODEM_INSTANCES[0].id, PX_PSAP_PHONE_NUMBER)); Loading Loading @@ -553,7 +553,7 @@ module AtsECall_PSAP_Testcases { testcase CTP_3_1_14_2() runs on IvsMtc system IvsSystem { // Test component configuration f_configPsapUp(c_defaultIVSSimulatorConfiguration); f_configPsapUp(m_defaultIVSSimulatorConfiguration); // Test Body callControl.send(m_callCreate(PX_MODEM_INSTANCES[0].id, PX_PSAP_PHONE_NUMBER)); Loading Loading @@ -600,7 +600,7 @@ module AtsECall_PSAP_Testcases { testcase CTP_3_1_15() runs on IvsMtc system IvsSystem { // Test component configuration f_configPsapUp(c_defaultIVSSimulatorConfiguration); f_configPsapUp(m_defaultIVSSimulatorConfiguration); // Test Body callControl.send(m_callCreate(PX_MODEM_INSTANCES[0].id, PX_PSAP_PHONE_NUMBER)); Loading Loading @@ -657,7 +657,7 @@ module AtsECall_PSAP_Testcases { testcase CTP_3_1_16() runs on IvsMtc system IvsSystem { // Test component configuration f_configPsapUp(c_defaultIVSSimulatorConfiguration); f_configPsapUp(m_defaultIVSSimulatorConfiguration); // Test Body callControl.send(m_callCreate(PX_MODEM_INSTANCES[0].id, PX_PSAP_PHONE_NUMBER)); Loading Loading @@ -714,7 +714,7 @@ module AtsECall_PSAP_Testcases { testcase CTP_3_1_3_1() runs on IvsMtc system IvsSystem { // Test component configuration f_configPsapUp(c_defaultIVSSimulatorConfiguration); f_configPsapUp(m_defaultIVSSimulatorConfiguration); // Test Body callControl.send(m_callCreate(PX_MODEM_INSTANCES[0].id, PX_PSAP_PHONE_NUMBER)); Loading Loading @@ -755,7 +755,7 @@ module AtsECall_PSAP_Testcases { testcase CTP_3_1_5_1() runs on IvsMtc system IvsSystem { // Test component configuration f_configPsapUp(c_defaultIVSSimulatorConfiguration); f_configPsapUp(m_defaultIVSSimulatorConfiguration); // Test Body callControl.send(m_callCreate(PX_MODEM_INSTANCES[0].id, PX_PSAP_PHONE_NUMBER)); Loading Loading @@ -795,10 +795,10 @@ module AtsECall_PSAP_Testcases { testcase CTP_3_1_5_2() runs on IvsMtc system IvsSystem { // Local variables template(value) ModemConfiguration v_localIvsSimulatorConfiguration modifies c_defaultIVSSimulatorConfiguration := {disableInitiationSignal := true} template(value) ModemConfiguration m_localIvsSimulatorConfiguration modifies m_defaultIVSSimulatorConfiguration := {disableInitiationSignal := true} // Test component configuration f_configPsapUp(v_localIvsSimulatorConfiguration); f_configPsapUp(m_localIvsSimulatorConfiguration); // Test Body callControl.send(m_callCreate(PX_MODEM_INSTANCES[0].id, PX_PSAP_PHONE_NUMBER)); Loading Loading @@ -847,7 +847,7 @@ module AtsECall_PSAP_Testcases { var CallEstablishedEvent v_callEstablished; // Test component configuration f_configPsapUp(c_defaultIVSSimulatorConfiguration); f_configPsapUp(m_defaultIVSSimulatorConfiguration); // Test Body callControl.send(m_callCreate(PX_MODEM_INSTANCES[0].id, PX_PSAP_PHONE_NUMBER)); Loading Loading @@ -903,7 +903,7 @@ module AtsECall_PSAP_Testcases { var InbandAlAckReceivedEvent v_alAckReceived; // Test component configuration f_configPsapUp(c_defaultIVSSimulatorConfiguration); f_configPsapUp(m_defaultIVSSimulatorConfiguration); // Test Body callControl.send(m_callCreate(PX_MODEM_INSTANCES[0].id, PX_PSAP_PHONE_NUMBER)); Loading Loading @@ -972,7 +972,7 @@ module AtsECall_PSAP_Testcases { testcase CTP_3_1_7_2() runs on IvsMtc system IvsSystem { // Test component configuration f_configPsapUp(c_defaultIVSSimulatorConfiguration); f_configPsapUp(m_defaultIVSSimulatorConfiguration); // Test Body callControl.send(m_callCreate(PX_MODEM_INSTANCES[0].id, PX_PSAP_PHONE_NUMBER)); Loading Loading @@ -1012,10 +1012,10 @@ module AtsECall_PSAP_Testcases { testcase CTP_3_1_7_3() runs on IvsMtc system IvsSystem { // Local variables template(value) ModemConfiguration v_localIvsSimulatorConfiguration modifies c_defaultIVSSimulatorConfiguration := {simulateCrcError := true} template(value) ModemConfiguration m_localIvsSimulatorConfiguration modifies m_defaultIVSSimulatorConfiguration := {simulateCrcError := true} // Test component configuration f_configPsapUp(v_localIvsSimulatorConfiguration); f_configPsapUp(valueof(m_localIvsSimulatorConfiguration)); // Test Body callControl.send(m_callCreate(PX_MODEM_INSTANCES[0].id, PX_PSAP_PHONE_NUMBER)); Loading Loading @@ -1060,7 +1060,7 @@ module AtsECall_PSAP_Testcases { testcase CTP_3_1_9() runs on IvsMtc system IvsSystem { // Test component configuration f_configPsapUp(c_defaultIVSSimulatorConfiguration); f_configPsapUp(m_defaultIVSSimulatorConfiguration); // Test Body callControl.send(m_callCreate(PX_MODEM_INSTANCES[0].id, PX_PSAP_PHONE_NUMBER)); Loading
ttcn/LibItsECall_Functions.ttcn +9 −7 Original line number Diff line number Diff line Loading @@ -96,6 +96,7 @@ module LibItsECall_Functions { var ECallMessage v_eCallMessage; var MSDMessage v_receivedMSDMessage; var integer v_decoded; var bitstring v_encoded; template MSDMessage mw_msdMessage := f_generateMSDTemplate(); Loading Loading @@ -135,7 +136,8 @@ module LibItsECall_Functions { // Check MSD message contents // v_decoded := decvalue(oct2bit(v_eCallMessage.msd), v_receivedMSDMessage); v_encoded := oct2bit(v_eCallMessage.msd); v_decoded := decvalue(v_encoded, v_receivedMSDMessage); if (v_decoded != 0) { f_stopIvsTestcase(fail, "MSD message could not be decoded"); } Loading Loading @@ -210,11 +212,11 @@ module LibItsECall_Functions { } case (TEST) { m_localMsg.msg := m_localMsg.msg & " (non-emergency number)"; m_localMsg.msg := valueof(m_localMsg.msg) & " (non-emergency number)"; } case (EMERGENCY) { m_localMsg.msg := m_localMsg.msg & " (emergency number)"; m_localMsg.msg := valueof(m_localMsg.msg) & " (emergency number)"; } } Loading Loading @@ -685,7 +687,7 @@ module LibItsECall_Functions { * @desc Setup function for IVS test system * @param p_configuration Simulator's configuration parameters (PSAP mode) */ function f_configIvsUp(in ModemConfiguration p_modemConfiguration := c_defaultPsapSimulatorConfiguration, in MnoConfiguration p_mnoConfiguraion := c_defaultMnoConfiguration) runs on PsapMtc { function f_configIvsUp(in template (value) ModemConfiguration p_modemConfiguration := m_defaultPsapSimulatorConfiguration, in template(value) MnoConfiguration p_mnoConfiguraion := m_defaultMnoConfiguration) runs on PsapMtc { vc_logComponent := LogComponent.create("Log Component"); vc_uiComponent := UIComponent.create("UIComponent"); Loading @@ -708,7 +710,7 @@ module LibItsECall_Functions { * @param p_mnoConfiguraion MNO configuration parameters * @verdict */ function f_configMnoUp(in MnoConfiguration p_mnoConfiguraion := c_defaultMnoConfiguration) runs on PsapMtc { function f_configMnoUp(in template (value) MnoConfiguration p_mnoConfiguraion := m_defaultMnoConfiguration) runs on PsapMtc { map(self:callControl, system:callControl); } // end f_configMnoUp Loading @@ -716,7 +718,7 @@ module LibItsECall_Functions { * @desc Setup function for modem test system (PSAP mode) * @param p_configuration Simulator's configuration parameters (PSAP mode) */ function f_configIvsModemUp(in ModemConfiguration p_configuration) runs on PsapMtc { function f_configIvsModemUp(in template (value)ModemConfiguration p_configuration) runs on PsapMtc { var ModemConfiguration v_ivsConfig := {mode := IVS}; map(self:modem, system:modem); Loading Loading @@ -792,7 +794,7 @@ module LibItsECall_Functions { * @desc Setup fonction for PSAP test system * @param p_configuration Simulator's configuration parameters (IVS mode) */ function f_configPsapUp(in ModemConfiguration p_configuration) runs on IvsMtc { function f_configPsapUp(in template (value) ModemConfiguration p_configuration) runs on IvsMtc { vc_logComponent := LogComponent.create("LogComponent"); vc_uiComponent := UIComponent.create("UIComponent"); Loading
ttcn/LibItsECall_Pixits.ttcn +2 −2 Original line number Diff line number Diff line Loading @@ -105,7 +105,7 @@ module LibItsECall_Pixits { /** * @desc Vehicle direction */ modulepar _0MSDStructure1 PX_VEHICLE_DIRECTION := 0; modulepar /*_0MSDStructure1*/UInt8 PX_VEHICLE_DIRECTION := 0; /** * @desc Recent location 1 Loading @@ -126,7 +126,7 @@ module LibItsECall_Pixits { /** * @desc Vehicle passenger number */ modulepar _0MSDStructure2 PX_NUMBER_OF_PASSENGERS := 1; modulepar /*_0MSDStructure2*/UInt8 PX_NUMBER_OF_PASSENGERS := 1; /** * @desc Additional data Loading