Add the coverage exception for internal API functions 18/282718/1
authorDohyun Pyun <dh79.pyun@samsung.com>
Tue, 11 Oct 2022 00:30:51 +0000 (09:30 +0900)
committerDohyun Pyun <dh79.pyun@samsung.com>
Tue, 11 Oct 2022 00:33:40 +0000 (09:33 +0900)
Change-Id: I6bd4fa1281cccd5c4c199ec72d35a67f6788ba8a
Signed-off-by: Dohyun Pyun <dh79.pyun@samsung.com>
src/bluetooth-adapter.c
src/bluetooth-common.c
src/bluetooth-gatt.c

index 82f6188..e182783 100644 (file)
@@ -233,6 +233,7 @@ int bt_adapter_get_address(char **address)
        return BT_ERROR_NONE;
 }
 
+/* LCOV_EXCL_START */
 int bt_adapter_get_hci_address(char **address)
 {
        BT_CHECK_SUPPORTED_FEATURE(BT_FEATURE_COMMON);
@@ -273,7 +274,6 @@ int bt_adapter_get_hci_address(char **address)
        return BT_ERROR_NONE;
 }
 
-/* LCOV_EXCL_START */
 int bt_adapter_get_version(char **version)
 {
        int ret = BT_ERROR_NONE;
index 60af564..a96d468 100644 (file)
@@ -4728,6 +4728,7 @@ tizen_profile_t _get_tizen_profile()
        return profile;
 }
 
+/* LCOV_EXCL_START */
 tizen_model_t model = _MODEL_UNKNOWN;
 tizen_model_t _get_tizen_model(void)
 {
@@ -4752,3 +4753,4 @@ tizen_model_t _get_tizen_model(void)
 
        return model;
 }
+/* LCOV_EXCL_STOP */
index 5643b29..98e7f31 100644 (file)
@@ -989,7 +989,7 @@ int bt_gatt_disconnect(const char *address)
        _bt_unset_cb(BT_EVENT_GATT_CONNECTION_STATUS);
        return ret;
 }
-/* LCOV_EXCL_STOP */
+
 int bt_gatt_server_set_connection_state_changed_cb(bt_gatt_server_h server,
                bt_gatt_server_connection_state_changed_cb callback, void *user_data)
 {
@@ -1019,6 +1019,7 @@ int bt_gatt_server_unset_connection_state_changed_cb(bt_gatt_server_h server)
 
        return BT_ERROR_NONE;
 }
+/* LCOV_EXCL_STOP */
 
 int bt_gatt_set_connection_state_changed_cb(bt_gatt_connection_state_changed_cb callback,
                                                        void *user_data)