Loading AtsImsIot/AtsImsIot_Behavior.ttcn +58 −1 Original line number Diff line number Diff line Loading @@ -3411,9 +3411,66 @@ group checksTC_IMS_SS_0010 { p_monitorCompRef.done; } /*functions already used in test checksTC_IMS_SS_0003 * f_mtc_check_TP_IMS_5115_08_isc * f_mtc_check_TP_IMS_5115_08_ic * */ }//end group checksTC_IMS_PRES_0001 group checksTC_IMS_PRES_0002 { /*functions already used in test checksTC_IMS_PRES_0001 * f_mtc_check_TP_IMS_5108_07_gm * f_mtc_check_TP_IMS_5108_07_isc * f_mtc_check_TP_IMS_5115_08_isc * f_mtc_check_TP_IMS_5115_08_ic * */ }//end group checksTC_IMS_PRES_0002 group checksTC_IMS_PRES_0003 { /*functions already used in test checksTC_IMS_PRES_0001 * f_mtc_check_TP_IMS_5115_08_isc * f_mtc_check_TP_IMS_5115_08_ic * */ }//end group checksTC_IMS_PRES_0003 group checksTC_IMS_PRES_0004 { /*functions already used in test checksTC_IMS_PRES_0001 * f_mtc_check_TP_IMS_5097_13_isc * f_mtc_check_TP_IMS_5097_13_ic * f_mtc_check_TP_IMS_5108_07_gm * f_mtc_check_TP_IMS_5108_07_isc * and checksTC_IMS_SS_0005 * f_mtc_check_TP_IMS_5313_01_ic * f_mtc_check_TP_IMS_5313_01_isc * */ }//end group checksTC_IMS_PRES_0004 group checksTC_IMS_PRES_0005 { /*functions already used in test checksTC_IMS_PRES_0001 * f_mtc_check_TP_IMS_5108_07_gm * f_mtc_check_TP_IMS_5108_07_isc * and checksTC_IMS_SS_0005 * f_mtc_check_TP_IMS_5313_01_ic * f_mtc_check_TP_IMS_5313_01_isc * */ }//end group checksTC_IMS_PRES_0005 group messagingChecks { /** * @desc Starts monitor component behavior for TP_IMS_5097_05 Loading AtsImsIot/AtsImsIot_Functions.ttcn +120 −0 Original line number Diff line number Diff line Loading @@ -658,6 +658,126 @@ module AtsImsIot_Functions { return v_success; } /** * @desc Trigger UE given by p_ueRef to publishes presence information * @param p_userCompRef Reference to IMS UE user component * @return * true in case of successfull execution of the trigger command * otherwise false */ function f_mtc_userPublishPresence(EquipmentUser p_userCompRef) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO return v_status; } /** * @desc Trigger UE given by p_ueRef to Verify that user is informed * of its presence status update * @param p_userCompRef Reference to IMS UE user component * @return * true in case of successfull execution of the trigger command * otherwise false */ function f_mtc_userCheckPresenceStatus(EquipmentUser p_userCompRef) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO return v_status; } /** * @desc Trigger UE given by p_ueRef to Verify that user is informed * of peer user presence information * @param p_userCompRef Reference to IMS UE user component * @return * true in case of successfull execution of the trigger command * otherwise false */ function f_mtc_userCheckPresenceInformation(EquipmentUser p_userCompRef) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO return v_status; } /** * @desc Trigger UE given by p_ueRef to Verify that user is not informed * of peer user presence information * @param p_userCompRef Reference to IMS UE user component * @return * true in case of successfull execution of the trigger command * otherwise false */ function f_mtc_userCheckNoPresenceInformation(EquipmentUser p_userCompRef) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO return v_status; } /** * @desc Trigger UE given by p_ueRef to subscribes presence * information from peer user * @param p_userCompRef Reference to IMS UE user component * @return * true in case of successfull execution of the trigger command * otherwise false */ function f_mtc_userSubscribeToPresenceInformation(EquipmentUser p_userCompRef) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO return v_status; } /** * @desc Trigger UE given by p_ueRef to subscribes to resource list * userPRES_list containing peer user SIP URI * @param p_userCompRef Reference to IMS UE user component * @return * true in case of successfull execution of the trigger command * otherwise false */ function f_mtc_userSubscribeToPresenceResourceList(EquipmentUser p_userCompRef) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO return v_status; } /** * @desc Trigger UE given by p_ueRef to verify that originating user * receives an authorization request from peer user to see * its own presence information * @param p_userCompRef Reference to IMS UE user component * @return * true in case of successfull execution of the trigger command * otherwise false */ function f_mtc_userCheckPresenceAuthorizationRequest(EquipmentUser p_userCompRef) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO return v_status; } /** * @desc Trigger UE given by p_ueRef to authorizes peer user to be * informed of its own presence information * @param p_userCompRef Reference to IMS UE user component * @return * true in case of successfull execution of the trigger command * otherwise false */ function f_mtc_userAuthorizationToPeer(EquipmentUser p_userCompRef) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO return v_status; } /** * @desc Trigger IMS Network to deregister UE given by p_ueRef Loading AtsImsIot/AtsImsIot_TestCases_RCS.ttcn +239 −8 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ module AtsImsIot_TestCases_RCS { * @desc IMS network supports properly presence service when a watcher * subscribes to presence information for a presentity that it’s * located in a different network. * @see TS 102 901-2 V0.0.1 clause 4.5.1 * @see TS 102 901-2 V0.0.1 clause 4.5.1.1 */ testcase TC_IMS_PRES_0001() runs on ImsTestCoordinator system IotSystemInterface { // create components Loading @@ -66,15 +66,15 @@ module AtsImsIot_TestCases_RCS { // test body f_mtc_StartAllTrafficCapture(); //f_mtc_userPublishPresence (v_ueB);//Test Sequence Step 1 f_mtc_userPublishPresence(v_ueB);//Test Sequence Step 1 //check 1 - PUBLISH f_mtc_check_TP_IMS_5097_13_ic(v_ic, false); // Check1 f_mtc_check_TP_IMS_5097_13_isc(v_iscB, false); // Check1 //f_mtc_userCheckPresence(v_ueB);//Test Sequence Step 2 f_mtc_userCheckPresenceStatus(v_ueB);//Test Sequence Step 2 //f_mtc_userSubscribeToPresenceInformation(v_ueA);//Test Sequence Step 3 f_mtc_userSubscribeToPresenceInformation(v_ueA);//Test Sequence Step 3 //check 2 - SUBSCRIBE f_mtc_check_TP_IMS_5108_07_gm(v_gmA, false); // Check2 Loading @@ -84,9 +84,9 @@ module AtsImsIot_TestCases_RCS { f_mtc_check_TP_IMS_5115_08_isc(v_iscB, false); // Check3 f_mtc_check_TP_IMS_5115_08_ic(v_ic, false, 0); // Check3 //f_mtc_userCheckPresenceAuthorizationRequest(v_ueB);//Test Sequence Step 4 //f_mtc_userAuthorization(v_ueB);//Test Sequence Step 5 //f_mtc_userCheckPresence(v_ueA);//Test Sequence Step 6 f_mtc_userCheckPresenceAuthorizationRequest(v_ueB);//Test Sequence Step 4 f_mtc_userAuthorizationToPeer(v_ueB);//Test Sequence Step 5 f_mtc_userCheckPresenceInformation(v_ueA);//Test Sequence Step 6 // postamble f_PO_user_home_deregistration(v_ueA); Loading @@ -99,5 +99,236 @@ module AtsImsIot_TestCases_RCS { f_cf_adapter_down(); } //end testcase TC_IMS_PRES_0001 /** * @desc IMS network supports properly presence service when a watcher subscribes * to presence information for a presentity that it’s located in a different * network. * @see TS 102 901-2 V0.0.1 clause 4.5.1.2 */ testcase TC_IMS_PRES_0002() runs on ImsTestCoordinator system IotSystemInterface { // create components var IotEquipmentUser v_ueA := f_cf_create_IotEquipmentUser(c_userUE_A); var IotEquipmentUser v_ueB := f_cf_create_IotEquipmentUser(c_userUE_B); var ImsInterfaceMonitor v_gmA := f_cf_create_monitor(c_gm_A); var ImsInterfaceMonitor v_gmB := f_cf_create_monitor(c_gm_B); var ImsInterfaceMonitor v_ic := f_cf_create_monitor(c_ic); var ImsInterfaceMonitor v_iscB := f_cf_create_monitor(c_isc_B); var ImsUserInfo v_userInfoA := f_getPresUser(PX_EUT_A); var ImsUserInfo v_userInfoB := f_getPresUser(PX_EUT_B); var CF_INT_AS v_config := {v_gmA, v_ic, v_gmB, omit, v_iscB}; // map/connect component ports f_cf_adapter_up(); f_cf_user_up(v_ueA); f_cf_user_up(v_ueB); f_cf_int_as_up(v_config); // preamble f_mtc_userRegistration(v_ueA, v_userInfoA); f_mtc_userRegistration(v_ueB, v_userInfoB); // test body f_mtc_StartAllTrafficCapture(); f_mtc_userPublishPresence(v_ueB);//Test Sequence Step 1 f_mtc_userCheckPresenceStatus(v_ueB);//Test Sequence Step 2 f_mtc_userSubscribeToPresenceInformation(v_ueA);//Test Sequence Step 3 //check 1 - SUBSCRIBE f_mtc_check_TP_IMS_5108_07_gm(v_gmA, false); // Check1 f_mtc_check_TP_IMS_5108_07_isc(v_iscB,false); // Check1 //check 2 - 200 OK f_mtc_check_TP_IMS_5115_08_isc(v_iscB, false); // Check2 f_mtc_check_TP_IMS_5115_08_ic(v_ic, false, 0); // Check2 f_mtc_userCheckPresenceAuthorizationRequest(v_ueB);//Test Sequence Step 4 f_mtc_userAuthorizationToPeer(v_ueB);//Test Sequence Step 5 f_mtc_userCheckPresenceInformation(v_ueA);//Test Sequence Step 6 // postamble f_PO_user_home_deregistration(v_ueA); f_PO_user_home_deregistration(v_ueB); //unmap/disconnet component ports f_cf_user_down(v_ueA); f_cf_user_down(v_ueB); f_cf_int_as_down(v_config); f_cf_adapter_down(); } //end testcase TC_IMS_PRES_0002 /** * @desc IMS network supports properly presence service when a watcher subscribes * to presence information for a presentity that it’s located in a different * network and does not authorize the watcher to be informed of his presence * information. * @see TS 102 901-2 V0.0.1 clause 4.5.1.3 */ testcase TC_IMS_PRES_0003() runs on ImsTestCoordinator system IotSystemInterface { // create components var IotEquipmentUser v_ueA := f_cf_create_IotEquipmentUser(c_userUE_A); var IotEquipmentUser v_ueB := f_cf_create_IotEquipmentUser(c_userUE_B); var ImsInterfaceMonitor v_gmA := f_cf_create_monitor(c_gm_A); var ImsInterfaceMonitor v_gmB := f_cf_create_monitor(c_gm_B); var ImsInterfaceMonitor v_ic := f_cf_create_monitor(c_ic); var ImsInterfaceMonitor v_iscB := f_cf_create_monitor(c_isc_B); var ImsUserInfo v_userInfoA := f_getPresUser(PX_EUT_A); var ImsUserInfo v_userInfoB := f_getPresUser(PX_EUT_B); var CF_INT_AS v_config := {v_gmA, v_ic, v_gmB, omit, v_iscB}; // map/connect component ports f_cf_adapter_up(); f_cf_user_up(v_ueA); f_cf_user_up(v_ueB); f_cf_int_as_up(v_config); // preamble f_mtc_userRegistration(v_ueA, v_userInfoA); f_mtc_userRegistration(v_ueB, v_userInfoB); // test body f_mtc_StartAllTrafficCapture(); f_mtc_userSubscribeToPresenceInformation(v_ueA);//Test Sequence Step 1 //check 1 - SUBSCRIBE f_mtc_check_TP_IMS_5108_07_gm(v_gmA, false); // Check1 f_mtc_check_TP_IMS_5108_07_isc(v_iscB,false); // Check1 f_mtc_userCheckNoPresenceInformation(v_ueA);//Test Sequence Step 2 // postamble f_PO_user_home_deregistration(v_ueA); f_PO_user_home_deregistration(v_ueB); //unmap/disconnet component ports f_cf_user_down(v_ueA); f_cf_user_down(v_ueB); f_cf_int_as_down(v_config); f_cf_adapter_down(); } //end testcase TC_IMS_PRES_0003 /** * @desc IMS network supports properly presence service when a watcher subscribes * to a resource list containing one or more presentities located in * different networks. * @see TS 102 901-2 V0.0.1 clause 4.5.1.4 */ testcase TC_IMS_PRES_0004() runs on ImsTestCoordinator system IotSystemInterface { // create components var IotEquipmentUser v_ueA := f_cf_create_IotEquipmentUser(c_userUE_A); var IotEquipmentUser v_ueB := f_cf_create_IotEquipmentUser(c_userUE_B); var ImsInterfaceMonitor v_gmA := f_cf_create_monitor(c_gm_A); var ImsInterfaceMonitor v_gmB := f_cf_create_monitor(c_gm_B); var ImsInterfaceMonitor v_ic := f_cf_create_monitor(c_ic); var ImsInterfaceMonitor v_iscB := f_cf_create_monitor(c_isc_B); var ImsUserInfo v_userInfoA := f_getPresUser(PX_EUT_A); var ImsUserInfo v_userInfoB := f_getPresUser(PX_EUT_B); var CF_ROAM_AS v_config := {v_gmA, v_ic, v_gmB, omit, v_iscB}; // map/connect component ports f_cf_adapter_up(); f_cf_user_up(v_ueA); f_cf_user_up(v_ueB); f_cf_roam_as_up(v_config); // preamble f_mtc_userRegistration(v_ueA, v_userInfoA); f_mtc_userRegistration(v_ueB, v_userInfoB); // test body f_mtc_StartAllTrafficCapture(); f_mtc_userPublishPresence(v_ueB);//Test Sequence Step 1 //check 1 - PUBLISH f_mtc_check_TP_IMS_5097_13_ic(v_ic, false); // Check1 f_mtc_check_TP_IMS_5097_13_isc(v_iscB, false); // Check1 f_mtc_userCheckPresenceStatus(v_ueB);//Test Sequence Step 2 f_mtc_userSubscribeToPresenceResourceList(v_ueA);//Test Sequence Step 3 //check 2 - SUBSCRIBE f_mtc_check_TP_IMS_5108_07_gm(v_gmA, false); // Check2 f_mtc_check_TP_IMS_5108_07_isc(v_iscB,false); // Check2 //check 3 - 200 OK f_mtc_check_TP_IMS_5313_01_isc(v_iscB, false); // Check3 f_mtc_check_TP_IMS_5313_01_ic(v_ic, false); // Check3 f_mtc_userCheckPresenceInformation(v_ueA);//Test Sequence Step 4 // postamble f_PO_user_home_deregistration(v_ueA); f_PO_user_home_deregistration(v_ueB); //unmap/disconnet component ports f_cf_user_down(v_ueA); f_cf_user_down(v_ueB); f_cf_roam_as_down(v_config); f_cf_adapter_down(); } //end testcase TC_IMS_PRES_0004 /** * @desc IMS network supports properly presence service when a watcher subscribes * to a resource list containing one or more presentities located in * different networks. * @see TS 102 901-2 V0.0.1 clause 4.5.1.5 */ testcase TC_IMS_PRES_0005() runs on ImsTestCoordinator system IotSystemInterface { // create components var IotEquipmentUser v_ueA := f_cf_create_IotEquipmentUser(c_userUE_A); var IotEquipmentUser v_ueB := f_cf_create_IotEquipmentUser(c_userUE_B); var ImsInterfaceMonitor v_gmA := f_cf_create_monitor(c_gm_A); var ImsInterfaceMonitor v_gmB := f_cf_create_monitor(c_gm_B); var ImsInterfaceMonitor v_ic := f_cf_create_monitor(c_ic); var ImsInterfaceMonitor v_iscB := f_cf_create_monitor(c_isc_B); var ImsUserInfo v_userInfoA := f_getPresUser(PX_EUT_A); var ImsUserInfo v_userInfoB := f_getPresUser(PX_EUT_B); var CF_INT_AS v_config := {v_gmA, v_ic, v_gmB, omit, v_iscB}; // map/connect component ports f_cf_adapter_up(); f_cf_user_up(v_ueA); f_cf_user_up(v_ueB); f_cf_int_as_up(v_config); // preamble f_mtc_userRegistration(v_ueA, v_userInfoA); f_mtc_userRegistration(v_ueB, v_userInfoB); // test body f_mtc_StartAllTrafficCapture(); f_mtc_userPublishPresence(v_ueB);//Test Sequence Step 1 f_mtc_userCheckPresenceStatus(v_ueB);//Test Sequence Step 2 f_mtc_userSubscribeToPresenceResourceList(v_ueA);//Test Sequence Step 3 //check 1 - SUBSCRIBE f_mtc_check_TP_IMS_5108_07_gm(v_gmA, false); // Check1 f_mtc_check_TP_IMS_5108_07_isc(v_iscB,false); // Check1 //check 2 - 200 OK f_mtc_check_TP_IMS_5313_01_isc(v_iscB, false); // Check2 f_mtc_check_TP_IMS_5313_01_ic(v_ic, false); // Check2 f_mtc_userCheckPresenceInformation(v_ueA);//Test Sequence Step 4 // postamble f_PO_user_home_deregistration(v_ueA); f_PO_user_home_deregistration(v_ueB); //unmap/disconnet component ports f_cf_user_down(v_ueA); f_cf_user_down(v_ueB); f_cf_int_as_down(v_config); f_cf_adapter_down(); } //end testcase TC_IMS_PRES_0005 }//end module AtsImsIot_TestCases_RCS No newline at end of file Loading
AtsImsIot/AtsImsIot_Behavior.ttcn +58 −1 Original line number Diff line number Diff line Loading @@ -3411,9 +3411,66 @@ group checksTC_IMS_SS_0010 { p_monitorCompRef.done; } /*functions already used in test checksTC_IMS_SS_0003 * f_mtc_check_TP_IMS_5115_08_isc * f_mtc_check_TP_IMS_5115_08_ic * */ }//end group checksTC_IMS_PRES_0001 group checksTC_IMS_PRES_0002 { /*functions already used in test checksTC_IMS_PRES_0001 * f_mtc_check_TP_IMS_5108_07_gm * f_mtc_check_TP_IMS_5108_07_isc * f_mtc_check_TP_IMS_5115_08_isc * f_mtc_check_TP_IMS_5115_08_ic * */ }//end group checksTC_IMS_PRES_0002 group checksTC_IMS_PRES_0003 { /*functions already used in test checksTC_IMS_PRES_0001 * f_mtc_check_TP_IMS_5115_08_isc * f_mtc_check_TP_IMS_5115_08_ic * */ }//end group checksTC_IMS_PRES_0003 group checksTC_IMS_PRES_0004 { /*functions already used in test checksTC_IMS_PRES_0001 * f_mtc_check_TP_IMS_5097_13_isc * f_mtc_check_TP_IMS_5097_13_ic * f_mtc_check_TP_IMS_5108_07_gm * f_mtc_check_TP_IMS_5108_07_isc * and checksTC_IMS_SS_0005 * f_mtc_check_TP_IMS_5313_01_ic * f_mtc_check_TP_IMS_5313_01_isc * */ }//end group checksTC_IMS_PRES_0004 group checksTC_IMS_PRES_0005 { /*functions already used in test checksTC_IMS_PRES_0001 * f_mtc_check_TP_IMS_5108_07_gm * f_mtc_check_TP_IMS_5108_07_isc * and checksTC_IMS_SS_0005 * f_mtc_check_TP_IMS_5313_01_ic * f_mtc_check_TP_IMS_5313_01_isc * */ }//end group checksTC_IMS_PRES_0005 group messagingChecks { /** * @desc Starts monitor component behavior for TP_IMS_5097_05 Loading
AtsImsIot/AtsImsIot_Functions.ttcn +120 −0 Original line number Diff line number Diff line Loading @@ -658,6 +658,126 @@ module AtsImsIot_Functions { return v_success; } /** * @desc Trigger UE given by p_ueRef to publishes presence information * @param p_userCompRef Reference to IMS UE user component * @return * true in case of successfull execution of the trigger command * otherwise false */ function f_mtc_userPublishPresence(EquipmentUser p_userCompRef) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO return v_status; } /** * @desc Trigger UE given by p_ueRef to Verify that user is informed * of its presence status update * @param p_userCompRef Reference to IMS UE user component * @return * true in case of successfull execution of the trigger command * otherwise false */ function f_mtc_userCheckPresenceStatus(EquipmentUser p_userCompRef) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO return v_status; } /** * @desc Trigger UE given by p_ueRef to Verify that user is informed * of peer user presence information * @param p_userCompRef Reference to IMS UE user component * @return * true in case of successfull execution of the trigger command * otherwise false */ function f_mtc_userCheckPresenceInformation(EquipmentUser p_userCompRef) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO return v_status; } /** * @desc Trigger UE given by p_ueRef to Verify that user is not informed * of peer user presence information * @param p_userCompRef Reference to IMS UE user component * @return * true in case of successfull execution of the trigger command * otherwise false */ function f_mtc_userCheckNoPresenceInformation(EquipmentUser p_userCompRef) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO return v_status; } /** * @desc Trigger UE given by p_ueRef to subscribes presence * information from peer user * @param p_userCompRef Reference to IMS UE user component * @return * true in case of successfull execution of the trigger command * otherwise false */ function f_mtc_userSubscribeToPresenceInformation(EquipmentUser p_userCompRef) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO return v_status; } /** * @desc Trigger UE given by p_ueRef to subscribes to resource list * userPRES_list containing peer user SIP URI * @param p_userCompRef Reference to IMS UE user component * @return * true in case of successfull execution of the trigger command * otherwise false */ function f_mtc_userSubscribeToPresenceResourceList(EquipmentUser p_userCompRef) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO return v_status; } /** * @desc Trigger UE given by p_ueRef to verify that originating user * receives an authorization request from peer user to see * its own presence information * @param p_userCompRef Reference to IMS UE user component * @return * true in case of successfull execution of the trigger command * otherwise false */ function f_mtc_userCheckPresenceAuthorizationRequest(EquipmentUser p_userCompRef) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO return v_status; } /** * @desc Trigger UE given by p_ueRef to authorizes peer user to be * informed of its own presence information * @param p_userCompRef Reference to IMS UE user component * @return * true in case of successfull execution of the trigger command * otherwise false */ function f_mtc_userAuthorizationToPeer(EquipmentUser p_userCompRef) runs on TestCoordinator return boolean { var boolean v_status := true; // TODO return v_status; } /** * @desc Trigger IMS Network to deregister UE given by p_ueRef Loading
AtsImsIot/AtsImsIot_TestCases_RCS.ttcn +239 −8 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ module AtsImsIot_TestCases_RCS { * @desc IMS network supports properly presence service when a watcher * subscribes to presence information for a presentity that it’s * located in a different network. * @see TS 102 901-2 V0.0.1 clause 4.5.1 * @see TS 102 901-2 V0.0.1 clause 4.5.1.1 */ testcase TC_IMS_PRES_0001() runs on ImsTestCoordinator system IotSystemInterface { // create components Loading @@ -66,15 +66,15 @@ module AtsImsIot_TestCases_RCS { // test body f_mtc_StartAllTrafficCapture(); //f_mtc_userPublishPresence (v_ueB);//Test Sequence Step 1 f_mtc_userPublishPresence(v_ueB);//Test Sequence Step 1 //check 1 - PUBLISH f_mtc_check_TP_IMS_5097_13_ic(v_ic, false); // Check1 f_mtc_check_TP_IMS_5097_13_isc(v_iscB, false); // Check1 //f_mtc_userCheckPresence(v_ueB);//Test Sequence Step 2 f_mtc_userCheckPresenceStatus(v_ueB);//Test Sequence Step 2 //f_mtc_userSubscribeToPresenceInformation(v_ueA);//Test Sequence Step 3 f_mtc_userSubscribeToPresenceInformation(v_ueA);//Test Sequence Step 3 //check 2 - SUBSCRIBE f_mtc_check_TP_IMS_5108_07_gm(v_gmA, false); // Check2 Loading @@ -84,9 +84,9 @@ module AtsImsIot_TestCases_RCS { f_mtc_check_TP_IMS_5115_08_isc(v_iscB, false); // Check3 f_mtc_check_TP_IMS_5115_08_ic(v_ic, false, 0); // Check3 //f_mtc_userCheckPresenceAuthorizationRequest(v_ueB);//Test Sequence Step 4 //f_mtc_userAuthorization(v_ueB);//Test Sequence Step 5 //f_mtc_userCheckPresence(v_ueA);//Test Sequence Step 6 f_mtc_userCheckPresenceAuthorizationRequest(v_ueB);//Test Sequence Step 4 f_mtc_userAuthorizationToPeer(v_ueB);//Test Sequence Step 5 f_mtc_userCheckPresenceInformation(v_ueA);//Test Sequence Step 6 // postamble f_PO_user_home_deregistration(v_ueA); Loading @@ -99,5 +99,236 @@ module AtsImsIot_TestCases_RCS { f_cf_adapter_down(); } //end testcase TC_IMS_PRES_0001 /** * @desc IMS network supports properly presence service when a watcher subscribes * to presence information for a presentity that it’s located in a different * network. * @see TS 102 901-2 V0.0.1 clause 4.5.1.2 */ testcase TC_IMS_PRES_0002() runs on ImsTestCoordinator system IotSystemInterface { // create components var IotEquipmentUser v_ueA := f_cf_create_IotEquipmentUser(c_userUE_A); var IotEquipmentUser v_ueB := f_cf_create_IotEquipmentUser(c_userUE_B); var ImsInterfaceMonitor v_gmA := f_cf_create_monitor(c_gm_A); var ImsInterfaceMonitor v_gmB := f_cf_create_monitor(c_gm_B); var ImsInterfaceMonitor v_ic := f_cf_create_monitor(c_ic); var ImsInterfaceMonitor v_iscB := f_cf_create_monitor(c_isc_B); var ImsUserInfo v_userInfoA := f_getPresUser(PX_EUT_A); var ImsUserInfo v_userInfoB := f_getPresUser(PX_EUT_B); var CF_INT_AS v_config := {v_gmA, v_ic, v_gmB, omit, v_iscB}; // map/connect component ports f_cf_adapter_up(); f_cf_user_up(v_ueA); f_cf_user_up(v_ueB); f_cf_int_as_up(v_config); // preamble f_mtc_userRegistration(v_ueA, v_userInfoA); f_mtc_userRegistration(v_ueB, v_userInfoB); // test body f_mtc_StartAllTrafficCapture(); f_mtc_userPublishPresence(v_ueB);//Test Sequence Step 1 f_mtc_userCheckPresenceStatus(v_ueB);//Test Sequence Step 2 f_mtc_userSubscribeToPresenceInformation(v_ueA);//Test Sequence Step 3 //check 1 - SUBSCRIBE f_mtc_check_TP_IMS_5108_07_gm(v_gmA, false); // Check1 f_mtc_check_TP_IMS_5108_07_isc(v_iscB,false); // Check1 //check 2 - 200 OK f_mtc_check_TP_IMS_5115_08_isc(v_iscB, false); // Check2 f_mtc_check_TP_IMS_5115_08_ic(v_ic, false, 0); // Check2 f_mtc_userCheckPresenceAuthorizationRequest(v_ueB);//Test Sequence Step 4 f_mtc_userAuthorizationToPeer(v_ueB);//Test Sequence Step 5 f_mtc_userCheckPresenceInformation(v_ueA);//Test Sequence Step 6 // postamble f_PO_user_home_deregistration(v_ueA); f_PO_user_home_deregistration(v_ueB); //unmap/disconnet component ports f_cf_user_down(v_ueA); f_cf_user_down(v_ueB); f_cf_int_as_down(v_config); f_cf_adapter_down(); } //end testcase TC_IMS_PRES_0002 /** * @desc IMS network supports properly presence service when a watcher subscribes * to presence information for a presentity that it’s located in a different * network and does not authorize the watcher to be informed of his presence * information. * @see TS 102 901-2 V0.0.1 clause 4.5.1.3 */ testcase TC_IMS_PRES_0003() runs on ImsTestCoordinator system IotSystemInterface { // create components var IotEquipmentUser v_ueA := f_cf_create_IotEquipmentUser(c_userUE_A); var IotEquipmentUser v_ueB := f_cf_create_IotEquipmentUser(c_userUE_B); var ImsInterfaceMonitor v_gmA := f_cf_create_monitor(c_gm_A); var ImsInterfaceMonitor v_gmB := f_cf_create_monitor(c_gm_B); var ImsInterfaceMonitor v_ic := f_cf_create_monitor(c_ic); var ImsInterfaceMonitor v_iscB := f_cf_create_monitor(c_isc_B); var ImsUserInfo v_userInfoA := f_getPresUser(PX_EUT_A); var ImsUserInfo v_userInfoB := f_getPresUser(PX_EUT_B); var CF_INT_AS v_config := {v_gmA, v_ic, v_gmB, omit, v_iscB}; // map/connect component ports f_cf_adapter_up(); f_cf_user_up(v_ueA); f_cf_user_up(v_ueB); f_cf_int_as_up(v_config); // preamble f_mtc_userRegistration(v_ueA, v_userInfoA); f_mtc_userRegistration(v_ueB, v_userInfoB); // test body f_mtc_StartAllTrafficCapture(); f_mtc_userSubscribeToPresenceInformation(v_ueA);//Test Sequence Step 1 //check 1 - SUBSCRIBE f_mtc_check_TP_IMS_5108_07_gm(v_gmA, false); // Check1 f_mtc_check_TP_IMS_5108_07_isc(v_iscB,false); // Check1 f_mtc_userCheckNoPresenceInformation(v_ueA);//Test Sequence Step 2 // postamble f_PO_user_home_deregistration(v_ueA); f_PO_user_home_deregistration(v_ueB); //unmap/disconnet component ports f_cf_user_down(v_ueA); f_cf_user_down(v_ueB); f_cf_int_as_down(v_config); f_cf_adapter_down(); } //end testcase TC_IMS_PRES_0003 /** * @desc IMS network supports properly presence service when a watcher subscribes * to a resource list containing one or more presentities located in * different networks. * @see TS 102 901-2 V0.0.1 clause 4.5.1.4 */ testcase TC_IMS_PRES_0004() runs on ImsTestCoordinator system IotSystemInterface { // create components var IotEquipmentUser v_ueA := f_cf_create_IotEquipmentUser(c_userUE_A); var IotEquipmentUser v_ueB := f_cf_create_IotEquipmentUser(c_userUE_B); var ImsInterfaceMonitor v_gmA := f_cf_create_monitor(c_gm_A); var ImsInterfaceMonitor v_gmB := f_cf_create_monitor(c_gm_B); var ImsInterfaceMonitor v_ic := f_cf_create_monitor(c_ic); var ImsInterfaceMonitor v_iscB := f_cf_create_monitor(c_isc_B); var ImsUserInfo v_userInfoA := f_getPresUser(PX_EUT_A); var ImsUserInfo v_userInfoB := f_getPresUser(PX_EUT_B); var CF_ROAM_AS v_config := {v_gmA, v_ic, v_gmB, omit, v_iscB}; // map/connect component ports f_cf_adapter_up(); f_cf_user_up(v_ueA); f_cf_user_up(v_ueB); f_cf_roam_as_up(v_config); // preamble f_mtc_userRegistration(v_ueA, v_userInfoA); f_mtc_userRegistration(v_ueB, v_userInfoB); // test body f_mtc_StartAllTrafficCapture(); f_mtc_userPublishPresence(v_ueB);//Test Sequence Step 1 //check 1 - PUBLISH f_mtc_check_TP_IMS_5097_13_ic(v_ic, false); // Check1 f_mtc_check_TP_IMS_5097_13_isc(v_iscB, false); // Check1 f_mtc_userCheckPresenceStatus(v_ueB);//Test Sequence Step 2 f_mtc_userSubscribeToPresenceResourceList(v_ueA);//Test Sequence Step 3 //check 2 - SUBSCRIBE f_mtc_check_TP_IMS_5108_07_gm(v_gmA, false); // Check2 f_mtc_check_TP_IMS_5108_07_isc(v_iscB,false); // Check2 //check 3 - 200 OK f_mtc_check_TP_IMS_5313_01_isc(v_iscB, false); // Check3 f_mtc_check_TP_IMS_5313_01_ic(v_ic, false); // Check3 f_mtc_userCheckPresenceInformation(v_ueA);//Test Sequence Step 4 // postamble f_PO_user_home_deregistration(v_ueA); f_PO_user_home_deregistration(v_ueB); //unmap/disconnet component ports f_cf_user_down(v_ueA); f_cf_user_down(v_ueB); f_cf_roam_as_down(v_config); f_cf_adapter_down(); } //end testcase TC_IMS_PRES_0004 /** * @desc IMS network supports properly presence service when a watcher subscribes * to a resource list containing one or more presentities located in * different networks. * @see TS 102 901-2 V0.0.1 clause 4.5.1.5 */ testcase TC_IMS_PRES_0005() runs on ImsTestCoordinator system IotSystemInterface { // create components var IotEquipmentUser v_ueA := f_cf_create_IotEquipmentUser(c_userUE_A); var IotEquipmentUser v_ueB := f_cf_create_IotEquipmentUser(c_userUE_B); var ImsInterfaceMonitor v_gmA := f_cf_create_monitor(c_gm_A); var ImsInterfaceMonitor v_gmB := f_cf_create_monitor(c_gm_B); var ImsInterfaceMonitor v_ic := f_cf_create_monitor(c_ic); var ImsInterfaceMonitor v_iscB := f_cf_create_monitor(c_isc_B); var ImsUserInfo v_userInfoA := f_getPresUser(PX_EUT_A); var ImsUserInfo v_userInfoB := f_getPresUser(PX_EUT_B); var CF_INT_AS v_config := {v_gmA, v_ic, v_gmB, omit, v_iscB}; // map/connect component ports f_cf_adapter_up(); f_cf_user_up(v_ueA); f_cf_user_up(v_ueB); f_cf_int_as_up(v_config); // preamble f_mtc_userRegistration(v_ueA, v_userInfoA); f_mtc_userRegistration(v_ueB, v_userInfoB); // test body f_mtc_StartAllTrafficCapture(); f_mtc_userPublishPresence(v_ueB);//Test Sequence Step 1 f_mtc_userCheckPresenceStatus(v_ueB);//Test Sequence Step 2 f_mtc_userSubscribeToPresenceResourceList(v_ueA);//Test Sequence Step 3 //check 1 - SUBSCRIBE f_mtc_check_TP_IMS_5108_07_gm(v_gmA, false); // Check1 f_mtc_check_TP_IMS_5108_07_isc(v_iscB,false); // Check1 //check 2 - 200 OK f_mtc_check_TP_IMS_5313_01_isc(v_iscB, false); // Check2 f_mtc_check_TP_IMS_5313_01_ic(v_ic, false); // Check2 f_mtc_userCheckPresenceInformation(v_ueA);//Test Sequence Step 4 // postamble f_PO_user_home_deregistration(v_ueA); f_PO_user_home_deregistration(v_ueB); //unmap/disconnet component ports f_cf_user_down(v_ueA); f_cf_user_down(v_ueB); f_cf_int_as_down(v_config); f_cf_adapter_down(); } //end testcase TC_IMS_PRES_0005 }//end module AtsImsIot_TestCases_RCS No newline at end of file