From: Myungki Lee Date: Fri, 13 Jan 2017 10:59:29 +0000 (+0900) Subject: Exclude function from measure coverage X-Git-Tag: submit/tizen_3.0/20170117.104748~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=798b24f9d20ae516664b492735a081d2fed7e3ef;p=platform%2Fcore%2Fapi%2Fnotification.git Exclude function from measure coverage - notification_setting_db_update_app_disabled : called when app disabled - get_setting_from_app_control : called if can't find setting Change-Id: Iaa37e24a1a741fd3e539de23bea248e9e57f4ac1 Signed-off-by: Myungki Lee --- diff --git a/src/notification_noti.c b/src/notification_noti.c index 9a2d8d1f..338b9d38 100755 --- a/src/notification_noti.c +++ b/src/notification_noti.c @@ -708,6 +708,7 @@ err: return ret; } +/* LCOV_EXCL_START */ static int __get_setting_from_app_control(notification_h noti, notification_setting_h *setting) { notification_setting_h setting_new = NULL; @@ -760,6 +761,7 @@ out: return ret; } +/* LCOV_EXCL_STOP */ static bool _is_allowed_to_notify(notification_h noti) { diff --git a/src/notification_setting_service.c b/src/notification_setting_service.c index 4f417687..297bede1 100644 --- a/src/notification_setting_service.c +++ b/src/notification_setting_service.c @@ -860,6 +860,7 @@ out: return ret; } +/* LCOV_EXCL_START */ EXPORT_API int notification_setting_db_update_app_disabled(const char *appid, bool value, uid_t uid) { int err = NOTIFICATION_ERROR_NONE; @@ -897,3 +898,4 @@ return_close_db: return err; } +/* LCOV_EXCL_STOP */