Compare Revisions

The credentials to download the source code are:
 Username: svnusers
 Password: svnusers

Ignore whitespace Rev 57 → Rev 58

/trunk/DiameterS9/ttcn/DiameterS9_Gxx_TCFunctions.ttcn3
1543,7 → 1543,7
* @desc This is the test case function f_TC_VPCRF_VDS_02_BBERF
* @param
*/
function f_TC_VPCRF_VDS_02_BBERF()
function f_TC_VPCRF_VDS_02_BBERF1()
runs on DiameterComponent {
 
f_preamble_BBERF();
/trunk/DiameterS9/ttcn/DiameterS9_S9_TCFunctions.ttcn3
3076,6 → 3076,51
f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); // sync
 
} // end function f_TC_VPCRF_VIF_01
 
/*
* @desc This is the test case function f_TC_VPCRF_VIF_01
* @param
*/
function f_TC_VPCRF_VIF_02()
runs on DiameterComponent {
var template Subsession_Id_AVP v_subSessionId;
f_preamble_HPCRF();
 
f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict()); // sync
//CCR INITIAL REQUEST
f_awaiting_CCR(mw_CCR_SubSessEnfInf_QoS(?,
vc_originHost,
vc_originRealm,
vc_destinationRealm,
mw_cC_Request_Type(INITIAL_REQUEST_E),
*,//Subscription id
{mw_subsesEnforcementInfo_Operation_RRremove_EvTri(mw_subsessionId_dummy(?),
mw_subsessionOperation_dummy(Subsession_Operation_Code:MODIFICATION_E),
?, //RoutingRuleRemove
{m_event_Trigger(ROUTING_RULE_CHANGE_E)}
)},
*,//QoS_Rule_Report
*//QoS_information
));
 
f_send_CCA(m_CCA_basic(vc_sessionId,
vc_originHost,
vc_originRealm,
m_cC_Request_Type(INITIAL_REQUEST_E),
m_resultCode(m_resultCode_diameterSuccess)));
 
f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict()); // sync
 
f_await_session_termination_HPCRF(); // postamble for termination of the rest of the subsessions
 
f_postamble_HPCRF();
 
f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict()); // sync
 
} // end function f_TC_VPCRF_VIF_02
} //end group TP_VPCRFRole_VIF
 
/trunk/DiameterS9/ttcn/DiameterS9_Templates.ttcn
990,6 → 990,17
routing_Rule_Install := p_routingRuleInstall
}
 
template Subses_Enforcement_Info_AVP mw_subsesEnforcementInfo_Operation_RRremove_EvTri
(template (present) Subsession_Id_AVP p_subsessionId,
template Subsession_Operation_AVP p_subsessionOperation ,
template Subses_Enforcement_Info_AVP.routing_Rule_Remove p_routingRuleRemove,
template CCR_MSG.cCR_Body.event_Trigger p_event_Trigger)
modifies mw_subsesEnforcementInfo_dummy:= {
subsession_Operation := p_subsessionOperation,
routing_Rule_Remove := p_routingRuleRemove,
event_Trigger := p_event_Trigger
}
 
