Commit f07bb5ee authored by berge's avatar berge
Browse files

Fixed non-standard TTCN-3 code and compilation issues with Titan

parent 8e397047
Loading
Loading
Loading
Loading
+39 −39
Original line number Diff line number Diff line
@@ -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);
@@ -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);
@@ -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);
@@ -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) {
@@ -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);
@@ -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);
@@ -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);
@@ -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);
@@ -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);
@@ -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");
@@ -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();
@@ -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);
@@ -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);
@@ -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);
@@ -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();
@@ -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;
@@ -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();
@@ -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);
@@ -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);
@@ -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);
@@ -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);
@@ -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);
@@ -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();
@@ -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);
@@ -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);
@@ -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);
@@ -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
            
@@ -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);
@@ -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);
@@ -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
            
@@ -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();
@@ -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();
@@ -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);
@@ -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);
+22 −22
Original line number Diff line number Diff line
@@ -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));
@@ -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));
@@ -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));
@@ -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);
@@ -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);
@@ -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));
@@ -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));
@@ -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));
@@ -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));
@@ -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));
@@ -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));
@@ -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));
@@ -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));
@@ -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));
@@ -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));
@@ -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));
@@ -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));
@@ -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));
@@ -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));
@@ -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));
+9 −7
Original line number Diff line number Diff line
@@ -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();

@@ -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");
        }
@@ -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)";
            }
        }

@@ -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");

@@ -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

@@ -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);
@@ -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");

+2 −2
Original line number Diff line number Diff line
@@ -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
@@ -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