Commit 12a97b7d authored by mogos's avatar mogos
Browse files

added timers as constants (0006808)

parent f68bc82a
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -863,7 +863,7 @@ module AtsECall_IVS_Testcases {
            var Event v_event;
            var InbandSendSignalReceivedEvent v_firstSendSignal, v_lastSendSignal;
            var integer v_diff;
            timer t_guard := PX_T3_TIMER * 2.0;
            timer t_guard := c_t3_timer * 2.0;

            // Test component configuration
            f_configIvsUp(v_locaPsapSimCfg);
@@ -892,11 +892,11 @@ module AtsECall_IVS_Testcases {
            }
            else {
                v_diff := fx_timeDiff(v_firstSendSignal.time, v_lastSendSignal.time);
                if (v_diff < 0 or v_diff > float2int(PX_T3_TIMER * 1000.0)) {
                    setverdict(fail, "The received audible Initiation signal persisted for " & fx_float2str((int2float(v_diff) / 1000.0)) & "s (> " & fx_float2str(PX_T3_TIMER) & "s) from when the call is answered")
                if (v_diff < 0 or v_diff > float2int(c_t3_timer * 1000.0)) {
                    setverdict(fail, "The received audible Initiation signal persisted for " & fx_float2str((int2float(v_diff) / 1000.0)) & "s (> " & fx_float2str(c_t3_timer) & "s) from when the call is answered")
                }
                else {
                    setverdict(pass, "The received audible Initiation signal did not persist for longer than " & fx_float2str(PX_T3_TIMER) & " s from when the call is answered");
                    setverdict(pass, "The received audible Initiation signal did not persist for longer than " & fx_float2str(c_t3_timer) & " s from when the call is answered");
                }
            }

@@ -1436,7 +1436,7 @@ module AtsECall_IVS_Testcases {
            var CallEstablishedEvent v_callEstablished;
            var MnoEvent v_mnoEvent;
            var integer v_diff;
            timer t_t2 := PX_T2_TIMER + PX_CTP_1_1_16_2_HANG_UP_RANGE;
            timer t_t2 := c_t2_timer + PX_CTP_1_1_16_2_HANG_UP_RANGE;

            // Test component configuration
            f_configIvsUp(c_defaultPsapSimulatorConfiguration);
@@ -1457,7 +1457,7 @@ module AtsECall_IVS_Testcases {
                [] mno.receive(mw_anyCallHangUp) -> value v_mnoEvent {
                    v_diff := fx_timeDiff(v_callEstablished.time, v_mnoEvent.callHangUp.time);

                    if (v_diff < float2int(PX_T2_TIMER * 1000.0 - PX_CTP_1_1_16_2_HANG_UP_RANGE)) {
                    if (v_diff < float2int(c_t2_timer * 1000.0 - PX_CTP_1_1_16_2_HANG_UP_RANGE)) {
                        setverdict(fail, "IVS cleared down call before T2 expired")
                    }
                    else {