FPRINTF("[Line : %d][%s] Inside callback StickerConsumerKeywordListCallback\\n", __LINE__, API_NAMESPACE);
}
+/**
+ * @function StickerConsumerSetEventCallback
+ * @description A sticker consumer callback for set event
+ */
+static void StickerConsumerSetEventCallback(sticker_consumer_event_type_e event_type, sticker_data_h data_handle, void *user_data)
+{
+ g_bCallbackHit = true;
+ FPRINTF("[Line : %d][%s] Inside callback StickerConsumerSetEventCallback\\n", __LINE__, API_NAMESPACE);
+}
+
/**
* @function ITs_capi_ui_sticker_consumer_startup
* @description Called before each test, set the service boolean true
FPRINTF("[%s:%d] sticker_data_set_description failed, error returned =(%d)\\n", __FILE__, __LINE__, nRet);
g_bStickerCreation = false;
}
+ nRet = sticker_data_set_display_type(g_hStickerDataHandle, STICKER_DATA_DISP_WALLPAPER);
+ if ( nRet != STICKER_ERROR_NONE )
+ {
+ FPRINTF("[%s:%d] sticker_data_set_display_type failed, error returned =(%d)\\n", __FILE__, __LINE__, nRet);
+ g_bStickerCreation = false;
+ }
nRet = sticker_provider_insert_data(g_hStickerProviderHandle, g_hStickerDataHandle);
if ( nRet != STICKER_ERROR_NONE )
{
#if DEBUG
FPRINTF("[Line : %d][%s] TEST SUIT clean-up: ITs_capi_ui_sticker_consumer_cleanup\\n", __LINE__, API_NAMESPACE);
#endif
+
if (g_hStickerConsumerHandle) {
nRet = sticker_consumer_destroy(g_hStickerConsumerHandle);
if(nRet !=0)
{
START_TEST;
int nRet = -1;
- int nResult = -1;
g_bCallbackHit = false;
nRet = sticker_consumer_group_list_foreach_all(g_hStickerConsumerHandle, StickerConsumerGroupListCallback, NULL);
{
START_TEST;
int nRet = -1;
- int nResult = -1;
g_bCallbackHit = false;
nRet = sticker_consumer_keyword_list_foreach_all(g_hStickerConsumerHandle, StickerConsumerKeywordListCallback, NULL);
return 0;
}
+/**
+ * @testcase ITc_capi_ui_sticker_data_sticker_consumer_data_foreach_by_display_type_p
+ * @since_tizen 5.5
+ * @author SRID(priya.kohli)
+ * @reviewer SRID(shobhit.v)
+ * @type auto
+ * @description Retrieves all sticker data in the sticker database using display type
+ * @scenario Retrieves all sticker data in the sticker database using display type
+ * @apicovered sticker_consumer_data_foreach_by_display_type
+ * @passcase When sticker_consumer_data_foreach_by_display_type and Precondition APi's are successful.
+ * @failcase If target API fails or any precondition API fails
+ * @precondition None
+ * @postcondition None
+ */
+//& purpose: API to retrieve all sticker data in the sticker database using display type
+int ITc_capi_ui_sticker_data_sticker_consumer_data_foreach_by_display_type_p(void)
+{
+ START_TEST;
+ int nRet = -1;
+ int nResult = -1;
+ int nOffset = 0;
+ int nCnt = 1000;
+ void *userData = NULL;
+ g_bCallbackHit = false;
+
+ nRet = sticker_consumer_data_foreach_by_display_type(g_hStickerConsumerHandle, nOffset, nCnt, &nResult, STICKER_DATA_DISP_WALLPAPER, StickerDataConsumerForeachCallback, userData);
+ PRINT_RESULT(STICKER_ERROR_NONE, nRet, "sticker_consumer_data_foreach_by_display_type", StickerGetError(nRet));
+ PRINT_RESULT(g_bCallbackHit, true, "callback not hit", StickerGetError(nRet));
+ if(nResult < 0)
+ {
+ FPRINTF("[%s:%d] nResult value is not valid\\n", __FILE__, __LINE__);
+ return 1;
+ }
+
+ return 0;
+}
+
+/**
+ * @testcase ITc_capi_ui_sticker_data_sticker_consumer_group_list_foreach_by_display_type_p
+ * @since_tizen 5.5
+ * @author SRID(priya.kohli)
+ * @reviewer SRID(shobhit.v)
+ * @type auto
+ * @description Retrieves all group names assigned to stickers with a matching display @a type.
+ * @scenario Retrieves all group names assigned to stickers with a matching display @a type.
+ * @apicovered sticker_consumer_group_list_foreach_by_display_type
+ * @passcase When sticker_consumer_group_list_foreach_by_display_type and Precondition APi's are successful.
+ * @failcase If target API fails or any precondition API fails
+ * @precondition None
+ * @postcondition None
+ */
+//& purpose: API to retrieve all group names assigned to stickers with a matching display @a type.
+int ITc_capi_ui_sticker_data_sticker_consumer_group_list_foreach_by_display_type_p(void)
+{
+ START_TEST;
+ int nRet = -1;
+ void *userData = NULL;
+ g_bCallbackHit = false;
+
+ nRet = sticker_consumer_group_list_foreach_by_display_type(g_hStickerConsumerHandle, STICKER_DATA_DISP_WALLPAPER, StickerConsumerGroupListCallback, userData);
+ PRINT_RESULT(STICKER_ERROR_NONE, nRet, "sticker_consumer_group_list_foreach_by_display_type", StickerGetError(nRet));
+ PRINT_RESULT(g_bCallbackHit, true, "callback not hit", StickerGetError(nRet));
+
+ return 0;
+}
+
+/**
+ * @testcase ITc_capi_ui_sticker_data_sticker_consumer_add_get_recent_data_p
+ * @since_tizen 5.5
+ * @author SRID(priya.kohli)
+ * @reviewer SRID(shobhit.v)
+ * @type auto
+ * @description Adds entry to recently used stickers list and gets the entry.
+ * @scenario Adds entry to recently used stickers list and gets the entry.
+ * @apicovered sticker_consumer_add_recent_data,sticker_consumer_get_recent_data_list
+ * @passcase When sticker_consumer_add_recent_data,sticker_consumer_get_recent_data_list and Precondition APi's are successful.
+ * @failcase If target APIs fails or any precondition API fails
+ * @precondition None
+ * @postcondition None
+ */
+//& purpose: API to add entry to recently used stickers list and get the entry.
+int ITc_capi_ui_sticker_data_sticker_consumer_add_get_recent_data_p(void)
+{
+ START_TEST;
+ int nRet = -1;
+ int nResult = -1;
+ void *userData = NULL;
+ int nCount = 1;
+ g_bCallbackHit = false;
+
+ nRet = sticker_consumer_add_recent_data(g_hStickerConsumerHandle, g_hStickerDataHandle);
+ PRINT_RESULT(STICKER_ERROR_NONE, nRet, "sticker_consumer_add_recent_data", StickerGetError(nRet));
+
+ nRet = sticker_consumer_get_recent_data_list(g_hStickerConsumerHandle, nCount, &nResult, StickerDataConsumerForeachCallback, userData);
+ PRINT_RESULT(STICKER_ERROR_NONE, nRet, "sticker_consumer_get_recent_data_list", StickerGetError(nRet));
+
+ PRINT_RESULT(g_bCallbackHit, true, "callback not hit", StickerGetError(nRet));
+ if(nResult < 0)
+ {
+ FPRINTF("[%s:%d] nResult value is not valid\\n", __FILE__, __LINE__);
+ return 1;
+ }
+
+ return 0;
+}
+
+/**
+ * @testcase ITc_capi_ui_sticker_data_sticker_consumer_set_unset_event_cb_p
+ * @since_tizen 5.5
+ * @author SRID(priya.kohli)
+ * @reviewer SRID(shobhit.v)
+ * @type auto
+ * @description Registers and unregisters a callback function to be invoked when the stickers are inserted, deleted, or updated.
+ * @scenario Registers and unregisters a callback function to be invoked when the stickers are inserted, deleted, or updated.
+ * @apicovered sticker_consumer_set_event_cb, sticker_consumer_unset_event_cb
+ * @passcase When sticker_consumer_set_event_cb, sticker_consumer_unset_event_cb and Precondition APi's are successful.
+ * @failcase If target APIs fails or any precondition API fails
+ * @precondition None
+ * @postcondition None
+ */
+//& purpose: API to register and unregister a callback function to be invoked when the stickers are inserted, deleted, or updated.
+int ITc_capi_ui_sticker_data_sticker_consumer_set_unset_event_cb_p(void)
+{
+ START_TEST;
+ int nRet = -1;
+ void *userData = NULL;
+ g_bCallbackHit = false;
+ int nTimeoutId = 0;
+
+ nRet = sticker_consumer_set_event_cb(g_hStickerConsumerHandle, StickerConsumerSetEventCallback, userData);
+ PRINT_RESULT(STICKER_ERROR_NONE, nRet, "sticker_consumer_set_event_cb", StickerGetError(nRet));
+
+ RUN_POLLING_LOOP;
+ PRINT_RESULT(g_bCallbackHit, true, "callback not hit", StickerGetError(nRet));
+
+ nRet = sticker_consumer_unset_event_cb(g_hStickerConsumerHandle);
+ PRINT_RESULT(STICKER_ERROR_NONE, nRet, "sticker_consumer_unset_event_cb", StickerGetError(nRet));
+
+ return 0;
+}
FPRINTF("[%s:%d] sticker_data_set_description failed, error returned =(%d)\\n", __FILE__, __LINE__, nRet);
g_bStickerCreation = false;
}
+
+ nRet = sticker_data_set_display_type(g_hStickerDataHandle, STICKER_DATA_DISP_WALLPAPER);
+ if ( nRet != STICKER_ERROR_NONE )
+ {
+ FPRINTF("[%s:%d] sticker_data_set_display_type failed, error returned =(%d)\\n", __FILE__, __LINE__, nRet);
+ g_bStickerCreation = false;
+ }
return;
}
return 0;
}
+
+/**
+ * @testcase ITc_capi_ui_sticker_data_sticker_provider_delete_data_by_uri_p
+ * @since_tizen 5.5
+ * @author SRID(priya.kohli)
+ * @reviewer SRID(shobhit.v)
+ * @type auto
+ * @description Deletes a sticker data in the sticker database using URI.
+ * @scenario Deletes a sticker data in the sticker database using URI.
+ * @apicovered sticker_provider_delete_data_by_uri
+ * @passcase When sticker_provider_delete_data_by_uri and Precondition API's are successful.
+ * @failcase If target API fails or any precondition API fails
+ * @precondition None
+ * @postcondition None
+ */
+//& purpose: API to delete a sticker data in the sticker database using URI.
+int ITc_capi_ui_sticker_data_sticker_provider_delete_data_by_uri_p(void)
+{
+ int nRet = -1;
+
+ nRet = sticker_provider_insert_data(g_hStickerProviderHandle, g_hStickerDataHandle);
+ PRINT_RESULT(STICKER_ERROR_NONE, nRet, "sticker_provider_insert_data", StickerGetError(nRet));
+
+ nRet = sticker_provider_delete_data_by_uri(g_hStickerProviderHandle, "www.samsung.com/ITC/provider");
+ PRINT_RESULT(STICKER_ERROR_NONE, nRet, "sticker_provider_delete_data_by_uri", StickerGetError(nRet));
+
+ nRet = sticker_data_set_uri(g_hStickerDataHandle, STICKER_DATA_URI_WEB_RESOURCE, "www.samsung.com/ITC/provider");
+ PRINT_RESULT_NORETURN(STICKER_ERROR_NONE, nRet, "sticker_data_set_uri", StickerGetError(nRet));
+
+ return 0;
+}
* @function StickerDataForeachKeywordCallback
* @description A sticker data foreach callback for keyword
*/
-
static void StickerDataForeachKeywordCallback(const char *keyword, void *user_data)
{
FPRINTF("[Line : %d][%s] Inside callback StickerDataForeachKeywordCallback\\n", __LINE__, API_NAMESPACE);
return 0;
}
+/**
+* @testcase ITc_capi_ui_sticker_data_sticker_data_set_get_display_type_p
+* @since_tizen 5.5
+* @author SRID(priya.kohli)
+* @reviewer SRID(shobhit.v)
+* @type auto
+* @description Sets and gets the display type of the sticker.
+* @scenario Sets and gets the display type of the sticker.
+* @apicovered sticker_data_set_display_type, sticker_data_get_display_type
+* @passcase When target APIs are successful and set, get values are same.
+* @failcase If any of the target API fails or any precondition API fails or set, get values are not same.
+* @precondition None
+* @postcondition None
+*/
+//& purpose: API to set and get the display type of the sticker.
+//& type: auto
+int ITc_capi_ui_sticker_data_sticker_data_set_get_display_type_p(void)
+{
+ START_TEST;
+ int nRet = -1;
+ sticker_data_display_type_e eGetDispType;
+
+ sticker_data_display_type_e eDisplayType[] = {STICKER_DATA_DISP_EMOJI,
+ STICKER_DATA_DISP_WALLPAPER};
+
+ int nSize = sizeof(eDisplayType)/sizeof(eDisplayType[0]);
+ for(int nCount = 0; nCount < nSize; nCount++)
+ {
+ nRet = sticker_data_set_display_type(g_hStickerDataHandle, eDisplayType[nCount]);
+ PRINT_RESULT(STICKER_ERROR_NONE, nRet, "sticker_data_set_display_type", StickerGetError(nRet));
+
+ nRet = sticker_data_get_display_type(g_hStickerDataHandle, &eGetDispType);
+ PRINT_RESULT(STICKER_ERROR_NONE, nRet, "sticker_data_get_display_type", StickerGetError(nRet));
+ if(eDisplayType[nCount] != eGetDispType)
+ {
+ FPRINTF("[%s:%d] Set and Get display type value mismatch\\n", __FILE__, __LINE__);
+ return 1;
+ }
+ }
+ return 0;
+}
extern int ITc_capi_ui_sticker_data_sticker_data_set_get_thumbnail_p(void);
extern int ITc_capi_ui_sticker_data_sticker_data_set_get_description_p(void);
extern int ITc_capi_ui_sticker_data_sticker_data_get_date_p(void);
-
+extern int ITc_capi_ui_sticker_data_sticker_data_set_get_display_type_p(void);
extern int ITc_capi_ui_sticker_data_sticker_consumer_create_destroy_p(void);
extern int ITc_capi_ui_sticker_data_sticker_consumer_data_foreach_all_p(void);
extern int ITc_capi_ui_sticker_data_sticker_consumer_data_foreach_by_type_p(void);
extern int ITc_capi_ui_sticker_data_sticker_consumer_group_list_foreach_all_p(void);
extern int ITc_capi_ui_sticker_data_sticker_consumer_keyword_list_foreach_all_p(void);
+extern int ITc_capi_ui_sticker_data_sticker_consumer_data_foreach_by_display_type_p(void);
+extern int ITc_capi_ui_sticker_data_sticker_consumer_group_list_foreach_by_display_type_p(void);
+extern int ITc_capi_ui_sticker_data_sticker_consumer_add_get_recent_data_p(void);
+extern int ITc_capi_ui_sticker_data_sticker_consumer_set_unset_event_cb_p(void);
extern int ITc_capi_ui_sticker_data_sticker_provider_create_destroy_p(void);
extern int ITc_capi_ui_sticker_data_sticker_provider_insert_data_p(void);
extern int ITc_capi_ui_sticker_data_sticker_provider_delete_data_p(void);
extern int ITc_capi_ui_sticker_data_sticker_provider_get_sticker_count_p(void);
extern int ITc_capi_ui_sticker_data_sticker_provider_data_foreach_all_p(void);
+extern int ITc_capi_ui_sticker_data_sticker_provider_delete_data_by_uri_p(void);
extern int ITc_capi_ui_sticker_data_sticker_data_get_handle_p(void);
testcase tc_array[] = {
- {"ITc_capi_ui_sticker_data_sticker_data_create_destroy_p", ITc_capi_ui_sticker_data_sticker_data_create_destroy_p, ITs_capi_ui_sticker_data_startup, ITs_capi_ui_sticker_data_cleanup},
+{"ITc_capi_ui_sticker_data_sticker_data_create_destroy_p", ITc_capi_ui_sticker_data_sticker_data_create_destroy_p, ITs_capi_ui_sticker_data_startup, ITs_capi_ui_sticker_data_cleanup},
{"ITc_capi_ui_sticker_data_sticker_data_clone_p", ITc_capi_ui_sticker_data_sticker_data_clone_p, ITs_capi_ui_sticker_data_startup, ITs_capi_ui_sticker_data_cleanup},
{"ITc_capi_ui_sticker_data_sticker_data_get_app_id_p", ITc_capi_ui_sticker_data_sticker_data_get_app_id_p, ITs_capi_ui_sticker_data_startup, ITs_capi_ui_sticker_data_cleanup},
{"ITc_capi_ui_sticker_data_sticker_data_set_get_uri_p", ITc_capi_ui_sticker_data_sticker_data_set_get_uri_p, ITs_capi_ui_sticker_data_startup, ITs_capi_ui_sticker_data_cleanup},
{"ITc_capi_ui_sticker_data_sticker_data_set_get_thumbnail_p", ITc_capi_ui_sticker_data_sticker_data_set_get_thumbnail_p, ITs_capi_ui_sticker_data_startup, ITs_capi_ui_sticker_data_cleanup},
{"ITc_capi_ui_sticker_data_sticker_data_set_get_description_p", ITc_capi_ui_sticker_data_sticker_data_set_get_description_p, ITs_capi_ui_sticker_data_startup, ITs_capi_ui_sticker_data_cleanup},
{"ITc_capi_ui_sticker_data_sticker_data_get_date_p", ITc_capi_ui_sticker_data_sticker_data_get_date_p, ITs_capi_ui_sticker_data_startup, ITs_capi_ui_sticker_data_cleanup},
+{"ITc_capi_ui_sticker_data_sticker_data_set_get_display_type_p", ITc_capi_ui_sticker_data_sticker_data_set_get_display_type_p, ITs_capi_ui_sticker_data_startup, ITs_capi_ui_sticker_data_cleanup},
{"ITc_capi_ui_sticker_data_sticker_consumer_create_destroy_p", ITc_capi_ui_sticker_data_sticker_consumer_create_destroy_p, ITs_capi_ui_sticker_consumer_startup, ITs_capi_ui_sticker_consumer_cleanup},
{"ITc_capi_ui_sticker_data_sticker_consumer_data_foreach_all_p", ITc_capi_ui_sticker_data_sticker_consumer_data_foreach_all_p, ITs_capi_ui_sticker_consumer_startup, ITs_capi_ui_sticker_consumer_cleanup},
{"ITc_capi_ui_sticker_data_sticker_consumer_data_foreach_by_keyword_p", ITc_capi_ui_sticker_data_sticker_consumer_data_foreach_by_keyword_p, ITs_capi_ui_sticker_consumer_startup, ITs_capi_ui_sticker_consumer_cleanup},
{"ITc_capi_ui_sticker_data_sticker_consumer_data_foreach_by_type_p", ITc_capi_ui_sticker_data_sticker_consumer_data_foreach_by_type_p, ITs_capi_ui_sticker_consumer_startup, ITs_capi_ui_sticker_consumer_cleanup},
{"ITc_capi_ui_sticker_data_sticker_consumer_group_list_foreach_all_p", ITc_capi_ui_sticker_data_sticker_consumer_group_list_foreach_all_p, ITs_capi_ui_sticker_consumer_startup, ITs_capi_ui_sticker_consumer_cleanup},
{"ITc_capi_ui_sticker_data_sticker_consumer_keyword_list_foreach_all_p", ITc_capi_ui_sticker_data_sticker_consumer_keyword_list_foreach_all_p, ITs_capi_ui_sticker_consumer_startup, ITs_capi_ui_sticker_consumer_cleanup},
+{"ITc_capi_ui_sticker_data_sticker_consumer_data_foreach_by_display_type_p", ITc_capi_ui_sticker_data_sticker_consumer_data_foreach_by_display_type_p, ITs_capi_ui_sticker_consumer_startup, ITs_capi_ui_sticker_consumer_cleanup},
+{"ITc_capi_ui_sticker_data_sticker_consumer_group_list_foreach_by_display_type_p", ITc_capi_ui_sticker_data_sticker_consumer_group_list_foreach_by_display_type_p, ITs_capi_ui_sticker_consumer_startup, ITs_capi_ui_sticker_consumer_cleanup},
+{"ITc_capi_ui_sticker_data_sticker_consumer_add_get_recent_data_p", ITc_capi_ui_sticker_data_sticker_consumer_add_get_recent_data_p, ITs_capi_ui_sticker_consumer_startup, ITs_capi_ui_sticker_consumer_cleanup},
+{"ITc_capi_ui_sticker_data_sticker_consumer_set_unset_event_cb_p", ITc_capi_ui_sticker_data_sticker_consumer_set_unset_event_cb_p, ITs_capi_ui_sticker_consumer_startup, ITs_capi_ui_sticker_consumer_cleanup},
{"ITc_capi_ui_sticker_data_sticker_provider_create_destroy_p", ITc_capi_ui_sticker_data_sticker_provider_create_destroy_p, ITs_capi_ui_sticker_provider_startup, ITs_capi_ui_sticker_provider_cleanup},
{"ITc_capi_ui_sticker_data_sticker_provider_insert_data_p", ITc_capi_ui_sticker_data_sticker_provider_insert_data_p, ITs_capi_ui_sticker_provider_startup, ITs_capi_ui_sticker_provider_cleanup},
{"ITc_capi_ui_sticker_data_sticker_provider_insert_data_by_json_file_p", ITc_capi_ui_sticker_data_sticker_provider_insert_data_by_json_file_p, ITs_capi_ui_sticker_provider_startup, ITs_capi_ui_sticker_provider_cleanup},
{"ITc_capi_ui_sticker_data_sticker_provider_update_data_p", ITc_capi_ui_sticker_data_sticker_provider_update_data_p, ITs_capi_ui_sticker_provider_startup, ITs_capi_ui_sticker_provider_cleanup},
{"ITc_capi_ui_sticker_data_sticker_provider_delete_data_p", ITc_capi_ui_sticker_data_sticker_provider_delete_data_p, ITs_capi_ui_sticker_provider_startup, ITs_capi_ui_sticker_provider_cleanup},
-
{"ITc_capi_ui_sticker_data_sticker_provider_get_sticker_count_p", ITc_capi_ui_sticker_data_sticker_provider_get_sticker_count_p, ITs_capi_ui_sticker_provider_startup, ITs_capi_ui_sticker_provider_cleanup},
{"ITc_capi_ui_sticker_data_sticker_provider_data_foreach_all_p", ITc_capi_ui_sticker_data_sticker_provider_data_foreach_all_p, ITs_capi_ui_sticker_provider_startup, ITs_capi_ui_sticker_provider_cleanup},
+{"ITc_capi_ui_sticker_data_sticker_provider_delete_data_by_uri_p", ITc_capi_ui_sticker_data_sticker_provider_delete_data_by_uri_p, ITs_capi_ui_sticker_provider_startup, ITs_capi_ui_sticker_provider_cleanup},
{"ITc_capi_ui_sticker_data_sticker_data_get_handle_p", ITc_capi_ui_sticker_data_sticker_data_get_handle_p, ITs_capi_ui_sticker_provider_startup, ITs_capi_ui_sticker_provider_cleanup},
- {NULL, NULL}
+{NULL, NULL}
};
#endif // __TCT_CAPI_UI_STICKER_NATIVE_H__
extern int ITc_capi_ui_sticker_data_sticker_data_set_get_thumbnail_p(void);
extern int ITc_capi_ui_sticker_data_sticker_data_set_get_description_p(void);
extern int ITc_capi_ui_sticker_data_sticker_data_get_date_p(void);
-
+extern int ITc_capi_ui_sticker_data_sticker_data_set_get_display_type_p(void);
extern int ITc_capi_ui_sticker_data_sticker_consumer_create_destroy_p(void);
extern int ITc_capi_ui_sticker_data_sticker_consumer_data_foreach_all_p(void);
extern int ITc_capi_ui_sticker_data_sticker_consumer_data_foreach_by_type_p(void);
extern int ITc_capi_ui_sticker_data_sticker_consumer_group_list_foreach_all_p(void);
extern int ITc_capi_ui_sticker_data_sticker_consumer_keyword_list_foreach_all_p(void);
+extern int ITc_capi_ui_sticker_data_sticker_consumer_data_foreach_by_display_type_p(void);
+extern int ITc_capi_ui_sticker_data_sticker_consumer_group_list_foreach_by_display_type_p(void);
+extern int ITc_capi_ui_sticker_data_sticker_consumer_add_get_recent_data_p(void);
+extern int ITc_capi_ui_sticker_data_sticker_consumer_set_unset_event_cb_p(void);
extern int ITc_capi_ui_sticker_data_sticker_provider_create_destroy_p(void);
extern int ITc_capi_ui_sticker_data_sticker_provider_insert_data_p(void);
extern int ITc_capi_ui_sticker_data_sticker_provider_delete_data_p(void);
extern int ITc_capi_ui_sticker_data_sticker_provider_get_sticker_count_p(void);
extern int ITc_capi_ui_sticker_data_sticker_provider_data_foreach_all_p(void);
+extern int ITc_capi_ui_sticker_data_sticker_provider_delete_data_by_uri_p(void);
extern int ITc_capi_ui_sticker_data_sticker_data_get_handle_p(void);
testcase tc_array[] = {
- {"ITc_capi_ui_sticker_data_sticker_data_create_destroy_p", ITc_capi_ui_sticker_data_sticker_data_create_destroy_p, ITs_capi_ui_sticker_data_startup, ITs_capi_ui_sticker_data_cleanup},
+{"ITc_capi_ui_sticker_data_sticker_data_create_destroy_p", ITc_capi_ui_sticker_data_sticker_data_create_destroy_p, ITs_capi_ui_sticker_data_startup, ITs_capi_ui_sticker_data_cleanup},
{"ITc_capi_ui_sticker_data_sticker_data_clone_p", ITc_capi_ui_sticker_data_sticker_data_clone_p, ITs_capi_ui_sticker_data_startup, ITs_capi_ui_sticker_data_cleanup},
{"ITc_capi_ui_sticker_data_sticker_data_get_app_id_p", ITc_capi_ui_sticker_data_sticker_data_get_app_id_p, ITs_capi_ui_sticker_data_startup, ITs_capi_ui_sticker_data_cleanup},
{"ITc_capi_ui_sticker_data_sticker_data_set_get_uri_p", ITc_capi_ui_sticker_data_sticker_data_set_get_uri_p, ITs_capi_ui_sticker_data_startup, ITs_capi_ui_sticker_data_cleanup},
{"ITc_capi_ui_sticker_data_sticker_data_set_get_thumbnail_p", ITc_capi_ui_sticker_data_sticker_data_set_get_thumbnail_p, ITs_capi_ui_sticker_data_startup, ITs_capi_ui_sticker_data_cleanup},
{"ITc_capi_ui_sticker_data_sticker_data_set_get_description_p", ITc_capi_ui_sticker_data_sticker_data_set_get_description_p, ITs_capi_ui_sticker_data_startup, ITs_capi_ui_sticker_data_cleanup},
{"ITc_capi_ui_sticker_data_sticker_data_get_date_p", ITc_capi_ui_sticker_data_sticker_data_get_date_p, ITs_capi_ui_sticker_data_startup, ITs_capi_ui_sticker_data_cleanup},
+{"ITc_capi_ui_sticker_data_sticker_data_set_get_display_type_p", ITc_capi_ui_sticker_data_sticker_data_set_get_display_type_p, ITs_capi_ui_sticker_data_startup, ITs_capi_ui_sticker_data_cleanup},
{"ITc_capi_ui_sticker_data_sticker_consumer_create_destroy_p", ITc_capi_ui_sticker_data_sticker_consumer_create_destroy_p, ITs_capi_ui_sticker_consumer_startup, ITs_capi_ui_sticker_consumer_cleanup},
{"ITc_capi_ui_sticker_data_sticker_consumer_data_foreach_all_p", ITc_capi_ui_sticker_data_sticker_consumer_data_foreach_all_p, ITs_capi_ui_sticker_consumer_startup, ITs_capi_ui_sticker_consumer_cleanup},
{"ITc_capi_ui_sticker_data_sticker_consumer_data_foreach_by_keyword_p", ITc_capi_ui_sticker_data_sticker_consumer_data_foreach_by_keyword_p, ITs_capi_ui_sticker_consumer_startup, ITs_capi_ui_sticker_consumer_cleanup},
{"ITc_capi_ui_sticker_data_sticker_consumer_data_foreach_by_type_p", ITc_capi_ui_sticker_data_sticker_consumer_data_foreach_by_type_p, ITs_capi_ui_sticker_consumer_startup, ITs_capi_ui_sticker_consumer_cleanup},
{"ITc_capi_ui_sticker_data_sticker_consumer_group_list_foreach_all_p", ITc_capi_ui_sticker_data_sticker_consumer_group_list_foreach_all_p, ITs_capi_ui_sticker_consumer_startup, ITs_capi_ui_sticker_consumer_cleanup},
{"ITc_capi_ui_sticker_data_sticker_consumer_keyword_list_foreach_all_p", ITc_capi_ui_sticker_data_sticker_consumer_keyword_list_foreach_all_p, ITs_capi_ui_sticker_consumer_startup, ITs_capi_ui_sticker_consumer_cleanup},
+{"ITc_capi_ui_sticker_data_sticker_consumer_data_foreach_by_display_type_p", ITc_capi_ui_sticker_data_sticker_consumer_data_foreach_by_display_type_p, ITs_capi_ui_sticker_consumer_startup, ITs_capi_ui_sticker_consumer_cleanup},
+{"ITc_capi_ui_sticker_data_sticker_consumer_group_list_foreach_by_display_type_p", ITc_capi_ui_sticker_data_sticker_consumer_group_list_foreach_by_display_type_p, ITs_capi_ui_sticker_consumer_startup, ITs_capi_ui_sticker_consumer_cleanup},
+{"ITc_capi_ui_sticker_data_sticker_consumer_add_get_recent_data_p", ITc_capi_ui_sticker_data_sticker_consumer_add_get_recent_data_p, ITs_capi_ui_sticker_consumer_startup, ITs_capi_ui_sticker_consumer_cleanup},
+{"ITc_capi_ui_sticker_data_sticker_consumer_set_unset_event_cb_p", ITc_capi_ui_sticker_data_sticker_consumer_set_unset_event_cb_p, ITs_capi_ui_sticker_consumer_startup, ITs_capi_ui_sticker_consumer_cleanup},
{"ITc_capi_ui_sticker_data_sticker_provider_create_destroy_p", ITc_capi_ui_sticker_data_sticker_provider_create_destroy_p, ITs_capi_ui_sticker_provider_startup, ITs_capi_ui_sticker_provider_cleanup},
{"ITc_capi_ui_sticker_data_sticker_provider_insert_data_p", ITc_capi_ui_sticker_data_sticker_provider_insert_data_p, ITs_capi_ui_sticker_provider_startup, ITs_capi_ui_sticker_provider_cleanup},
{"ITc_capi_ui_sticker_data_sticker_provider_insert_data_by_json_file_p", ITc_capi_ui_sticker_data_sticker_provider_insert_data_by_json_file_p, ITs_capi_ui_sticker_provider_startup, ITs_capi_ui_sticker_provider_cleanup},
{"ITc_capi_ui_sticker_data_sticker_provider_update_data_p", ITc_capi_ui_sticker_data_sticker_provider_update_data_p, ITs_capi_ui_sticker_provider_startup, ITs_capi_ui_sticker_provider_cleanup},
{"ITc_capi_ui_sticker_data_sticker_provider_delete_data_p", ITc_capi_ui_sticker_data_sticker_provider_delete_data_p, ITs_capi_ui_sticker_provider_startup, ITs_capi_ui_sticker_provider_cleanup},
-
{"ITc_capi_ui_sticker_data_sticker_provider_get_sticker_count_p", ITc_capi_ui_sticker_data_sticker_provider_get_sticker_count_p, ITs_capi_ui_sticker_provider_startup, ITs_capi_ui_sticker_provider_cleanup},
{"ITc_capi_ui_sticker_data_sticker_provider_data_foreach_all_p", ITc_capi_ui_sticker_data_sticker_provider_data_foreach_all_p, ITs_capi_ui_sticker_provider_startup, ITs_capi_ui_sticker_provider_cleanup},
+{"ITc_capi_ui_sticker_data_sticker_provider_delete_data_by_uri_p", ITc_capi_ui_sticker_data_sticker_provider_delete_data_by_uri_p, ITs_capi_ui_sticker_provider_startup, ITs_capi_ui_sticker_provider_cleanup},
{"ITc_capi_ui_sticker_data_sticker_data_get_handle_p", ITc_capi_ui_sticker_data_sticker_data_get_handle_p, ITs_capi_ui_sticker_provider_startup, ITs_capi_ui_sticker_provider_cleanup},
- {NULL, NULL}
+{NULL, NULL}
};
#endif // __TCT_CAPI_UI_STICKER_NATIVE_H__