Commit 17f960da authored by Steffen Ludtke's avatar Steffen Ludtke
Browse files

add testcase and function TC_NGAP_GNB_CMP_14

parent b51e63c5
Loading
Loading
Loading
Loading
+40 −0
Original line number Diff line number Diff line
@@ -1462,6 +1462,46 @@ module NGAP_TCFunctions {
            } // End of group UE_Context_Modification
            //8.3.5
            group RRC_Inactive_Transition_Report{
              
              /**
               * @desc Testcase function for f_TC_NGAP_GNB_CMP_14
               */
               function f_TC_NGAP_GNB_CMP_14() runs on aMFNGAPComponent {
                 
                   // Preamble
                   f_NGAP_amf_init();
                   f_NGAP_amf_UE_Register();
                   
                   // TODO: isTransitioningTo the RRC_INACTIVE
                   
                   f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());
                   log("*** " & __SCOPE__ & ": INFO: Preamble done. ***");
                   
                   
                   // Body
          		   action("Trigger a RRC inactive transition report");
                		
                   f_recv_NGAP_PDU(
                     mw_ngap_initMsg(
                     	mw_n2_RRCInactiveTransitionReport
                     	(
                     		PX_AMF_UE_NGAP_ID,
                     		PX_RAN_UE_NGAP_ID,
                     		m_rRCState,
                     		?
                     	) 
                     ));
                    
                   f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());
                   log("*** " & __SCOPE__ & ": INFO: Testbody done. ***");

                   // Postamble
                   f_postamble_NGAP_gNB();
                   f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict());
                   log("*** " & __SCOPE__ & ": INFO: Postamble done. ***");
                   
               } // End of function f_TC_NGAP_GNB_CMP_14
              
            } // End of group RRC_Inactive_Transition_Report
            //8.3.6
            group Connection_Establishment_Indication{
+28 −0
Original line number Diff line number Diff line
@@ -629,6 +629,34 @@ module NGAP_TestCases {
            } // End of group UE_Context_Modification
            //8.3.5
            group RRC_Inactive_Transition_Report{
              
              /**
                 * @desc Test objective "Verify that the IUT can send a RRC INACTIVE TRANSITION REPORT   that contains mandatory IEs"
                 */
                testcase TC_NGAP_GNB_CMP_14() runs on aMFNGAPComponent system TestAdapter {
                  
                  	// Local variables
                    var aMFNGAPComponent v_ngap_amf;

                    // Test control
                    if ((not PICS_NGAP_GNB_IUT) and (not PICS_A3_2_5)){
                        log("*** " & __SCOPE__ & ": ERROR: 'PICS_NGAP_GNB_IUT and PICS_A3_2_5' shall be set to true for executing the TC. ***");
                        stop;
                    }

                    // Test component configuration
                    f_cf_NGAP_aMF_Up(v_ngap_amf);

                    // Start
                    v_ngap_amf.start(f_TC_NGAP_GNB_CMP_14());

                    // synchronize PTC on 1 sychronization points
                    f_serverSyncNClientsAndStop(1, {c_prDone, c_tbDone, c_poDone});

                    f_cf_Down/*gNBoraMF*/();
                  
                } // End of testcase TC_NGAP_GNB_CMP_14
              
            } // End of group RRC_Inactive_Transition_Report
            //8.3.6
            group Connection_Establishment_Indication{