Add the coverage exception code for new internal APIs 86/215686/1
authorDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 14 Oct 2019 07:48:04 +0000 (16:48 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 14 Oct 2019 07:48:04 +0000 (16:48 +0900)
Change-Id: I78d48c7cdb1f2b9aa909fccf4afdfaa99d17ab5d
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
src/bluetooth-adapter.c
src/bluetooth-gatt.c

index 5d9e469..a26eccf 100644 (file)
@@ -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,
index 3b45789..1826561 100644 (file)
@@ -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 */