Loading CW/CW_TestCases.ttcn +204 −0 Original line number Diff line number Diff line Loading @@ -291,6 +291,210 @@ module CW_TestCases { }// end group destination_UE group originating_UE{ /** * @desc TC_CW_U02_001 * @param p_cSeq_s Transaction Id */ testcase TC_CW_U02_001(inout CSeq p_cSeq_s) runs on ServerSyncComp system TestAdapter { if (PC_CW_UEC_indicate_waiting_communication) { //Variables var ImsComponent v_imsComponent_pcscf; f_cf_1PcscfUp(v_imsComponent_pcscf); //Start f_IncCSeq(p_cSeq_s); v_imsComponent_pcscf.start(f_Sip_CW_U02_001_PCSCF(p_cSeq_s)); // synchronize PTCs on 2 sychronization points f_serverSync1Client({c_prDone, c_tbDone}); f_cf_1PcscfDown(v_imsComponent_pcscf); } else { log("PICS 2/2 not true"); } } // end TC_CW_U02_001 }// end group originating_UE group AS{ /** * @desc TC_CW_N01_001 * @param p_cSeq_s Transaction Id */ testcase TC_CW_N01_001(inout CSeq p_cSeq_s) runs on ServerSyncComp system TestAdapter { if (PC_CW_AS_approaching_NDUB_condition and not PC_CW_AS_inititate_announcement) { //Variables var ImsComponent v_imsComponent_ue1, v_imsComponent_ue3; f_cf_2Ue_CFUp(v_imsComponent_ue1, v_imsComponent_ue3); //Start f_IncCSeq(p_cSeq_s); v_imsComponent_ue1.start(f_Sip_CW_N01_001_UEC(p_cSeq_s)); f_IncCSeq(p_cSeq_s); v_imsComponent_ue3.start(f_Sip_CW_N01_001_UEB(p_cSeq_s)); // synchronize both PTCs on 3 sychronization points f_serverSync2Clients({c_prDone, c_sync1, c_tbDone}); f_cf_2Ue_CFDown(v_imsComponent_ue1, v_imsComponent_ue3); } else { log("PICS 1/2 not true or PICS 1/3 not false"); } } // end TC_CW_N01_001 /** * @desc TC_CW_N01_002 * @param p_cSeq_s Transaction Id */ testcase TC_CW_N01_002(inout CSeq p_cSeq_s) runs on ServerSyncComp system TestAdapter { if (PC_CW_AS_approaching_NDUB_condition and PC_CW_AS_inititate_announcement) { //Variables var ImsComponent v_imsComponent_ue1, v_imsComponent_ue3; f_cf_2Ue_CFUp(v_imsComponent_ue1, v_imsComponent_ue3); //Start f_IncCSeq(p_cSeq_s); v_imsComponent_ue1.start(f_Sip_CW_N01_002_UEC(p_cSeq_s)); f_IncCSeq(p_cSeq_s); v_imsComponent_ue3.start(f_Sip_CW_N01_002_UEB(p_cSeq_s)); // synchronize both PTCs on 3 sychronization points f_serverSync2Clients({c_prDone, c_sync1, c_tbDone}); f_cf_2Ue_CFDown(v_imsComponent_ue1, v_imsComponent_ue3); } else { log("PICS 1/2 not true or PICS 1/3 not true"); } } // end TC_CW_N01_002 /** * @desc TC_CW_N01_003 * @param p_cSeq_s Transaction Id */ testcase TC_CW_N01_003(inout CSeq p_cSeq_s) runs on ServerSyncComp system TestAdapter { if (PC_CW_AS_approaching_NDUB_condition) { //Variables var ImsComponent v_imsComponent_ue1, v_imsComponent_ue3; f_cf_2Ue_CFUp(v_imsComponent_ue1, v_imsComponent_ue3); //Start f_IncCSeq(p_cSeq_s); v_imsComponent_ue1.start(f_Sip_CW_N01_003_UEC(p_cSeq_s)); f_IncCSeq(p_cSeq_s); v_imsComponent_ue3.start(f_Sip_CW_N01_003_UEB(p_cSeq_s)); // synchronize both PTCs on 3 sychronization points f_serverSync2Clients({c_prDone, c_sync1, c_tbDone}); f_cf_2Ue_CFDown(v_imsComponent_ue1, v_imsComponent_ue3); } else { log("PICS 1/2 not true"); } } // end TC_CW_N01_003 /** * @desc TC_CW_N01_004 * @param p_cSeq_s Transaction Id */ testcase TC_CW_N01_004(inout CSeq p_cSeq_s) runs on ServerSyncComp system TestAdapter { if (PC_CW_AS_180withAIhdr) { //Variables var ImsComponent v_imsComponent_ue1, v_imsComponent_ue3; f_cf_2Ue_CFUp(v_imsComponent_ue1, v_imsComponent_ue3); //Start f_IncCSeq(p_cSeq_s); v_imsComponent_ue1.start(f_Sip_CW_N01_004_UEC(p_cSeq_s)); f_IncCSeq(p_cSeq_s); v_imsComponent_ue3.start(f_Sip_CW_N01_004_UEB(p_cSeq_s)); // synchronize both PTCs on 3 sychronization points f_serverSync2Clients({c_prDone, c_sync1, c_tbDone}); f_cf_2Ue_CFDown(v_imsComponent_ue1, v_imsComponent_ue3); } else { log("PICS 1/1 not true"); } } // end TC_CW_N01_004 /** * @desc TC_CW_N01_005 * @param p_cSeq_s Transaction Id */ testcase TC_CW_N01_005(inout CSeq p_cSeq_s) runs on ServerSyncComp system TestAdapter { if (PC_CW_AS_180withAIhdr and PC_CW_AS_inititate_announcement) { //Variables var ImsComponent v_imsComponent_ue1, v_imsComponent_ue3; f_cf_2Ue_CFUp(v_imsComponent_ue1, v_imsComponent_ue3); //Start f_IncCSeq(p_cSeq_s); v_imsComponent_ue1.start(f_Sip_CW_N01_005_UEC(p_cSeq_s)); f_IncCSeq(p_cSeq_s); v_imsComponent_ue3.start(f_Sip_CW_N01_005_UEB(p_cSeq_s)); // synchronize both PTCs on 3 sychronization points f_serverSync2Clients({c_prDone, c_sync1, c_tbDone}); f_cf_2Ue_CFDown(v_imsComponent_ue1, v_imsComponent_ue3); } else { log("PICS 1/1 not true or PICS 1/3 not true"); } } // end TC_CW_N01_005 /** * @desc TC_CW_N01_006 * @param p_cSeq_s Transaction Id */ testcase TC_CW_N01_006(inout CSeq p_cSeq_s) runs on ServerSyncComp system TestAdapter { if (PC_CW_AS_180withAIhdr and PC_CW_TAS_CW_SUPPORTED) { //Variables var ImsComponent v_imsComponent_ue1, v_imsComponent_ue3; f_cf_2Ue_CFUp(v_imsComponent_ue1, v_imsComponent_ue3); //Start f_IncCSeq(p_cSeq_s); v_imsComponent_ue1.start(f_Sip_CW_N01_006_UEC(p_cSeq_s)); f_IncCSeq(p_cSeq_s); v_imsComponent_ue3.start(f_Sip_CW_N01_006_UEB(p_cSeq_s)); // synchronize both PTCs on 3 sychronization points f_serverSync2Clients({c_prDone, c_sync1, c_tbDone}); f_cf_2Ue_CFDown(v_imsComponent_ue1, v_imsComponent_ue3); } else { log("PICS 1/1 not true or PICS 3/1 not true"); } } // end TC_CW_N01_006 }// end AS }// end group SS_CW_SIPSIP }// end group SuplementaryService_CW Loading Loading
CW/CW_TestCases.ttcn +204 −0 Original line number Diff line number Diff line Loading @@ -291,6 +291,210 @@ module CW_TestCases { }// end group destination_UE group originating_UE{ /** * @desc TC_CW_U02_001 * @param p_cSeq_s Transaction Id */ testcase TC_CW_U02_001(inout CSeq p_cSeq_s) runs on ServerSyncComp system TestAdapter { if (PC_CW_UEC_indicate_waiting_communication) { //Variables var ImsComponent v_imsComponent_pcscf; f_cf_1PcscfUp(v_imsComponent_pcscf); //Start f_IncCSeq(p_cSeq_s); v_imsComponent_pcscf.start(f_Sip_CW_U02_001_PCSCF(p_cSeq_s)); // synchronize PTCs on 2 sychronization points f_serverSync1Client({c_prDone, c_tbDone}); f_cf_1PcscfDown(v_imsComponent_pcscf); } else { log("PICS 2/2 not true"); } } // end TC_CW_U02_001 }// end group originating_UE group AS{ /** * @desc TC_CW_N01_001 * @param p_cSeq_s Transaction Id */ testcase TC_CW_N01_001(inout CSeq p_cSeq_s) runs on ServerSyncComp system TestAdapter { if (PC_CW_AS_approaching_NDUB_condition and not PC_CW_AS_inititate_announcement) { //Variables var ImsComponent v_imsComponent_ue1, v_imsComponent_ue3; f_cf_2Ue_CFUp(v_imsComponent_ue1, v_imsComponent_ue3); //Start f_IncCSeq(p_cSeq_s); v_imsComponent_ue1.start(f_Sip_CW_N01_001_UEC(p_cSeq_s)); f_IncCSeq(p_cSeq_s); v_imsComponent_ue3.start(f_Sip_CW_N01_001_UEB(p_cSeq_s)); // synchronize both PTCs on 3 sychronization points f_serverSync2Clients({c_prDone, c_sync1, c_tbDone}); f_cf_2Ue_CFDown(v_imsComponent_ue1, v_imsComponent_ue3); } else { log("PICS 1/2 not true or PICS 1/3 not false"); } } // end TC_CW_N01_001 /** * @desc TC_CW_N01_002 * @param p_cSeq_s Transaction Id */ testcase TC_CW_N01_002(inout CSeq p_cSeq_s) runs on ServerSyncComp system TestAdapter { if (PC_CW_AS_approaching_NDUB_condition and PC_CW_AS_inititate_announcement) { //Variables var ImsComponent v_imsComponent_ue1, v_imsComponent_ue3; f_cf_2Ue_CFUp(v_imsComponent_ue1, v_imsComponent_ue3); //Start f_IncCSeq(p_cSeq_s); v_imsComponent_ue1.start(f_Sip_CW_N01_002_UEC(p_cSeq_s)); f_IncCSeq(p_cSeq_s); v_imsComponent_ue3.start(f_Sip_CW_N01_002_UEB(p_cSeq_s)); // synchronize both PTCs on 3 sychronization points f_serverSync2Clients({c_prDone, c_sync1, c_tbDone}); f_cf_2Ue_CFDown(v_imsComponent_ue1, v_imsComponent_ue3); } else { log("PICS 1/2 not true or PICS 1/3 not true"); } } // end TC_CW_N01_002 /** * @desc TC_CW_N01_003 * @param p_cSeq_s Transaction Id */ testcase TC_CW_N01_003(inout CSeq p_cSeq_s) runs on ServerSyncComp system TestAdapter { if (PC_CW_AS_approaching_NDUB_condition) { //Variables var ImsComponent v_imsComponent_ue1, v_imsComponent_ue3; f_cf_2Ue_CFUp(v_imsComponent_ue1, v_imsComponent_ue3); //Start f_IncCSeq(p_cSeq_s); v_imsComponent_ue1.start(f_Sip_CW_N01_003_UEC(p_cSeq_s)); f_IncCSeq(p_cSeq_s); v_imsComponent_ue3.start(f_Sip_CW_N01_003_UEB(p_cSeq_s)); // synchronize both PTCs on 3 sychronization points f_serverSync2Clients({c_prDone, c_sync1, c_tbDone}); f_cf_2Ue_CFDown(v_imsComponent_ue1, v_imsComponent_ue3); } else { log("PICS 1/2 not true"); } } // end TC_CW_N01_003 /** * @desc TC_CW_N01_004 * @param p_cSeq_s Transaction Id */ testcase TC_CW_N01_004(inout CSeq p_cSeq_s) runs on ServerSyncComp system TestAdapter { if (PC_CW_AS_180withAIhdr) { //Variables var ImsComponent v_imsComponent_ue1, v_imsComponent_ue3; f_cf_2Ue_CFUp(v_imsComponent_ue1, v_imsComponent_ue3); //Start f_IncCSeq(p_cSeq_s); v_imsComponent_ue1.start(f_Sip_CW_N01_004_UEC(p_cSeq_s)); f_IncCSeq(p_cSeq_s); v_imsComponent_ue3.start(f_Sip_CW_N01_004_UEB(p_cSeq_s)); // synchronize both PTCs on 3 sychronization points f_serverSync2Clients({c_prDone, c_sync1, c_tbDone}); f_cf_2Ue_CFDown(v_imsComponent_ue1, v_imsComponent_ue3); } else { log("PICS 1/1 not true"); } } // end TC_CW_N01_004 /** * @desc TC_CW_N01_005 * @param p_cSeq_s Transaction Id */ testcase TC_CW_N01_005(inout CSeq p_cSeq_s) runs on ServerSyncComp system TestAdapter { if (PC_CW_AS_180withAIhdr and PC_CW_AS_inititate_announcement) { //Variables var ImsComponent v_imsComponent_ue1, v_imsComponent_ue3; f_cf_2Ue_CFUp(v_imsComponent_ue1, v_imsComponent_ue3); //Start f_IncCSeq(p_cSeq_s); v_imsComponent_ue1.start(f_Sip_CW_N01_005_UEC(p_cSeq_s)); f_IncCSeq(p_cSeq_s); v_imsComponent_ue3.start(f_Sip_CW_N01_005_UEB(p_cSeq_s)); // synchronize both PTCs on 3 sychronization points f_serverSync2Clients({c_prDone, c_sync1, c_tbDone}); f_cf_2Ue_CFDown(v_imsComponent_ue1, v_imsComponent_ue3); } else { log("PICS 1/1 not true or PICS 1/3 not true"); } } // end TC_CW_N01_005 /** * @desc TC_CW_N01_006 * @param p_cSeq_s Transaction Id */ testcase TC_CW_N01_006(inout CSeq p_cSeq_s) runs on ServerSyncComp system TestAdapter { if (PC_CW_AS_180withAIhdr and PC_CW_TAS_CW_SUPPORTED) { //Variables var ImsComponent v_imsComponent_ue1, v_imsComponent_ue3; f_cf_2Ue_CFUp(v_imsComponent_ue1, v_imsComponent_ue3); //Start f_IncCSeq(p_cSeq_s); v_imsComponent_ue1.start(f_Sip_CW_N01_006_UEC(p_cSeq_s)); f_IncCSeq(p_cSeq_s); v_imsComponent_ue3.start(f_Sip_CW_N01_006_UEB(p_cSeq_s)); // synchronize both PTCs on 3 sychronization points f_serverSync2Clients({c_prDone, c_sync1, c_tbDone}); f_cf_2Ue_CFDown(v_imsComponent_ue1, v_imsComponent_ue3); } else { log("PICS 1/1 not true or PICS 3/1 not true"); } } // end TC_CW_N01_006 }// end AS }// end group SS_CW_SIPSIP }// end group SuplementaryService_CW Loading