From 78cccd3e56fdc5277edd7f26ce5f822f96cb6aea Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Fri, 18 Oct 2019 19:53:03 +0900 Subject: [PATCH] Add exclude section of coverage Change-Id: Idb6ff03963afc7afcdbe639c90fe10ee62f9d14e Signed-off-by: Jihoon Kim --- client/sticker_dbus.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/client/sticker_dbus.c b/client/sticker_dbus.c index 847283a..12b6722 100644 --- a/client/sticker_dbus.c +++ b/client/sticker_dbus.c @@ -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) -- 2.7.4