Exclude unsupported functions in coverage 78/206278/1
authorWootak Jung <wootak.jung@samsung.com>
Thu, 16 May 2019 04:08:10 +0000 (13:08 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Thu, 16 May 2019 04:15:09 +0000 (13:15 +0900)
hid, opp features are disabled on wearable.

Change-Id: I49c75168e2559030650a9ad695e4e627fa56c12d

src/bluetooth-hid.c
src/bluetooth-opp-client.c
src/bluetooth-opp-server.c

index acb2001df972f8e7ba0d0096895582975086893f..d2cd4713af82d63a58f773fc2073dfae20375992 100644 (file)
@@ -49,6 +49,7 @@ static bool is_hid_host_initialized = false;
                return BT_ERROR_NOT_INITIALIZED; \
        }
 
+/* LCOV_EXCL_START */
 int __bt_check_hid_host_init_status(void)
 {
        if (is_hid_host_initialized != true) {
@@ -58,6 +59,7 @@ int __bt_check_hid_host_init_status(void)
 
        return BT_ERROR_NONE;
 }
+/* LCOV_EXCL_STOP */
 
 int bt_hid_host_initialize(bt_hid_host_connection_state_changed_cb connection_cb,
                                                                void *user_data)
index cf24c649a54199b955f1c9b25bf7dd90d22a6654..4d51e186b275d5735c80b06b95390728f1bd4fd0 100644 (file)
@@ -39,6 +39,7 @@ static bool is_opp_client_initialized = false;
                return BT_ERROR_NOT_INITIALIZED; \
        }
 
+/* LCOV_EXCL_START */
 int __bt_check_opp_client_init_status(void)
 {
        if (is_opp_client_initialized != true) {
@@ -48,7 +49,7 @@ int __bt_check_opp_client_init_status(void)
 
        return BT_ERROR_NONE;
 }
-/* LCOV_EXCL_START */
+
 char **__bt_opp_get_file_array(GList *file_list)
 {
        char **files = NULL;
index 22cfcc358260270cb8083a5a0c0753e3cb27200c..1468a42eaf1e84115a89d02f17ae9f50c695ef03 100644 (file)
@@ -38,6 +38,7 @@ static bool is_opp_server_initialized = false;
                return BT_ERROR_NOT_INITIALIZED; \
        }
 
+/* LCOV_EXCL_START */
 int __bt_check_opp_server_init_status(void)
 {
        if (is_opp_server_initialized != true) {
@@ -47,6 +48,7 @@ int __bt_check_opp_server_init_status(void)
 
        return BT_ERROR_NONE;
 }
+/* LCOV_EXCL_STOP */
 
 /* LCOV_EXCL_START */
 int bt_opp_server_initialize(const char *destination,