Commit e92becfb authored by rennoch's avatar rennoch
Browse files

Gx/PCEF EMS+UMC tests: use of GTPsupport

parent fa4e6f66
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2607,6 +2607,8 @@ module DiameterGx_Gx_TCFunctions {

               f_preamble_PCRF(); 
                
               f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // sync  
                              
               f_awaiting_CCR(mw_CCR_Request(vc_sessionId, 
                									vc_originHost, 
                									vc_originRealm, 
@@ -2616,8 +2618,6 @@ module DiameterGx_Gx_TCFunctions {

                f_send_CCA(m_CCA_basic(vc_sessionId, vc_originHost, vc_originRealm));
                
                f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // sync
                
				f_send_RAR(DiameterGx_Templates.m_RAR_EvTrigger_UMI // RAR in Rx-module has different header!
						   (vc_sessionId, vc_originHost, vc_originRealm,
							vc_destinationRealm, vc_destinationHost, 
+20 −14
Original line number Diff line number Diff line
@@ -1529,17 +1529,20 @@ module DiameterGx_TestCases
            testcase TC_PCEF_EMS_01() 
            runs on ServerSyncComp
            system TestAdapter {
                //Variables
                
                // Initialize
                var DiameterComponent v_diameterComponent_pcrf;
                f_cf_1GxRUp(v_diameterComponent_pcrf);
                var GtpComponent v_gtpComponent_1;
				var GtpComponent v_gtpComponent_2;
				
				f_ConfigUp_PCRF(v_diameterComponent_pcrf, v_gtpComponent_1,
									v_gtpComponent_2);
		
                //Start
                v_diameterComponent_pcrf.start(f_TC_PCEF_EMS_01());
                
                // synchronize PTC on 3 sychronization points
                f_serverSync1Client({c_prDone, c_tbDone, c_poDone});
		
                f_cf_1GxRDown(v_diameterComponent_pcrf);
				// Finish
				f_ConfigRun_PCRF(v_diameterComponent_pcrf, v_gtpComponent_1,
									v_gtpComponent_2);
            } // end TC_PCEF_EMS_01
        }//end group TP_PCEFRole_EMS

@@ -1550,17 +1553,20 @@ module DiameterGx_TestCases
            testcase TC_PCEF_UMC_01() 
            runs on ServerSyncComp
            system TestAdapter {
                //Variables
                
                // Initialize
                var DiameterComponent v_diameterComponent_pcrf;
                f_cf_1GxRUp(v_diameterComponent_pcrf);
                var GtpComponent v_gtpComponent_1;
				var GtpComponent v_gtpComponent_2;
				
				f_ConfigUp_PCRF(v_diameterComponent_pcrf, v_gtpComponent_1,
									v_gtpComponent_2);
		
                //Start
                v_diameterComponent_pcrf.start(f_TC_PCEF_UMC_01());
                
                // synchronize PTC on 3 sychronization points
                f_serverSync1Client({c_prDone, c_tbDone, c_poDone});
		
                f_cf_1GxRDown(v_diameterComponent_pcrf);
				// Finish
				f_ConfigRun_PCRF(v_diameterComponent_pcrf, v_gtpComponent_1,
									v_gtpComponent_2);
            } // end TC_PCEF_UMC_01
        }//end group TP_PCEFRole_UMC