completion of f_TC_S1AP_MME_RAB_03

This commit is contained in:
rennoch 2017-05-10 08:26:25 +00:00
parent ea47198fac
commit 452ff29f59
3 changed files with 64 additions and 0 deletions

View File

@ -164,6 +164,16 @@ module LibS1AP_Steps {
f_recv_S1AP_successfulOutcome(mw_E_RABModifiedRequest(p_value))
} // End of f_recv_E_RABModifiedRequest
/**
* @desc Receive S1AP Message E_RABReleaseCommand
* @param p_value Receive template for E_RABReleaseCommand IEs
*/
function f_recv_E_RABReleaseCommand(
template (present) RecordOf_ProtocolIE p_value := ?
) runs on S1APComponent {
f_recv_S1AP_successfulOutcome(mw_E_RABReleaseCommand(p_value))
} // End of f_recv_E_RABReleaseCommand
/**
* @desc Receive S1AP Message Handover Required
* @param p_value Receive template for Handover Required IEs

View File

@ -1451,6 +1451,27 @@ module LibS1AP_Templates {
value_ := {UserLocationInformation := p_UserLocationInformation_value}
} // End of template mw_UserLocationInformation
/**
* @desc Receive template for InitiatingMessage message with Realease Command payload
* @param p_value The list of Protocol IE values
*/
template (present) InitiatingMessage mw_E_RABReleaseCommand(
template (present) RecordOf_ProtocolIE p_value) := {
procedureCode := id_E_RABRelease,
criticality := reject,
value_ := {RecordOf_ProtocolIE := p_value}
} // End of template mw_E_RABReleaseCommand
template (present) RecordOf_ProtocolIE mw_E_RABReleaseCmdIEs(
template (present) MME_UE_S1AP_ID p_MME_value := ?,
template (present) ENB_UE_S1AP_ID p_eNB_value := ?,
template (present) RecordOf_E_RABItem p_RecordOf_E_RABReleaseListItem_value := {?}
) := {
mw_MME_UE_S1AP_ID(p_MME_value, ignore),
mw_eNB_UE_S1AP_ID(p_eNB_value, ignore),
mw_E_RABReleaseList(p_RecordOf_E_RABReleaseListItem_value)
} // End of template mw_E_RABReleaseCmdIEs
}
}

View File

@ -4258,6 +4258,39 @@ module S1AP_TCFunctions {
log("*** " & __SCOPE__ & ": INFO: Postamble done. ***");
} // End of function f_TC_S1AP_MME_RAB_02
/**
* @desc Testcase function for TC_S1AP_eNB_RAB_03
*/
function f_TC_S1AP_MME_RAB_03() runs on S1APComponent {
// Local variables
// Preamble
f_S1AP_mme_init();
f_rABSetupRequest();
f_selfOrClientSyncAndVerdict(c_prDone, f_getVerdict());
log("*** " & __SCOPE__ & ": INFO: Preamble done. ***");
// Test body
action("trigger an E-RAB Modify request");
f_recv_E_RABReleaseCommand(mw_E_RABReleaseCmdIEs(
vc_MME_UE_ID,
vc_eNB_UE_ID,
{mw_E_RABItem}
));
f_selfOrClientSyncAndVerdict(c_tbDone, f_getVerdict());
// Postamble
f_postamble_S1AP_MME();
f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict());
log("*** " & __SCOPE__ & ": INFO: Postamble done. ***");
} // End of function f_TC_S1AP_MME_RAB_03
} // End of group ERAB_management_group