Commit a17613c0 authored by Yann Garcia's avatar Yann Garcia
Browse files

Bug fixed in LibNGAP_Functions

parent 19c6e97b
Loading
Loading
Loading
Loading
+12 −12
Changes for ttcn/LibNGAP/lib_system/LibNGAP_Functions.ttcn: 12 added lines, 12 removed lines.
Original line number Diff line number Diff line
@@ -2836,10 +2836,10 @@ module LibNGAP_Functions {
                if (not(match(v_expected_message, mw_NG_PDU_SESSION_RELEASE_COMMAND(cs_NG_PDU_SessionId(int2oct(vc_pdu_session_resource_setup_list_su_req[0].pDUSessionID, 1), omit))))) {
                    log(match(v_expected_message, mw_NG_PDU_SESSION_RELEASE_COMMAND(cs_NG_PDU_SessionId(int2oct(vc_pdu_session_resource_setup_list_su_req[0].pDUSessionID, 1), omit)))); // Log mismatch
                    log("f_await_pdu_session_resource_release_command: FAIL: NG_PDU_SESSION_RELEASE_COMMAND mismatch.");
                    setverdict(fail, "Received NG_PDU_SESSION_RELEASE_COMMAND for PDU session ID " & vc_pdu_session_resource_setup_list_su_req[0].pDUSessionID & " does not match expected");
                    setverdict(fail, "Received NG_PDU_SESSION_RELEASE_COMMAND for PDU session ID " & int2str(vc_pdu_session_resource_setup_list_su_req[0].pDUSessionID) & " does not match expected");
                } else {
                    log("f_await_pdu_session_resource_release_command: PASS: Expected NG_PDU_SESSION_RELEASE_COMMAND");
                    setverdict(pass, "Received NG_PDU_SESSION_RELEASE_COMMAND for PDU session ID " & vc_pdu_session_resource_setup_list_su_req[0].pDUSessionID);
                    setverdict(pass, "Received NG_PDU_SESSION_RELEASE_COMMAND for PDU session ID " & int2str(vc_pdu_session_resource_setup_list_su_req[0].pDUSessionID));
                }
            }
        }
@@ -3007,7 +3007,7 @@ module LibNGAP_Functions {
                        mw_ngap_initMsg(
                                        mw_n2_UEContextReleaseCommand
                        ));
        setverdict(pass, "Received UE CONTEXT RELEASE COMMAND NGAP message with cause: " & p_Cause);
        setverdict(pass, "Received UE CONTEXT RELEASE COMMAND NGAP message with cause");

        // Send UEContextReleaseComplete
        f_send_NGAP_PDU(
@@ -3104,7 +3104,7 @@ module LibNGAP_Functions {
                                                                     vc_RAN_UE_ID,
                                                                     p_Cause
                        )));
        setverdict(pass, "Sent UE CONTEXT RELEASE REQUEST NGAP message with cause: " & p_Cause);
        setverdict(pass, "Sent UE CONTEXT RELEASE REQUEST NGAP message with cause");

        // Await UEContextReleaseCommand
        f_recv_NGAP_PDU(
@@ -3113,7 +3113,7 @@ module LibNGAP_Functions {
                                                                      -,
                                                                      p_Cause
                        )));
        setverdict(pass, "Received UE CONTEXT RELEASE COMMAND NGAP message with cause: " & p_Cause);
        setverdict(pass, "Received UE CONTEXT RELEASE COMMAND NGAP message with cause");

        // Send UEContextReleaseComplete
        f_send_NGAP_PDU(
@@ -3142,7 +3142,7 @@ module LibNGAP_Functions {
                                                                      vc_RAN_UE_ID,
                                                                      p_Cause
                        )));
        setverdict(pass, "Received UE CONTEXT RELEASE REQUEST NGAP message with cause: " & p_Cause);
        setverdict(pass, "Received UE CONTEXT RELEASE REQUEST NGAP message with cause");

        // Await UEContextReleaseCommand
        f_recv_NGAP_PDU(
@@ -3151,7 +3151,7 @@ module LibNGAP_Functions {
                                                                      -,
                                                                      p_Cause
                        )));
        setverdict(pass, "Received UE CONTEXT RELEASE COMMAND NGAP message with cause: " & p_Cause);
        setverdict(pass, "Received UE CONTEXT RELEASE COMMAND NGAP message with cause");

        // await UEContextReleaseComplete
        f_recv_NGAP_PDU(
@@ -3160,7 +3160,7 @@ module LibNGAP_Functions {
                                                                         vc_AMF_UE_ID,
                                                                         vc_RAN_UE_ID
                        )));
        setverdict(pass, "Received UE CONTEXT RELEASE COMPLETE NGAP message with cause: " & p_Cause);
        setverdict(pass, "Received UE CONTEXT RELEASE COMPLETE NGAP message with cause");
    }

    /**
@@ -3325,7 +3325,7 @@ module LibNGAP_Functions {
                                        mw_n2_ErrorIndication(
                                                              p_cause
                        )));
        setverdict(pass, "Received ERROR INDICATION NGAP message with cause: " & p_cause);
        setverdict(pass, "Received ERROR INDICATION NGAP message with cause");
    }

    /**
@@ -3345,7 +3345,7 @@ module LibNGAP_Functions {
                                                                  vc_RAN_UE_ID,
                                                                  p_cause
                        )));
        setverdict(pass, "Received ERROR INDICATION NGAP message with cause: " & p_cause);
        setverdict(pass, "Received ERROR INDICATION NGAP message with cause");
    }

    /**
@@ -3363,7 +3363,7 @@ module LibNGAP_Functions {
                                       m_n2_ErrorIndication(
                                                            p_cause
                        )));
        setverdict(pass, "Sent ERROR INDICATION NGAP message with cause: " & p_cause);
        setverdict(pass, "Sent ERROR INDICATION NGAP message with cause");
    }

    /**
@@ -3383,7 +3383,7 @@ module LibNGAP_Functions {
                                                                vc_RAN_UE_ID,
                                                                p_cause
                        )));
        setverdict(pass, "Sent ERROR INDICATION NGAP message with cause: " & p_cause);
        setverdict(pass, "Sent ERROR INDICATION NGAP message with cause");
    }

    /**