[ITC][notification][NonACR][TFDF-5048 TC crash issue fixed] 27/214127/2
authorABHISHEK JAIN <j.abhishek@samsung.com>
Wed, 18 Sep 2019 09:07:29 +0000 (14:37 +0530)
committershobhit verma <shobhit.v@samsung.com>
Wed, 18 Sep 2019 09:22:57 +0000 (09:22 +0000)
Change-Id: Id353310f9382f49b90afde37db8cd2b7b71b6703
Signed-off-by: ABHISHEK JAIN <j.abhishek@samsung.com>
src/itc/notification/ITs-notification-ex.c

index af51f45f512d43d5ec95d7b55aa1f4767bd037cf..8d8dc38c639a7a7d53d35fb5f3183952385fda7f 100644 (file)
@@ -2553,12 +2553,12 @@ int ITc_noti_ex_item_set_get_led_info_p(void)
        nRet = noti_ex_led_info_destroy(hGetLedInfo);
        PRINT_RESULT_NORETURN(NOTI_EX_ERROR_NONE, nRet, "noti_ex_led_info_destroy", NotificationExGetError(nRet));
 
-       nRet = noti_ex_item_destroy(g_hItemButton);
-       PRINT_RESULT_NORETURN(NOTI_EX_ERROR_NONE, nRet, "noti_ex_item_destroy", NotificationExGetError(nRet));
-
        nRet = noti_ex_led_info_destroy(hSetLedInfo);
        PRINT_RESULT_NORETURN(NOTI_EX_ERROR_NONE, nRet, "noti_ex_led_info_destroy", NotificationExGetError(nRet));
 
+       nRet = noti_ex_item_destroy(g_hItemButton);
+       PRINT_RESULT_NORETURN(NOTI_EX_ERROR_NONE, nRet, "noti_ex_item_destroy", NotificationExGetError(nRet));
+
        nRet = noti_ex_color_destroy(hColor);
        PRINT_RESULT_NORETURN(NOTI_EX_ERROR_NONE, nRet, "noti_ex_color_destroy", NotificationExGetError(nRet));
 
@@ -2780,7 +2780,7 @@ int ITc_noti_ex_item_set_get_tag_p(void)
        START_TEST;
 
        int nRet = NOTI_EX_ERROR_NONE;
-       const char *pszSetTag = "testTag";
+       const char *pszSetTag = "testTag_ONE";
        char *pszGetTag = NULL;
 
        nRet = CreateButton();