From c341f58e750218effa5172e28d8ba84ddb2b2a52 Mon Sep 17 00:00:00 2001 From: Miguel Angel Reina Ortega <miguelangel.reinaortega@etsi.org> Date: Fri, 28 Jul 2017 09:24:30 +0200 Subject: [PATCH] SUB test cases renaming Signed-off-by: Miguel Angel Reina Ortega <miguelangel.reinaortega@etsi.org> --- OneM2M_Testcases.ttcn | 78 +++++++++++++++++++++---------------------- 1 file changed, 39 insertions(+), 39 deletions(-) diff --git a/OneM2M_Testcases.ttcn b/OneM2M_Testcases.ttcn index 7db538f..7dd0eca 100644 --- a/OneM2M_Testcases.ttcn +++ b/OneM2M_Testcases.ttcn @@ -7,7 +7,7 @@ * * @author oneM2M * @version $URL: https://oldforge.etsi.org/svn/oneM2M/trunk/ttcn/OneM2M_Testcases.ttcn $ - * $Id: OneM2M_Testcases.ttcn 331 2017-07-27 15:41:51Z reinaortega $ + * $Id: OneM2M_Testcases.ttcn 332 2017-07-28 07:24:06Z reinaortega $ * @desc Module containing test cases for oneM2M * */ @@ -13297,13 +13297,13 @@ module OneM2M_Testcases { }//end group g_CSE_SUB_CRE_005 - group g_CSE_SUB_DEL_008 { + group g_CSE_SUB_DEL_002 { /** * @desc Check that the IUT sends a Notify request to the subscriber resource when eventType attribute is set to "Delete_of_Resource" and an delete operation has been performed the subscribed-to resource * */ - testcase TC_CSE_SUB_DEL_008() runs on CseTester system CseSystem { + testcase TC_CSE_SUB_DEL_002() runs on CseTester system CseSystem { // Local variables var MsgIn v_response; var integer v_aeIndex := -1; @@ -13369,17 +13369,17 @@ module OneM2M_Testcases { //Tear down f_cf01Down(); - } // end TC_CSE_SUB_DEL_008 + } // end TC_CSE_SUB_DEL_002 - }//end group g_CSE_SUB_DEL_008 + }//end group g_CSE_SUB_DEL_002 - group g_CSE_SUB_DEL_009 { + group g_CSE_SUB_DEL_003 { /** * @desc Check that the IUT sends a Notify request to the subscriber resource when eventType attribute is set to "Delete_of_Direct_Child_Resource" and an delete operation has been performed on a child resource of the subscribed-to resource * */ - testcase TC_CSE_SUB_DEL_009() runs on CseTester system CseSystem { + testcase TC_CSE_SUB_DEL_003() runs on CseTester system CseSystem { // Local variables var MsgIn v_response; var integer v_aeIndex := -1; @@ -13444,17 +13444,17 @@ module OneM2M_Testcases { //Tear down f_cf01Down(); - } // end TC_CSE_SUB_DEL_009 + } // end TC_CSE_SUB_DEL_003 - }//end group g_CSE_SUB_DEL_009 + }//end group g_CSE_SUB_DEL_003 - group g_CSE_SUB_CRE_010 { + group g_CSE_SUB_CRE_004 { /** * @desc Check that the IUT stores Originator ID in the notification creator attribute when a <SUBSCRIPTION> creation request which needs verification is received and the notificationURI is not the Originator. * */ - testcase TC_CSE_SUB_CRE_010() runs on CseTester system CseSystem { + testcase TC_CSE_SUB_CRE_004() runs on CseTester system CseSystem { //Local variables var MsgIn v_response; var template RequestPrimitive v_request := m_createSubscriptionBase; @@ -13487,17 +13487,17 @@ module OneM2M_Testcases { // Tear down f_cf01Down(); - } // end TC_CSE_SUB_CRE_010 + } // end TC_CSE_SUB_CRE_004 - }//end group g_CSE_SUB_CRE_010 + }//end group g_CSE_SUB_CRE_004 - group g_CSE_SUB_UPD_011 { + group g_CSE_SUB_UPD_002 { /** * @desc Check that the IUT sends a Notify request to the subscriber resource when the notificationContentType attribute is set to “modified attributes†and an update operation has been performed on the subscribed-to resource * */ - testcase TC_CSE_SUB_UPD_011() runs on CseTester system CseSystem { + testcase TC_CSE_SUB_UPD_002() runs on CseTester system CseSystem { // Local variables var MsgIn v_response; var integer v_aeIndex := -1; @@ -13568,16 +13568,16 @@ module OneM2M_Testcases { //Tear down f_cf01Down(); - } // end TC_CSE_SUB_UPD_011 - }//end group g_CSE_SUB_UPD_011 + } // end TC_CSE_SUB_UPD_002 + }//end group g_CSE_SUB_UPD_002 - group g_CSE_SUB_UPD_012 { + group g_CSE_SUB_UPD_003 { /** * @desc Check that the IUT sends a Notify request to the subscriber resource when the notificationContentType attribute is set to “ResourceID†and an update operation has been performed on the subscribed-to resource * */ - testcase TC_CSE_SUB_UPD_012() runs on CseTester system CseSystem { + testcase TC_CSE_SUB_UPD_003() runs on CseTester system CseSystem { // Local variables var MsgIn v_response; var integer v_aeIndex := -1; @@ -13643,8 +13643,8 @@ module OneM2M_Testcases { //Tear down f_cf01Down(); - } // end TC_CSE_SUB_UPD_012 - }//end group g_CSE_SUB_UPD_012 + } // end TC_CSE_SUB_UPD_003 + }//end group g_CSE_SUB_UPD_003 group g_CSE_SUB_UPD_004 { @@ -13900,13 +13900,13 @@ module OneM2M_Testcases { }//end group g_CSE_SUB_UPD_009 - group g_CSE_SUB_UPD_016 { + group g_CSE_SUB_UPD_006 { /** * @desc Check that the IUT doesn’t send a Notify request to the subscriber resource when the “attribute†condition tag of eventNotificationCriteria attribute is set to LIST_OF_ATTRIBUTE and doesn’t contain the ATTRIBUTE_NAME attribute updated. * */ - testcase TC_CSE_SUB_UPD_016() runs on CseTester system CseSystem { + testcase TC_CSE_SUB_UPD_006() runs on CseTester system CseSystem { // Local variables var MsgIn v_response; var Labels v_labels_1:= {"VALUE_1"}; @@ -13944,7 +13944,7 @@ module OneM2M_Testcases { }; // Test Body - v_notifyHandler.start(f_CSE_SUB_UPD_016()); // check that no notification is received + v_notifyHandler.start(f_CSE_SUB_UPD_006()); // check that no notification is received mcaPort.send(m_request(v_request)); tc_ac.start; @@ -13974,9 +13974,9 @@ module OneM2M_Testcases { //Tear down f_cf01Down(); - } // end TC_CSE_SUB_UPD_016 + } // end TC_CSE_SUB_UPD_006 - function f_CSE_SUB_UPD_016() runs on CseTester { + function f_CSE_SUB_UPD_006() runs on CseTester { // Local variables var MsgIn v_response; @@ -13997,9 +13997,9 @@ module OneM2M_Testcases { unmap(self:mcaPort, system:mcaPort); unmap(self:acPort, system:acPort); - } //end f_CSE_SUB_UPD_016 + } //end f_CSE_SUB_UPD_006 - }//end group g_CSE_SUB_UPD_016 + }//end group g_CSE_SUB_UPD_006 group g_CSE_SUB_DEL_001{ @@ -14106,13 +14106,13 @@ module OneM2M_Testcases { }//end group g_CSE_SUB_DEL_001 - group g_CSE_SUB_UPD_018 { + group g_CSE_SUB_UPD_007 { /** * @desc Check that the IUT sends aggregated notification to the subscriber resource when the number value of the batchNotify attribute is set to GROUP_LIMIT and when this number have been reached * */ - testcase TC_CSE_SUB_UPD_018() runs on CseTester system CseSystem { + testcase TC_CSE_SUB_UPD_007() runs on CseTester system CseSystem { // Local variables const integer numberOfAggregatedNotification := 3; var MsgIn v_response; @@ -14151,7 +14151,7 @@ module OneM2M_Testcases { }; // Test Body - v_notifyHandler.start(f_CSE_SUB_UPD_018(v_contentResponse, numberOfAggregatedNotification)); // check that no notification is received + v_notifyHandler.start(f_CSE_SUB_UPD_007(v_contentResponse, numberOfAggregatedNotification)); // check that no notification is received v_updateRequest.primitiveContent.aE.labels := v_labels_1; v_request:= f_getUpdateRequestPrimitive(int2, v_aeIndex, v_updateRequest); // Update request 1 @@ -14173,9 +14173,9 @@ module OneM2M_Testcases { //Tear down f_cf01Down(); - } // end TC_CSE_SUB_UPD_018 + } // end TC_CSE_SUB_UPD_007 - function f_CSE_SUB_UPD_018(template PrimitiveContent p_primitiveContent,in integer p_numberOfAggregatedNotification) runs on CseTester { + function f_CSE_SUB_UPD_007(template PrimitiveContent p_primitiveContent,in integer p_numberOfAggregatedNotification) runs on CseTester { // Local variables var MsgIn v_response; @@ -14210,9 +14210,9 @@ module OneM2M_Testcases { unmap(self:mcaPort, system:mcaPort); unmap(self:acPort, system:acPort); - } //end f_CSE_SUB_UPD_018 + } //end f_CSE_SUB_UPD_007 - }//end group g_CSE_SUB_UPD_018 + }//end group g_CSE_SUB_UPD_007 group g_CSE_SUB_NTF_003 { @@ -14280,13 +14280,13 @@ module OneM2M_Testcases { }//end group g_CSE_SUB_NTF_003 - group g_CSE_SUB_UPD_020 { + group g_CSE_SUB_UPD_008 { /** * @desc Check that the IUT sends the latest notification to the subscriber resource when latestNotify is set to TRUE, the number value of the batchNotify attribute is set to GROUP_LIMIT and when this number have been reached * */ - testcase TC_CSE_SUB_UPD_020() runs on CseTester system CseSystem { + testcase TC_CSE_SUB_UPD_008() runs on CseTester system CseSystem { // Local variables const integer numberOfAggregatedNotification := 3; var MsgIn v_response; @@ -14351,9 +14351,9 @@ module OneM2M_Testcases { //Tear down f_cf01Down(); - } // end TC_CSE_SUB_UPD_020 + } // end TC_CSE_SUB_UPD_008 - }//end group g_CSE_SUB_UPD_020 + }//end group g_CSE_SUB_UPD_008 }//end group Subscription_And_Notification -- GitLab