Commit db459117 authored by rennoch's avatar rennoch
Browse files

TP_AF_MSI_02/03 added

parent 6d72833b
Loading
Loading
Loading
Loading
+60 −2
Original line number Diff line number Diff line
@@ -134,6 +134,64 @@ module DiameterRx_Rx_TCFunctions {

                } // end function f_TC_AF_MSI_01
                
                
          /*
        *  @desc	This is the test case function TC_AF_MSI
        *  @param	
        */
                function f_TC_AF_MSI_02()
                runs on DiameterComponent {
				
                    f_preamble_PCRF();
                    
                    f_IUT_session_esthablishment(); //     IUT esthablishes the session		
                    		
                    f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); //     sync
                    
    				f_awaiting_AAR(mw_AAR_basic(?,?,?,?,?)); // should be present
								                                                                                         				
                    f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); //     sync    
                    
                    f_send_AAA(m_AAA_modified_ResultCode_ANCA(vc_sessionId,
															  vc_originHost,
															  vc_originRealm,															  
															  m_resultCode(m_resultCode_diameterSuccess),
															  m_accessNetworkChargingAddress(f_IPAdress(PX_ANCA_ipv4, PX_ANCA_ipv6))));
                                                                                      				
                    tc_wait.start; tc_wait.timeout; //TODO: wait for checking no rejection?

                    f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); // sync
				
                    f_postamble_PCRF();

                } // end function f_TC_AF_MSI_02    

        /*
        *  @desc	This is the test case function TC_AF_MSI_03
        *  @param	
        */
                function f_TC_AF_MSI_03()
                runs on DiameterComponent {
				
                    f_preamble_PCRF();
                    
                    f_IUT_session_esthablishment(); //     IUT esthablishes the session		
				
                    f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // sync
				
                    f_awaiting_AAR(mw_AAR_SCD(?,?,?,?,?,
                    mw_sponsoredConnectivityData(?,?,*,*))); // should be present
				
                    f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); //     sync
                     
                    f_send_AAA(m_AAA_basic(vc_sessionId, vc_originHost, vc_originRealm));
				
                    f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); // sync
				
                    f_postamble_PCRF();

                } // end function f_TC_AF_MSI_03

        /*
        *  @desc	This is the test case function TC_AF_GPR
        *  @param