completion of f_TC_S1AP_eNB_CMP_01
This commit is contained in:
parent
6765c6b959
commit
0cdba8fec0
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="con" path="com.testingtech.ttworkbench.core.TTWB_LIBRARY"/>
|
||||
<classpathentry kind="src" path="javasrc"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||
<classpathentry kind="output" path="build"/>
|
||||
</classpath>
|
|
@ -0,0 +1,34 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>S1AP</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
<project>LibCommon</project>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>com.testingtech.ttworkbench.ttthree.modelBuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>com.testingtech.ttworkbench.ttthree.todoBuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>com.testingtech.ttworkbench.ttthree.tt3pluginbuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>com.testingtech.ttworkbench.core.ttcn3nature</nature>
|
||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
|
@ -0,0 +1,9 @@
|
|||
eclipse.preferences.version=1
|
||||
gen-attributes=false
|
||||
java-scheme-file-per-declaration=true
|
||||
ttcn3.continue_on_fail=false
|
||||
ttcn3.gen_debug_code_record_init=false
|
||||
ttcn3.generate_mlf=false
|
||||
ttcn3.java_compile_all_at_once=true
|
||||
ttcn3.source_folders=//PROJECT_NAME//ttcn3\n//PROJECT_NAME//ttcn3/asn1\n//PROJECT_NAME//ttcn3/LibS1AP
|
||||
ttcn3.use_bigint=true
|
|
@ -149,6 +149,16 @@ module LibS1AP_Steps {
|
|||
f_recv_S1AP_successfulOutcome(mw_E_RABSetupResponse(p_value))
|
||||
} // End of f_recv_E_RABSetupResponse
|
||||
|
||||
/**
|
||||
* @desc Receive S1AP Message InitialContext_SetupResponse
|
||||
* @param p_value Receive template for InitialContext_SetupResponse IEs
|
||||
*/
|
||||
function f_recv_InitialContext_SetupResponse(
|
||||
template (present) RecordOf_ProtocolIE p_value := ?
|
||||
) runs on S1APComponent {
|
||||
f_recv_S1AP_successfulOutcome(mw_InitialContextSetupResponse(p_value))
|
||||
} // End of f_recv_InitialContext_SetupResponse
|
||||
|
||||
/**
|
||||
* @desc Receive S1AP Message S1 SETUP REQUEST
|
||||
* @param p_value Receive template for S1 SETUP REQUEST IEs
|
||||
|
|
|
@ -110,7 +110,7 @@ module LibS1AP_Templates {
|
|||
*/
|
||||
template (value) InitiatingMessage m_InitialContextSetupRequest(
|
||||
in template (value) RecordOf_ProtocolIE p_value) := {
|
||||
procedureCode := id_E_RABSetup,
|
||||
procedureCode := id_InitialContextSetup,
|
||||
criticality := reject,
|
||||
value_ := {RecordOf_ProtocolIE := valueof(p_value)}
|
||||
} // End of template m_InitialContextSetupRequest
|
||||
|
@ -472,6 +472,34 @@ module LibS1AP_Templates {
|
|||
} // End of template mw_E_RABSetupResIEs
|
||||
|
||||
} // End of group ERABSetup
|
||||
|
||||
group Context_management_group{
|
||||
|
||||
/**
|
||||
* @desc Receive template for InitialContextSetup message
|
||||
* @param p_procedureCode Expected procedure code. Default: ?
|
||||
* @param p_value Expected procedure code. Default: ?
|
||||
*/
|
||||
template (present) SuccessfulOutcome mw_InitialContextSetupResponse(
|
||||
template (present) RecordOf_ProtocolIE p_value := ?
|
||||
) := {
|
||||
procedureCode := id_E_RABSetup,
|
||||
criticality := reject,
|
||||
value_ := {RecordOf_ProtocolIE := p_value}
|
||||
} // End of template mw_InitialContextSetupResponse
|
||||
|
||||
template (present) RecordOf_ProtocolIE mw_InitialContextSetupResIEs(
|
||||
template (present) MME_UE_S1AP_ID p_MME_value := ?,
|
||||
template (present) ENB_UE_S1AP_ID p_eNB_value := ?,
|
||||
template (present) RecordOf_E_RABSetupItemBearerSURes p_RecordOf_E_RABSetupItem_value := ?
|
||||
) := {
|
||||
mw_MME_UE_S1AP_ID(p_MME_value, ignore),
|
||||
mw_eNB_UE_S1AP_ID(p_eNB_value, ignore),
|
||||
mw_E_RABSetupList(p_RecordOf_E_RABSetupItem_value)
|
||||
} // End of template mw_InitialContextSetupResIEs
|
||||
|
||||
|
||||
} // End of group Context_management_group
|
||||
|
||||
/**
|
||||
* @desc Receive messages for Management procedures
|
||||
|
|
|
@ -217,9 +217,9 @@ module S1AP_TCFunctions {
|
|||
group Context_management_group {
|
||||
|
||||
/**
|
||||
* @desc Testcase function for TC_S1AP_CON_MGT_01
|
||||
* @desc Testcase function for TC_S1AP_eNB_CMP_01
|
||||
*/
|
||||
function f_TC_S1AP_CON_MGT_01() runs on S1APComponent {
|
||||
function f_TC_S1AP_eNB_CMP_01() runs on S1APComponent {
|
||||
// Local variables
|
||||
|
||||
// Preamble
|
||||
|
@ -235,13 +235,15 @@ module S1AP_TCFunctions {
|
|||
{m_E_RABToBeSetupItemBearerSUReq (
|
||||
-,
|
||||
m_e_RABlevelQoSParameters
|
||||
(5)
|
||||
(5),
|
||||
-,
|
||||
- // TODO should be omit
|
||||
)},
|
||||
m_UESecurityCapabilities('0101010101010101'B,'0101010101010101'B),
|
||||
m_securityKey
|
||||
));
|
||||
|
||||
f_recv_E_RABSetupResponse(mw_E_RABSetupResIEs(
|
||||
f_recv_InitialContext_SetupResponse(mw_InitialContextSetupResIEs(
|
||||
vc_MME_UE_ID,
|
||||
vc_eNB_UE_ID,
|
||||
{
|
||||
|
@ -257,7 +259,7 @@ module S1AP_TCFunctions {
|
|||
f_selfOrClientSyncAndVerdict(c_poDone, f_getVerdict());
|
||||
log("*** " & __SCOPE__ & ": INFO: Postamble done. ***");
|
||||
|
||||
} // End of function f_TC_S1AP_CON_MGT_01
|
||||
} // End of function f_TC_S1AP_eNB_CMP_01
|
||||
|
||||
|
||||
} // End of group Context_management_group
|
||||
|
|
Loading…
Reference in New Issue