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 acb2001..d2cd471 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 cf24c64..4d51e18 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 22cfcc3..1468a42 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,