From: DoHyun Pyun Date: Mon, 13 Apr 2020 02:24:59 +0000 (+0900) Subject: Exclude the exception codes for coverage X-Git-Tag: accepted/tizen/unified/20200423.054500^0 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fconnectivity%2Fbluetooth-agent.git;a=commitdiff_plain;h=25585655534f704c32d05c6ca9fc70f220855a74 Exclude the exception codes for coverage Change-Id: Iba772b971b42032167fa1145e53b4456c6df327b Signed-off-by: DoHyun Pyun --- diff --git a/ag-agent/bluetooth-ag-agent.c b/ag-agent/bluetooth-ag-agent.c index 893e824..a1f68b4 100644 --- a/ag-agent/bluetooth-ag-agent.c +++ b/ag-agent/bluetooth-ag-agent.c @@ -4256,6 +4256,7 @@ fail: /* LCOV_EXCL_STOP */ #ifdef TIZEN_FEATURE_BT_MEDIA_ENHANCE +/* LCOV_EXCL_START */ void _bt_ag_agent_check_transport_state(void) { FN_START; @@ -4364,6 +4365,7 @@ static void __bt_ag_agent_media_filter_cb(GDBusConnection *connection, FN_END; } +/* LCOV_EXCL_STOP */ #endif /* LCOV_EXCL_START */ @@ -4417,7 +4419,6 @@ static void __bt_ag_agent_dbus_init(void) FN_END; return; } -/* LCOV_EXCL_STOP */ static uint32_t __bt_ag_agent_get_ag_features(void) { @@ -4454,6 +4455,7 @@ static uint32_t __bt_ag_agent_get_ag_features(void) return ag_features; } +/* LCOV_EXCL_STOP */ /* LCOV_EXCL_START */ void *__bt_ag_agent_telephony_init(void *arg) diff --git a/include/bluetooth-agent-profile.h b/include/bluetooth-agent-profile.h index c5302cc..3af313c 100644 --- a/include/bluetooth-agent-profile.h +++ b/include/bluetooth-agent-profile.h @@ -100,6 +100,7 @@ typedef enum { extern tizen_model_name_t model_name; +/* LCOV_EXCL_START */ static inline tizen_model_name_t get_tizen_model_name() { char *modelName = NULL; @@ -128,6 +129,7 @@ static inline tizen_model_name_t get_tizen_model_name() return model_name; } +/* LCOV_EXCL_STOP */ #define TIZEN_PROFILE_WEARABLE (get_tizen_profile() == _PROFILE_WEARABLE) #define TIZEN_PROFILE_IVI (get_tizen_profile() == _PROFILE_IVI)