Commit e991575f authored by juvancic's avatar juvancic
Browse files

added tp _gnb_RIP_01

parent a33c027b
Loading
Loading
Loading
Loading
+48 −14
Original line number Original line Diff line number Diff line
@@ -3404,21 +3404,17 @@ module NGAP_TCFunctions {
                   log("*** " & __SCOPE__ & ": INFO: Preamble done. ***");
                   log("*** " & __SCOPE__ & ": INFO: Preamble done. ***");


                   // Body
                   // Body
                  //  action("Trigger CELL TRAFFIC TRACE!");
                   action("Trigger UE Radio Capability Management procedure!");


                  //  f_recv_NGAP_PDU(
                   f_recv_NGAP_PDU(
                  //    mw_ngap_initMsg(
                     mw_ngap_initMsg(
                  //      mw_n2_CellTrafficTrace(
                      mw_n2_UERadioCapabilityInfoIndication(
                  //        ?,
                        PX_AMF_UE_NGAP_ID,
                  //        ?,
                        PX_RAN_UE_NGAP_ID,
                  //        ?,
                        ?
                  //        ?,
                      ) 
                  //        ?,
                     )
                  //        ?,
                   );
                  //        ?
                  //      )
                  //    )
                  //  );


                   f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());
                   f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());
                   log("*** " & __SCOPE__ & ": INFO: Testbody done. ***");
                   log("*** " & __SCOPE__ & ": INFO: Testbody done. ***");
@@ -3574,6 +3570,44 @@ module NGAP_TCFunctions {
        group RIM_Information_Transfer_Procedures{
        group RIM_Information_Transfer_Procedures{
            //8.16.1
            //8.16.1
            group Uplink_RIM_Information_Transfer{
            group Uplink_RIM_Information_Transfer{

              /**
                * @desc Testcase function for TC_NGAP_gNB_RIP_01
                */
                function f_TC_NGAP_GNB_RIP_01() runs on aMFNGAPComponent {
                   // Local variables

                   // Preamble
                   f_NGAP_amf_init();
                   f_NGAP_amf_UE_Register();
                   //f_NGAP_amf_UE_PDU_ResourceSetup();

                   f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());
                   log("*** " & __SCOPE__ & ": INFO: Preamble done. ***");

                   // Body
                   action("Trigger  a RIM Information Transfer procedure!");

                  //  f_recv_NGAP_PDU(
                  //    mw_ngap_initMsg(
                  //     mw_n2_UERadioCapabilityInfoIndication(
                  //       PX_AMF_UE_NGAP_ID,
                  //       PX_RAN_UE_NGAP_ID,
                  //       ?
                  //     ) 
                  //    )
                  //  );

                   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_RIP_01

            } // End of group Uplink_RIM_Information_Transfer
            } // End of group Uplink_RIM_Information_Transfer
            //8.16.2
            //8.16.2
            group Downlink_RIM_Information_Transfer{
            group Downlink_RIM_Information_Transfer{
+28 −0
Original line number Original line Diff line number Diff line
@@ -1958,6 +1958,34 @@ module NGAP_TestCases {
        group RIM_Information_Transfer_Procedures{
        group RIM_Information_Transfer_Procedures{
            //8.16.1
            //8.16.1
            group Uplink_RIM_Information_Transfer{
            group Uplink_RIM_Information_Transfer{

                /**
                 * @desc  Test objective  "Verify that the IUT can send a UPLINK RIM INFORMATION TRANSFER."
                 */
                testcase TC_NGAP_GNB_RIP_01() runs on aMFNGAPComponent system TestAdapter {

                    // Local variables
                    var aMFNGAPComponent v_ngap_amf;

                    // Test control
                    if ((not PICS_NGAP_GNB_IUT) and (not PICS_A3_15_1)){
                        log("*** " & __SCOPE__ & ": ERROR: 'PICS_NGAP_GNB_IUT and PICS_A3_15_1' 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_RIP_01());

                    // 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_RIP_01

            } // End of group Uplink_RIM_Information_Transfer
            } // End of group Uplink_RIM_Information_Transfer
            //8.16.2
            //8.16.2
            group Downlink_RIM_Information_Transfer{
            group Downlink_RIM_Information_Transfer{