Commit 5979f76b authored by rennoch's avatar rennoch
Browse files

initial part of f_TC_S1AP_MME_RAB_04

parent e34de6d1
Loading
Loading
Loading
Loading
+10 −0
Original line number Original line Diff line number Diff line
@@ -174,6 +174,16 @@ module LibS1AP_Steps {
             f_recv_S1AP_successfulOutcome(mw_E_RABReleaseCommand(p_value))
             f_recv_S1AP_successfulOutcome(mw_E_RABReleaseCommand(p_value))
         } // End of f_recv_E_RABReleaseCommand
         } // End of f_recv_E_RABReleaseCommand


        /**
          * @desc Receive S1AP Message E_RABModificationConfirm
          * @param p_value Receive template for E_RABModificationConfirm IEs
          */
         function f_recv_E_RABModificationConfirm(
                                            template (present) RecordOf_ProtocolIE p_value := ?
         ) runs on S1APComponent {
             f_recv_S1AP_successfulOutcome(mw_E_RABModificationConfirm(p_value))
         } // End of f_recv_E_RABModificationConfirm
        
        /**
        /**
         * @desc Receive S1AP Message Handover Required
         * @desc Receive S1AP Message Handover Required
         * @param p_value Receive template for Handover Required IEs
         * @param p_value Receive template for Handover Required IEs
+30 −1
Original line number Original line Diff line number Diff line
@@ -1452,7 +1452,7 @@ module LibS1AP_Templates {
                         } // End of template mw_UserLocationInformation
                         } // End of template mw_UserLocationInformation


                        /**
                        /**
                        * @desc Receive template for InitiatingMessage message with Realease Command payload
                        * @desc Receive template for InitiatingMessage message with Release Command payload
                        * @param p_value           The list of Protocol IE values
                        * @param p_value           The list of Protocol IE values
                        */
                        */
                        template (present) InitiatingMessage mw_E_RABReleaseCommand(
                        template (present) InitiatingMessage mw_E_RABReleaseCommand(
@@ -1472,6 +1472,27 @@ module LibS1AP_Templates {
                            mw_E_RABReleaseList(p_RecordOf_E_RABReleaseListItem_value)
                            mw_E_RABReleaseList(p_RecordOf_E_RABReleaseListItem_value)
                        } // End of template mw_E_RABReleaseCmdIEs
                        } // End of template mw_E_RABReleaseCmdIEs


                        /**
                        * @desc Receive template for InitiatingMessage message with Modification confirm payload
                        * @param p_value           The list of Protocol IE values
                        */
                        template (present) InitiatingMessage mw_E_RABModificationConfirm(
                                                                              template (present) RecordOf_ProtocolIE p_value) := {
                            procedureCode := id_E_RABRelease,
                            criticality := reject,
                            value_ := {RecordOf_ProtocolIE := p_value}
                        } // End of template mw_E_RABModificationConfirm

                        template (present) RecordOf_ProtocolIE mw_E_RABModificationConfirmIEs(
                                                                                   template (present) MME_UE_S1AP_ID p_MME_value := ?,
                                                                                   template (present) ENB_UE_S1AP_ID p_eNB_value := ?,
                                                                                   template (present) RecordOf_E_RABItem p_RecordOf_E_RABModifyListItem_value := {?}
                        ) := { 
                            mw_MME_UE_S1AP_ID(p_MME_value, ignore),
                            mw_eNB_UE_S1AP_ID(p_eNB_value, ignore),
                            mw_E_RABModifyList(p_RecordOf_E_RABModifyListItem_value)
                        } // End of template mw_E_RABModificationConfirmIEs

                    }
                    }
                
                
                }
                }
@@ -4394,6 +4415,14 @@ module LibS1AP_Templates {
                value_ := { RecordOf_E_RABItem := p_value }
                value_ := { RecordOf_E_RABItem := p_value }
            } // End of template mw_E_RABReleaseList
            } // End of template mw_E_RABReleaseList
            
            
            template (present) ProtocolIE mw_E_RABModifyList(
                                                                    template (present) RecordOf_E_RABItem p_value := { ? }
            ) := {
                id := S1AP_Constants.id_E_RABToBeReleasedList,
                criticality := ignore,
                value_ := { RecordOf_E_RABItem := p_value }
            } // End of template mw_E_RABModifyList            
            
            /**
            /**
             * @desc Receive template for E-RABSetupListBearerSUReq protocol IE
             * @desc Receive template for E-RABSetupListBearerSUReq protocol IE
             * @param p_value  Expected protocol IE value. Default: mw_E_RABToBeSetupItemBearerSUReq
             * @param p_value  Expected protocol IE value. Default: mw_E_RABToBeSetupItemBearerSUReq
+6 −1
Original line number Original line Diff line number Diff line
@@ -40,6 +40,11 @@ module LibS1AP_TypesAndValues {
     */
     */
    type record of E_RABSetupItemBearerSURes RecordOf_E_RABSetupItemBearerSURes;
    type record of E_RABSetupItemBearerSURes RecordOf_E_RABSetupItemBearerSURes;
 
 
     /**
     * @desc List of E-RABModifyItemBearerModConf IEs
     */
    type record of E_RABModifyItemBearerModConf RecordOf_E_RABModifyItemBearerModConf;

    /**
    /**
    * @desc List of E-RABModifyItemBearerModRes IEs
    * @desc List of E-RABModifyItemBearerModRes IEs
    */
    */
+34 −1
Original line number Original line Diff line number Diff line
@@ -4273,7 +4273,7 @@ module S1AP_TCFunctions {
                log("*** " & __SCOPE__ & ": INFO: Preamble done. ***");
                log("*** " & __SCOPE__ & ": INFO: Preamble done. ***");
                         
                         
                // Test body
                // Test body
                action("trigger an E-RAB Modify request");
                action("trigger an E-RAB Release request");
              
              
                f_recv_E_RABReleaseCommand(mw_E_RABReleaseCmdIEs(
                f_recv_E_RABReleaseCommand(mw_E_RABReleaseCmdIEs(
                    vc_MME_UE_ID,
                    vc_MME_UE_ID,
@@ -4292,6 +4292,39 @@ module S1AP_TCFunctions {
                
                
            } // End of function f_TC_S1AP_MME_RAB_03
            } // End of function f_TC_S1AP_MME_RAB_03


            /**
             * @desc Testcase function for TC_S1AP_eNB_RAB_04
             */
            function f_TC_S1AP_MME_RAB_04() runs on S1APComponent { 
                // Local variables
                
                // Preamble
                f_S1AP_mme_init();
                f_rABSetupRequest();
                                
                f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); 
                log("*** " & __SCOPE__ & ": INFO: Preamble done. ***");
                         
                // Test body
//                action("trigger an E-RAB Modify request");
              
                f_recv_E_RABModificationConfirm(mw_E_RABModificationConfirmIEs(
                    vc_MME_UE_ID,
                    vc_eNB_UE_ID,
                    {mw_E_RABItem}
                ));
                
                f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); 

                // Postamble                                

                f_postamble_S1AP_MME();
                
                f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); 
                log("*** " & __SCOPE__ & ": INFO: Postamble done. ***");
                
            } // End of function f_TC_S1AP_MME_RAB_04
            
        } // End of group ERAB_management_group
        } // End of group ERAB_management_group


        /**
        /**