From: DoHyun Pyun Date: Mon, 14 Oct 2019 07:48:04 +0000 (+0900) Subject: Add the coverage exception code for new internal APIs X-Git-Tag: accepted/tizen/unified/20191101.042108~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cc377f5e42098664b2d408bbfc917093707e274f;p=platform%2Fcore%2Fapi%2Fbluetooth.git Add the coverage exception code for new internal APIs Change-Id: I78d48c7cdb1f2b9aa909fccf4afdfaa99d17ab5d Signed-off-by: DoHyun Pyun --- diff --git a/src/bluetooth-adapter.c b/src/bluetooth-adapter.c index 5d9e469..a26eccf 100644 --- a/src/bluetooth-adapter.c +++ b/src/bluetooth-adapter.c @@ -1025,6 +1025,7 @@ int bt_adapter_is_discovering(bool *is_discovering) } } +/* LCOV_EXCL_START */ int bt_adapter_le_is_discovering(bool *is_discovering) { int ret = 0; @@ -1044,6 +1045,7 @@ int bt_adapter_le_is_discovering(bool *is_discovering) return ret; /* LCOV_EXCL_LINE */ } } +/* LCOV_EXCL_STOP */ int bt_adapter_get_local_oob_data(unsigned char **hash, unsigned char **randomizer, diff --git a/src/bluetooth-gatt.c b/src/bluetooth-gatt.c index 3b45789..1826561 100644 --- a/src/bluetooth-gatt.c +++ b/src/bluetooth-gatt.c @@ -3347,6 +3347,7 @@ int bt_gatt_server_foreach_services(bt_gatt_server_h server, return BT_ERROR_NONE; } +/* LCOV_EXCL_START */ int bt_gatt_server_set_att_mtu_changed_cb(bt_gatt_server_h server, bt_gatt_server_att_mtu_changed_cb callback, void *user_data) { bt_gatt_server_s *server_s = (bt_gatt_server_s *)server; @@ -3384,6 +3385,7 @@ int bt_gatt_server_unset_att_mtu_changed_cb(bt_gatt_server_h server) return BT_ERROR_NONE; } +/* LCOV_EXCL_STOP */ #ifdef TIZEN_GATT_CLIENT int bt_gatt_client_create(const char *remote_address, bt_gatt_client_h *client) @@ -5074,6 +5076,7 @@ int bt_gatt_client_unset_att_mtu_changed_cb(bt_gatt_client_h client) return BT_ERROR_NONE; } +/* LCOV_EXCL_START */ int bt_gatt_get_uuid_specification_name(const char *uuid, char **name) { int error_code = BT_ERROR_NONE; @@ -5094,3 +5097,4 @@ int bt_gatt_get_uuid_specification_name(const char *uuid, char **name) BT_INFO("Specification Name [%s]", *name); return BT_ERROR_NONE; } +/* LCOV_EXCL_STOP */