template Subses_Enforcement_Info_AVP mw_subsesEnforcementInfo_qosInfo
(template (present) Subsession_Id_AVP p_subsessionId,
template Subses_Enforcement_Info_AVP.qoS_Information p_qoS_Information,
/trunk/DiameterS9/ttcn/DiameterS9_TestCases.ttcn
1616,7 → 1616,21
runs on ServerSyncComp
system TestAdapter {
// TODO
// Initialize
var DiameterComponent v_diameterComponent_hpcrf;
var DiameterComponent v_diameterComponent_pcef;
 
f_cf_1S9_1Gx_hpcrfUp(v_diameterComponent_hpcrf, v_diameterComponent_pcef);
 
// Start
v_diameterComponent_hpcrf.start(f_TC_VPCRF_VMB_01());
if (PX_Gxsupport) {
v_diameterComponent_pcef.start(f_TC_VPCRF_VMB_01_PCEF());
}
 
// Finish
f_ConfigRun_HPCRF_PCEF(v_diameterComponent_hpcrf, v_diameterComponent_pcef,
{c_prDone, c_tbDone, c_poDone});
} // end TC_VPCEF_VMB_01
1627,7 → 1641,21
runs on ServerSyncComp
system TestAdapter {
// TODO
// Initialize
var DiameterComponent v_diameterComponent_hpcrf;
var DiameterComponent v_diameterComponent_pcef;
 
f_cf_1S9_1Gx_hpcrfUp(v_diameterComponent_hpcrf, v_diameterComponent_pcef);
 
// Start
v_diameterComponent_hpcrf.start(f_TC_VPCRF_VMB_02());
if (PX_Gxsupport) {
v_diameterComponent_pcef.start(f_TC_VPCRF_VMB_02_PCEF());
}
 
// Finish
f_ConfigRun_HPCRF_PCEF(v_diameterComponent_hpcrf, v_diameterComponent_pcef,
{c_prDone, c_tbDone, c_poDone});
} // end TC_VPCEF_VMB_02
1642,9 → 1670,23
testcase TC_VPCRF_VDS_01()
runs on ServerSyncComp
system TestAdapter {
// TODO
 
// Initialize
var DiameterComponent v_diameterComponent_hpcrf;
var DiameterComponent v_diameterComponent_bberf;
 
f_cf_1S9_1Gxx_hpcrfUp(v_diameterComponent_hpcrf, v_diameterComponent_bberf);
 
// Start
v_diameterComponent_hpcrf.start(f_TC_VPCRF_VDS_01());
if (PX_Gxxsupport) {
v_diameterComponent_bberf.start(f_TC_VPCRF_VDS_01_BBERF1());
}
 
// Finish
f_ConfigRun_HPCRF_BBERF(v_diameterComponent_hpcrf, v_diameterComponent_bberf,
{c_prDone, c_tbDone, c_poDone});
 
} // end TC_VPCEF_VDS_01
 
1654,9 → 1696,23
testcase TC_VPCRF_VDS_02()
runs on ServerSyncComp
system TestAdapter {
// TODO
 
// Initialize
var DiameterComponent v_diameterComponent_hpcrf;
var DiameterComponent v_diameterComponent_bberf;
 
f_cf_1S9_1Gxx_hpcrfUp(v_diameterComponent_hpcrf, v_diameterComponent_bberf);
 
// Start
v_diameterComponent_hpcrf.start(f_TC_VPCRF_VDS_02());
if (PX_Gxxsupport) {
v_diameterComponent_bberf.start(f_TC_VPCRF_VDS_02_BBERF1());
}
 
// Finish
f_ConfigRun_HPCRF_BBERF(v_diameterComponent_hpcrf, v_diameterComponent_bberf,
{c_prDone, c_tbDone, c_poDone});
 
} // end TC_VPCEF_VDS_02
/*
1665,9 → 1721,23
testcase TC_VPCRF_VDS_03()
runs on ServerSyncComp
system TestAdapter {
// TODO
 
// Initialize
var DiameterComponent v_diameterComponent_hpcrf;
var DiameterComponent v_diameterComponent_bberf;
 
f_cf_1S9_1Gxx_hpcrfUp(v_diameterComponent_hpcrf, v_diameterComponent_bberf);
 
// Start
v_diameterComponent_hpcrf.start(f_TC_VPCRF_VDS_03());
if (PX_Gxxsupport) {
v_diameterComponent_bberf.start(f_TC_VPCRF_VDS_03_BBERF1());
}
 
// Finish
f_ConfigRun_HPCRF_BBERF(v_diameterComponent_hpcrf, v_diameterComponent_bberf,
{c_prDone, c_tbDone, c_poDone});
 
} // end TC_VPCEF_VDS_03
} //end group TP_VPCRFRole_VDS
1682,7 → 1752,21
runs on ServerSyncComp
system TestAdapter {
// TODO
// Initialize
var DiameterComponent v_diameterComponent_hpcrf;
var DiameterComponent v_diameterComponent_pcef;
 
f_cf_1S9_1Gx_hpcrfUp(v_diameterComponent_hpcrf, v_diameterComponent_pcef);
 
// Start
v_diameterComponent_hpcrf.start(f_TC_VPCRF_VSL_01());
if (PX_Gxsupport) {
v_diameterComponent_pcef.start(f_TC_VPCRF_VSL_01_PCEF());
}
 
// Finish
f_ConfigRun_HPCRF_PCEF(v_diameterComponent_hpcrf, v_diameterComponent_pcef,
{c_prDone, c_tbDone, c_poDone});
} // end TC_VPCEF_VSL_01
1698,10 → 1782,50
runs on ServerSyncComp
system TestAdapter {
// TODO
// Initialize
var DiameterComponent v_diameterComponent_hpcrf;
var DiameterComponent v_diameterComponent_pcef;
 
f_cf_1S9_1Gx_hpcrfUp(v_diameterComponent_hpcrf, v_diameterComponent_pcef);
 
// Start
v_diameterComponent_hpcrf.start(f_TC_VPCRF_VIF_01());
if (PX_Gxsupport) {
v_diameterComponent_pcef.start(f_TC_VPCRF_VIF_01_PCEF());
}
 
// Finish
f_ConfigRun_HPCRF_PCEF(v_diameterComponent_hpcrf, v_diameterComponent_pcef,
{c_prDone, c_tbDone, c_poDone});
} // end TC_VPCEF_VIF_01
/*
* @desc TC_VPCRF_VIF_02
*/
testcase TC_VPCRF_VIF_02()
runs on ServerSyncComp
system TestAdapter {
// Initialize
var DiameterComponent v_diameterComponent_hpcrf;
var DiameterComponent v_diameterComponent_pcef;
 
f_cf_1S9_1Gx_hpcrfUp(v_diameterComponent_hpcrf, v_diameterComponent_pcef);
 
// Start
v_diameterComponent_hpcrf.start(f_TC_VPCRF_VIF_02());
if (PX_Gxsupport) {
v_diameterComponent_pcef.start(f_TC_VPCRF_VIF_02_PCEF());
}
 
// Finish
f_ConfigRun_HPCRF_PCEF(v_diameterComponent_hpcrf, v_diameterComponent_pcef,
{c_prDone, c_tbDone, c_poDone});
} // end TC_VPCEF_VIF_02
} //end group TP_VPCRFRole_VIF
 
}//end group TP_VPCRFRole
/trunk/DiameterS9/ttcn/DiameterS9_TestControl.ttcn3
170,6 → 170,7
// 5.2.2.3.7 IP flow mobility support
execute(TC_VPCRF_VIF_01());
execute(TC_VPCRF_VIF_02());
} // End of 'Control' statement