Add exclude section in internal function for coverage 13/216013/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Fri, 18 Oct 2019 08:30:34 +0000 (17:30 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Fri, 18 Oct 2019 08:30:47 +0000 (17:30 +0900)
Change-Id: Ib2a9f3fd5feac16c305b1e95e532ea066eb3c047
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
service_lib/autofill_service.c

index ad2df1c..3c26275 100644 (file)
@@ -64,7 +64,7 @@ typedef struct {
 static GList *__client_list = NULL;
 
 //LCOV_EXCL_START
-bool __autofill_item_cb(rpc_port_autofill_svc_item_h items, void *user_data)
+static bool __autofill_item_cb(rpc_port_autofill_svc_item_h items, void *user_data)
 {
     char *id = NULL;
     char *label = NULL;
@@ -113,7 +113,7 @@ bool __autofill_item_cb(rpc_port_autofill_svc_item_h items, void *user_data)
     return true;
 }
 
-bool __save_item_cb(rpc_port_autofill_svc_save_item_h items, void *user_data)
+static bool __save_item_cb(rpc_port_autofill_svc_save_item_h items, void *user_data)
 {
     char *id = NULL;
     char *label = NULL;
@@ -597,7 +597,8 @@ EXPORT_API int autofill_service_unset_cancel_fill_requested_cb()
     return AUTOFILL_ERROR_NONE;
 }
 
-bool __fill_response_item_cb(autofill_fill_response_item_h it, void * user_data)
+//LCOV_EXCL_START
+static bool __fill_response_item_cb(autofill_fill_response_item_h it, void * user_data)
 {
     char *id = NULL;
     char *value = NULL;
@@ -642,6 +643,7 @@ bool __fill_response_item_cb(autofill_fill_response_item_h it, void * user_data)
 
     return true;
 }
+//LCOV_EXCL_STOP
 
 EXPORT_API int autofill_service_send_fill_response(int context_id, autofill_fill_response_h h)
 {