Exclude function from measure coverage 12/110012/5
authorMyungki Lee <mk5004.lee@samsung.com>
Fri, 13 Jan 2017 10:59:29 +0000 (19:59 +0900)
committerMyungKi Lee <mk5004.lee@samsung.com>
Tue, 17 Jan 2017 00:05:36 +0000 (16:05 -0800)
- 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 <mk5004.lee@samsung.com>
src/notification_noti.c
src/notification_setting_service.c

index 9a2d8d1ff6dc8bc5eafeece3a274668ac63a4953..338b9d38cccc0cf32fe36b199b469ef8c96198ee 100755 (executable)
@@ -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)
 {
index 4f41768773689f24494535daf910d36a953bca78..297bede1788cfd39d3bdbb09e129b2b86c899fb9 100644 (file)
@@ -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 */