Commit bf8fbd57 authored by rennoch's avatar rennoch
Browse files

f_TC_S1AP_MME_RAB_02

parent 0f43c5ca
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -182,6 +182,16 @@ module LibS1AP_Steps {
             f_recv_S1AP_successfulOutcome(mw_E_RABModifiedResponse(p_value))
         } // End of f_recv_E_RABModifiedResponse
        
        /**
          * @desc Receive S1AP Message E_RABModifiedRequest
          * @param p_value Receive template for E_RABModifiedRequest IEs
          */
         function f_recv_E_RABModifiedRequest(
                                            template (present) RecordOf_ProtocolIE p_value := ?
         ) runs on S1APComponent {
             f_recv_S1AP_successfulOutcome(mw_E_RABModifiedRequest(p_value))
         } // End of f_recv_E_RABModifiedRequest
        
        /**
         * @desc Receive S1AP Message Handover Required
         * @param p_value Receive template for Handover Required IEs
+33 −0
Original line number Diff line number Diff line
@@ -1202,6 +1202,27 @@ module LibS1AP_Templates {
                            value_ := {RecordOf_ProtocolIE := p_value}
                        } // End of template mw_E_RABResponse
                        
                        /**
                         * @desc Receive template for SuccessfulOutcome/R-RAB_Modify request message
                         * @param p_value   The expected protocol information elements. Default: ?
                         */
                        template (present) SuccessfulOutcome mw_E_RABModifiedRequest(
                                                                                   template (present) RecordOf_ProtocolIE p_value := ?
                        ) := {
                            procedureCode := id_E_RABModify,
                            criticality := reject,
                            value_ := {RecordOf_ProtocolIE := p_value}
                        } // End of template mw_E_RABModifiedRequest

                        template (present) RecordOf_ProtocolIE mw_E_RABModifiedReqIEs(
                                                                                   template (present) MME_UE_S1AP_ID p_MME_value := ?,
                                                                                   template (present) ENB_UE_S1AP_ID p_eNB_value := ?,
                                                                                   template (present) RecordOf_E_RABToBeModifiedItemBearerModReq p_RecordOf_E_RABToBeModifyItem_value := {?}
                        ) := { 
                            mw_MME_UE_S1AP_ID(p_MME_value, ignore),
                            mw_eNB_UE_S1AP_ID(p_eNB_value, ignore),
                            mw_E_RABToBeModifiedList(p_RecordOf_E_RABToBeModifyItem_value)
                        } // End of template mw_E_RABSetupReqIEs
                        
                        /**
                         * @desc Receive template for SuccessfulOutcome/R-RAB_Setup message
@@ -4294,6 +4315,18 @@ module LibS1AP_Templates {
                value_ := { RecordOf_E_RABModifyItemBearerModRes := p_value }
            } // End of template 

            /**
             * @desc Receive template for E-RABModifiedListBearerModReq protocol IE
             * @param p_value  Expected protocol IE value. Default: m_E_RABToBeModifyItemBearerSUReq
             */
            template (present) ProtocolIE mw_E_RABToBeModifiedList(
                                                            template (present) RecordOf_E_RABToBeModifiedItemBearerModReq p_value := { ? }
            ) := {
                id := S1AP_Constants.id_E_RABToBeModifiedListBearerModReq,
                criticality := reject,
                value_ := { RecordOf_E_RABToBeModifiedItemBearerModReq := p_value }
            } // End of template 
                       
            template (present) ProtocolIE mw_E_RABFailedToSetupList(
                                                                    template (present) RecordOf_E_RABItem p_value := { ? }
            ) := {
+33 −0
Original line number Diff line number Diff line
@@ -4238,6 +4238,39 @@ module S1AP_TCFunctions {
                
            } // End of function f_TC_S1AP_MME_RAB_01

            /**
             * @desc Testcase function for TC_S1AP_eNB_RAB_02
             */
            function f_TC_S1AP_MME_RAB_02() 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_RABModifiedRequest(mw_E_RABModifiedReqIEs(
                    vc_MME_UE_ID,
                    vc_eNB_UE_ID,
                    mw_E_RABToBeModifiedList({?}) //TODO refine expectation
                ));
                
                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_02
            
        } // End of group ERAB_management_group

        /**