Commit 8af60689 authored by garciay's avatar garciay
Browse files

Session Week #40:

- Review all test cases
parent 831d086c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -537,8 +537,8 @@ module LibGtpv2C_Configuration {
         * @return The new restart counter value
         * @verdict Unchanged
         */
        function f_getNextRestartCounter() runs on Gtpv2CComponent return UInt16 {
            vc_restartCounter := (vc_restartCounter + 1) mod c_uInt16Max;
        function f_getNextRestartCounter() runs on Gtpv2CComponent return UInt8 {
            vc_restartCounter := (vc_restartCounter + 1) mod c_uInt8Max;
            return vc_restartCounter;
        } // End of function f_getNextRestartCounter
        
+1 −1
Original line number Diff line number Diff line
@@ -1217,7 +1217,7 @@ module LibGtpv2C_MME_Functions {
        } // End of function f_TC_S11_MME_TM_15 
        
        /**
         * @desc Verify that all logical S1-AP signalling (S1 – MME) and all S1 bearers over S1-U are released for a given data session.  Verify that the UE changes from ECM-CONNECTED state to ECM-IDLE state.  Also verify that all UE related context information is deleted in the eNB - MME role
         * @desc Verify that all logical S1-AP signalling (S1 – MME) and all S1 bearers over S1-U are released for a given data session - MME role
         * @verdict pass on success, inconc on timeout, fail otherwise
         */
        function f_TC_S11_MME_TM_16() runs on Gtpv2CComponent {
+4 −3
Original line number Diff line number Diff line
@@ -1210,7 +1210,7 @@ module LibGtpv2C_SGW_Functions {
        } // End of function f_TC_S11_SGW_TM_13 
        
        /**
         * @desc Verify that a Delete Bearer Failure Indicaiton is sent on the S11 interface by the S-GW to the MME as part of the failure of an eNB requested bearer release or MME Inititated Dedicated Bearer Deactivation procedure - SGW role
         * @desc Verify that a Delete Bearer Failure Indication is sent on the S11 interface by the S-GW to the MME as part of the failure of an eNB requested bearer release or MME Inititated Dedicated Bearer Deactivation procedure - SGW role
         * @verdict pass on success, inconc on timeout, fail otherwise
         */
        function f_TC_S11_SGW_TM_14() runs on Gtpv2CComponent {
@@ -1291,7 +1291,7 @@ module LibGtpv2C_SGW_Functions {
        } // End of function f_TC_S11_SGW_TM_14 
        
        /**
         * @desc Verify that the Create Indirect Data Forwarding Tunnel Request message is sent on the S11 interface by the MME to the S-GW as part of a handover procedure - SGW role
         * @desc Verify that all logical S1-AP signalling (S1 – MME) and all S1 bearers over S1-U are released for a given data session - SGW role
         * @verdict pass on success, inconc on timeout, fail otherwise
         */
        function f_TC_S11_SGW_TM_15() runs on Gtpv2CComponent {
@@ -1445,6 +1445,7 @@ module LibGtpv2C_SGW_Functions {
            
            // Preamble
            f_preamble_SGW();
            action("Trigger Service Request Procedure");
            f_selfOrClientSyncAndVerdict(c_prDone, e_success);
            log("*** " & __SCOPE__ & ": INFO: Preamble done. ***");
            
@@ -2340,7 +2341,7 @@ module LibGtpv2C_SGW_Functions {
                ) { 
                    tc_noac.stop;
                    log("*** " & testcasename() & ": FAIL: IUT forwards Delete Bearer Request ***");
                    f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
                    f_selfOrClientSyncAndVerdict(c_commandMessagesDone, e_error);
                }
                [] tc_noac.timeout {
                    f_selfOrClientSyncAndVerdict(c_commandMessagesDone, e_success);
+6 −6
Original line number Diff line number Diff line
@@ -2856,10 +2856,10 @@ module LibGtpv2C_Templates {
             * @param p_counter    Restart counter
             */
            template (value) Recovery m_recovery(
                                                 in UInt32 p_counter
                                                 in UInt8 p_counter
            ) := {
                type_       := '03'O,
                length_     := 4, // Fixed length
                length_     := 1, // Fixed length: In the first release of GTPv2 spec n = 1
                spare       := '0000'B,
                instance    := '0000'B,
                counter     := p_counter
@@ -2870,10 +2870,10 @@ module LibGtpv2C_Templates {
             * @param p_counter    Restart counter
             */
            template (value) Recovery_invalid m_recovery_invalid(
                                                                 in UInt32 p_counter
                                                                 in UInt8 p_counter
            ) := {
                type_       := '03'O,
                length_     := 12, // Invalid length
                length_     := 5, // Invalid length
                spare       := '0000'B,
                instance    := '0000'B,
                counter     := p_counter
@@ -2884,10 +2884,10 @@ module LibGtpv2C_Templates {
             * @param p_counter    Restart counter
             */
            template (present) Recovery mw_recovery(
                                                    template (present) UInt32 p_counter := ?
                                                    template (present) UInt8 p_counter := ?
            ) := {
                type_       := '03'O,
                length_     := 4, // Fixed length
                length_     := 1, // Fixed length: In the first release of GTPv2 spec n = 1
                spare       := '0000'B,
                instance    := ?,
                counter     := p_counter
+1 −1
Original line number Diff line number Diff line
@@ -93,7 +93,7 @@ module LibGtpv2C_TestSystem {
            /** Sequence number counter */
            var UInt24 vc_sequenceNumber;
            /** Restart counter */
            var UInt16 vc_restartCounter;
            var UInt8 vc_restartCounter;
            /** TEID/GRE counter */
            var UInt32 vc_teidGreCounter;
            
Loading