Add exclude section of coverage 35/216035/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Fri, 18 Oct 2019 10:53:03 +0000 (19:53 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Fri, 18 Oct 2019 10:53:03 +0000 (19:53 +0900)
Change-Id: Idb6ff03963afc7afcdbe639c90fe10ee62f9d14e
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
client/sticker_dbus.c

index 847283a..12b6722 100644 (file)
@@ -30,10 +30,12 @@ static void _server_appeared_cb(GDBusConnection *connection, const gchar *name,
     LOGD("name : %s, name_owner : %s", name, name_owner);
 }
 
+//LCOV_EXCL_START
 static void _server_vanished_cb(GDBusConnection *connection, const gchar *name, gpointer user_data)
 {
     LOGD("name : %s", name);
 }
+//LCOV_EXCL_STOP
 
 static int _dbus_init(GDBusConnection **gdbus_connection, guint *server_watcher_id)
 {
@@ -178,6 +180,7 @@ static void _call_insert_finished_cb(sticker_provider_h provider_handle, GVarian
     }
 }
 
+//LCOV_EXCL_START
 static void _handle_sticker_consumer_cb(GDBusConnection *connection,
                                const gchar *sender_name,
                                const gchar *object_path,
@@ -244,6 +247,7 @@ static void _handle_sticker_consumer_cb(GDBusConnection *connection,
     _free_sticker_data(sticker_data);
     #endif
 }
+//LCOV_EXCL_STOP
 
 static void _handle_sticker_provider_cb(GDBusConnection *connection,
                                const gchar *sender_name,
@@ -486,12 +490,14 @@ static void _on_name_appeared(GDBusConnection *connection,
         _monitor_register(connection);
 }
 
+//LCOV_EXCL_START
 static void _on_name_vanished(GDBusConnection *connection,
         const gchar     *name,
         gpointer         user_data)
 {
     is_server_started = 0;
 }
+//LCOV_EXCL_STOP
 
 int sticker_dbus_init(GDBusConnection **gdbus_connection, guint *server_watcher_id,
                       int *monitor_id, int *server_monitor_id, CLIENT_LIB lib, void *data)