Commit 0abf8242 authored by rennoch's avatar rennoch
Browse files

completion of f_TC_S1AP_eNB_CMP_17

parent 4fce0631
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -690,6 +690,17 @@ module LibS1AP_Steps {
			f_recv_S1AP_initiatingMessage(mw_UeContextModificationFailure(p_value))
		} // End of f_recv_UE_Context_Modification_Failure

        /**
        * @desc Receive S1AP Message UE Context Modification Indication
        * @param p_value Receive template for UE CONTEXT MODIFICATION Indication
        * @see ETSI TS 136 413 V13.4.0 Clause 9.1.4.13 UE CONTEXT MODIFICATION Indication
        */
        function f_recv_Ue_Context_Modification_Indication(
                                        template (present) RecordOf_ProtocolIE p_value := ?
        ) runs on S1APComponent {
            f_recv_S1AP_initiatingMessage(mw_UeContextModificationIndication(p_value))
        } // End of f_recv_Ue_Context_Modification_Indication

		/**
		* @desc Receive S1AP Message UE RADIO_CAPABILITY_MATCH_RESPONSE
		* @param p_value Receive template for UE_RADIO_CAPABILITY_MATCH_RESPONSE
+22 −0
Original line number Diff line number Diff line
@@ -817,6 +817,28 @@ module LibS1AP_Templates {
                        mw_cause_IE(p_cause)
                    } // End of template mw_UeContextModificationFailureIEs

                    
					/**
					 * @desc Receive template for mw_UeContextModificationIndication message
					 * @param p_procedureCode   Expected procedure code. Default: ?
					 * @param p_value           Expected procedure code. Default: ?
					 */
					template (present) SuccessfulOutcome mw_UeContextModificationIndication(
																			   template (present) RecordOf_ProtocolIE p_value := ?
					) := {
						procedureCode := id_UEContextModification,
						criticality := reject,
						value_ := {RecordOf_ProtocolIE := p_value}
					} // End of template mw_UeContextModificationIndication
                    
					template (present) RecordOf_ProtocolIE mw_UeContextModificationIndicationIEs(
																			   template (present) MME_UE_S1AP_ID p_MME_value := ?,
																			   template (present) ENB_UE_S1AP_ID p_eNB_value := ?
					) := {
						mw_MME_UE_S1AP_ID(p_MME_value, ignore),
						mw_eNB_UE_S1AP_ID(p_eNB_value, ignore)
					} // End of template mw_UeContextModificationIndicationIEs
                    
                    /**
                     * @desc Receive template for mw_UeRadioCapabilityMatchResponse message
                     * @param p_procedureCode   Expected procedure code. Default: ?
+30 −0
Original line number Diff line number Diff line
@@ -1331,6 +1331,36 @@ module S1AP_TCFunctions {
                
			} // End of function f_TC_S1AP_eNB_CMP_16


			/**
			 * @desc Testcase function for TC_S1AP_eNB_CMP_17
			 */
			function f_TC_S1AP_eNB_CMP_17() runs on S1APComponent { 
				// Local variables
                
				// Preamble
				f_S1AP_enb_init();
                                
				f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); 
				log("*** " & __SCOPE__ & ": INFO: Preamble done. ***");
                
				// Test body
                action("trigger a UE context modification indication");

				f_recv_Ue_Context_Modification_Indication(mw_UeContextModificationIndicationIEs(
					vc_MME_UE_ID,
					vc_eNB_UE_ID
				)); 
                                                                   
				// Postamble
				f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); 
                
				f_postamble_S1AP_eNB();
				f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); 
				log("*** " & __SCOPE__ & ": INFO: Postamble done. ***");
                
			} // End of function f_TC_S1AP_eNB_CMP_17

        } // End of group Context_management_group
        
        /**