From 55198c438506a142618a0e310ceb5d29e4549636 Mon Sep 17 00:00:00 2001 From: Jiung Yu Date: Fri, 9 Jun 2017 08:41:12 +0900 Subject: [PATCH] Exclude some lines can't be reached by TCs Change-Id: Ifb243d8fe7af9cfe2615f09b76ff9bcff16f2011 Signed-off-by: Yu jiung --- src/asp-client.c | 4 ++-- src/asp-dbus.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/asp-client.c b/src/asp-client.c index d96852c..68db7f3 100644 --- a/src/asp-client.c +++ b/src/asp-client.c @@ -117,7 +117,7 @@ static int _txt_to_mac(char *txt, unsigned char *mac) MAC2SECSTR(mac)); return 0; } - +//LCOV_EXCL_START static int __asp_err_string_to_enum(const char *error) { if (NULL != strstr(error, "NoReply")) @@ -570,7 +570,7 @@ void asp_process_session_port_status(GDBusConnection *connection, __ASP_LOG_FUNC_END__; return; } - +//LCOV_EXCL_STOP int asp_initialize(void) { __ASP_LOG_FUNC_START__; diff --git a/src/asp-dbus.c b/src/asp-dbus.c index 7a08e6e..680c03b 100644 --- a/src/asp-dbus.c +++ b/src/asp-dbus.c @@ -90,7 +90,7 @@ static struct { NULL } }; - +//LCOV_EXCL_START static void _asp_dbus_signal_cb(GDBusConnection *connection, const gchar *sender, const gchar *object_path, const gchar *interface, const gchar *signal, @@ -147,7 +147,7 @@ GVariant *asp_dbus_method_call_sync_debug(const char* interface_name, DBUS_DEBUG_VARIANT(reply); return reply; } - +//LCOV_EXCL_STOP gboolean asp_dbus_init(void) { GError *Error = NULL; -- 2.34.1