Loading AtsImsIot/AtsImsIot_TestCases_CALL.ttcn +117 −0 Original line number Diff line number Diff line Loading @@ -331,4 +331,121 @@ module AtsImsIot_TestCases_CALL { f_cf_int_call_down(v_config); } //end testcase TC_IMS_CALL_0003 /** * @desc Rejection of call to non existing user * @see TS 186 011-2 V2.3.1 cause 4.5.3.1.1.5 */ testcase TC_IMS_CALL_0004() runs on ImsTestCoordinator system IotSystemInterface { // create components var IotEquipmentUser v_ueA := f_cf_create_IotEquipmentUser(c_userUE_A); var ImsInterfaceMonitor v_gmA := f_cf_create_monitor(c_gm_A); var ImsInterfaceMonitor v_mw := f_cf_create_monitor(c_mw); var ImsUserInfo v_userInfoA := f_getAnyValidUser(PX_EUT_A); var ImsUserInfo v_userInfoB := f_getAnyValidUser(PX_EUT_B); var CF_INT_CALL v_config := {v_gmA, v_mw, omit}; // map/connect component ports f_cf_user_up(v_ueA); f_cf_int_call_up(v_config); // preamble f_mtc_userTriggerRegistration(v_ueA, v_userInfoA); // test body v_userInfoB.privateId := ("non_existing_user"); f_mtc_userTriggerInitiateCall (v_ueA, v_userInfoB); //Test Sequence Step 1 // //check 1 (INVITE) f_mtc_check_TP_IMS_5132_01_gm(v_gmA, false); // Check1 f_mtc_check_TP_IMS_5132_01_mw(v_mw, false); // Check1 f_mtc_userCheckCallCannotBeEstablished(v_ueA); //Test Sequence Step 2 // postamble f_PO_user_home_deregistration(v_ueA); //unmap/disconnet component ports f_cf_user_down(v_ueA); f_cf_int_call_down(v_config); } //end testcase TC_IMS_CALL_0004 /** * @desc Rejection of call to unavailable user * @see TS 186 011-2 V2.3.1 cause 4.5.3.1.1.6 */ testcase TC_IMS_CALL_0005() runs on ImsTestCoordinator system IotSystemInterface { // create components var IotEquipmentUser v_ueA := f_cf_create_IotEquipmentUser(c_userUE_A); var ImsInterfaceMonitor v_gmA := f_cf_create_monitor(c_gm_A); var ImsInterfaceMonitor v_mw := f_cf_create_monitor(c_mw); var ImsUserInfo v_userInfoA := f_getAnyValidUser(PX_EUT_A); var ImsUserInfo v_userInfoB := f_getAnyValidUser(PX_EUT_B); var CF_INT_CALL v_config := {v_gmA, v_mw, omit}; // map/connect component ports f_cf_user_up(v_ueA); f_cf_int_call_up(v_config); // preamble f_mtc_userTriggerRegistration(v_ueA, v_userInfoA); // test body v_userInfoB.privateId := ("unavailable"); f_mtc_userTriggerInitiateCall (v_ueA, v_userInfoB); //Test Sequence Step 1 // //check 1 (INVITE) f_mtc_check_TP_IMS_5133_01_gm(v_gmA, false); // Check1 f_mtc_check_TP_IMS_5133_01_mw(v_mw, false); // Check1 f_mtc_userCheckCallCannotBeEstablished(v_ueA); //Test Sequence Step 2 // postamble f_PO_user_home_deregistration(v_ueA); //unmap/disconnet component ports f_cf_user_down(v_ueA); f_cf_int_call_down(v_config); } //end testcase TC_IMS_CALL_0005 /** * @desc Initial request to non-registered user with terminating unregistered filter criterion * @see TS 186 011-2 V2.3.1 cause 4.5.3.1.1.7 */ testcase TC_IMS_CALL_0006() runs on ImsTestCoordinator system IotSystemInterface { // create components var IotEquipmentUser v_ueA := f_cf_create_IotEquipmentUser(c_userUE_A); var ImsInterfaceMonitor v_gmA := f_cf_create_monitor(c_gm_A); var ImsInterfaceMonitor v_mw := f_cf_create_monitor(c_mw); var ImsUserInfo v_userInfoA := f_getAnyValidUser(PX_EUT_A); var ImsUserInfo v_userInfoB := f_getAnyValidUser(PX_EUT_B); var CF_INT_CALL v_config := {v_gmA, v_mw, omit}; // map/connect component ports f_cf_user_up(v_ueA); f_cf_int_call_up(v_config); // preamble f_mtc_userTriggerRegistration(v_ueA, v_userInfoA); // test body v_userInfoB.privateId := ("userNOAS_in_IMSB"); f_mtc_userTriggerInitiateCall (v_ueA, v_userInfoB); //Test Sequence Step 1 // //check 1 (INVITE) f_mtc_check_TP_IMS_5109_01_gm(v_gmA, false); // Check1 f_mtc_check_TP_IMS_5109_01_mw(v_mw, false); // Check1 f_mtc_userCheckCallCannotBeEstablished(v_ueA); //Test Sequence Step 2 // postamble f_PO_user_home_deregistration(v_ueA); //unmap/disconnet component ports f_cf_user_down(v_ueA); f_cf_int_call_down(v_config); } //end testcase TC_IMS_CALL_0006 } No newline at end of file Loading
AtsImsIot/AtsImsIot_TestCases_CALL.ttcn +117 −0 Original line number Diff line number Diff line Loading @@ -331,4 +331,121 @@ module AtsImsIot_TestCases_CALL { f_cf_int_call_down(v_config); } //end testcase TC_IMS_CALL_0003 /** * @desc Rejection of call to non existing user * @see TS 186 011-2 V2.3.1 cause 4.5.3.1.1.5 */ testcase TC_IMS_CALL_0004() runs on ImsTestCoordinator system IotSystemInterface { // create components var IotEquipmentUser v_ueA := f_cf_create_IotEquipmentUser(c_userUE_A); var ImsInterfaceMonitor v_gmA := f_cf_create_monitor(c_gm_A); var ImsInterfaceMonitor v_mw := f_cf_create_monitor(c_mw); var ImsUserInfo v_userInfoA := f_getAnyValidUser(PX_EUT_A); var ImsUserInfo v_userInfoB := f_getAnyValidUser(PX_EUT_B); var CF_INT_CALL v_config := {v_gmA, v_mw, omit}; // map/connect component ports f_cf_user_up(v_ueA); f_cf_int_call_up(v_config); // preamble f_mtc_userTriggerRegistration(v_ueA, v_userInfoA); // test body v_userInfoB.privateId := ("non_existing_user"); f_mtc_userTriggerInitiateCall (v_ueA, v_userInfoB); //Test Sequence Step 1 // //check 1 (INVITE) f_mtc_check_TP_IMS_5132_01_gm(v_gmA, false); // Check1 f_mtc_check_TP_IMS_5132_01_mw(v_mw, false); // Check1 f_mtc_userCheckCallCannotBeEstablished(v_ueA); //Test Sequence Step 2 // postamble f_PO_user_home_deregistration(v_ueA); //unmap/disconnet component ports f_cf_user_down(v_ueA); f_cf_int_call_down(v_config); } //end testcase TC_IMS_CALL_0004 /** * @desc Rejection of call to unavailable user * @see TS 186 011-2 V2.3.1 cause 4.5.3.1.1.6 */ testcase TC_IMS_CALL_0005() runs on ImsTestCoordinator system IotSystemInterface { // create components var IotEquipmentUser v_ueA := f_cf_create_IotEquipmentUser(c_userUE_A); var ImsInterfaceMonitor v_gmA := f_cf_create_monitor(c_gm_A); var ImsInterfaceMonitor v_mw := f_cf_create_monitor(c_mw); var ImsUserInfo v_userInfoA := f_getAnyValidUser(PX_EUT_A); var ImsUserInfo v_userInfoB := f_getAnyValidUser(PX_EUT_B); var CF_INT_CALL v_config := {v_gmA, v_mw, omit}; // map/connect component ports f_cf_user_up(v_ueA); f_cf_int_call_up(v_config); // preamble f_mtc_userTriggerRegistration(v_ueA, v_userInfoA); // test body v_userInfoB.privateId := ("unavailable"); f_mtc_userTriggerInitiateCall (v_ueA, v_userInfoB); //Test Sequence Step 1 // //check 1 (INVITE) f_mtc_check_TP_IMS_5133_01_gm(v_gmA, false); // Check1 f_mtc_check_TP_IMS_5133_01_mw(v_mw, false); // Check1 f_mtc_userCheckCallCannotBeEstablished(v_ueA); //Test Sequence Step 2 // postamble f_PO_user_home_deregistration(v_ueA); //unmap/disconnet component ports f_cf_user_down(v_ueA); f_cf_int_call_down(v_config); } //end testcase TC_IMS_CALL_0005 /** * @desc Initial request to non-registered user with terminating unregistered filter criterion * @see TS 186 011-2 V2.3.1 cause 4.5.3.1.1.7 */ testcase TC_IMS_CALL_0006() runs on ImsTestCoordinator system IotSystemInterface { // create components var IotEquipmentUser v_ueA := f_cf_create_IotEquipmentUser(c_userUE_A); var ImsInterfaceMonitor v_gmA := f_cf_create_monitor(c_gm_A); var ImsInterfaceMonitor v_mw := f_cf_create_monitor(c_mw); var ImsUserInfo v_userInfoA := f_getAnyValidUser(PX_EUT_A); var ImsUserInfo v_userInfoB := f_getAnyValidUser(PX_EUT_B); var CF_INT_CALL v_config := {v_gmA, v_mw, omit}; // map/connect component ports f_cf_user_up(v_ueA); f_cf_int_call_up(v_config); // preamble f_mtc_userTriggerRegistration(v_ueA, v_userInfoA); // test body v_userInfoB.privateId := ("userNOAS_in_IMSB"); f_mtc_userTriggerInitiateCall (v_ueA, v_userInfoB); //Test Sequence Step 1 // //check 1 (INVITE) f_mtc_check_TP_IMS_5109_01_gm(v_gmA, false); // Check1 f_mtc_check_TP_IMS_5109_01_mw(v_mw, false); // Check1 f_mtc_userCheckCallCannotBeEstablished(v_ueA); //Test Sequence Step 2 // postamble f_PO_user_home_deregistration(v_ueA); //unmap/disconnet component ports f_cf_user_down(v_ueA); f_cf_int_call_down(v_config); } //end testcase TC_IMS_CALL_0006 } No newline at end of file