[ITC][notification][Non-ACR][update TC as per changed behaviour of noti_ex_item_find_... 28/219728/2
authormanu.tiwari <manu.tiwari@samsung.com>
Mon, 9 Dec 2019 11:16:15 +0000 (16:46 +0530)
committerABHISHEK JAIN <j.abhishek@samsung.com>
Tue, 10 Dec 2019 05:05:06 +0000 (05:05 +0000)
Change-Id: I525760c8fccf3f606d25303b96974592cc9e6383
Signed-off-by: manu.tiwari <manu.tiwari@samsung.com>
src/itc/notification/ITs-notification-ex.c

index a1d82d52539fe9e5f7ba7151e526ba3f8f1a891e..2b25d01e7b67db25041cb4c6e7906e59429baa8d 100755 (executable)
@@ -6156,6 +6156,9 @@ int ITc_noti_ex_item_find_by_main_type_p(void)
        nRet = noti_ex_item_group_add_child(hItemGroup, hItemText);
        PRINT_RESULT_CLEANUP(NOTI_EX_ERROR_NONE, nRet, "noti_ex_item_group_add_child", NotificationExGetError(nRet), noti_ex_item_destroy(hItemGroup); noti_ex_item_destroy(hItemText));
 
+       nRet = noti_ex_item_set_main_type(hItemText, pszTextID, nMainType);
+       PRINT_RESULT_CLEANUP(NOTI_EX_ERROR_NONE, nRet, "noti_ex_item_set_main_type", NotificationExGetError(nRet), noti_ex_item_destroy(hItemGroup); noti_ex_item_destroy(hItemText));
+
        //Taregt API
        nRet = noti_ex_item_find_by_main_type(hItemGroup, nMainType, &hGetItemText);
        PRINT_RESULT_CLEANUP(NOTI_EX_ERROR_NONE, nRet, "noti_ex_item_find_by_main_type", NotificationExGetError(nRet), noti_ex_item_destroy(hItemGroup); noti_ex_item_destroy(hItemText));