Add the coverage exception code for new internal APIs 96/258596/1
authorWootak Jung <wootak.jung@samsung.com>
Fri, 21 May 2021 02:07:52 +0000 (11:07 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Fri, 21 May 2021 02:09:07 +0000 (11:09 +0900)
Change-Id: I816eaf5804ec7668ec834d7297b933ee555a7538
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
src/bluetooth-mesh.c

index 2a8fbac..ef0c8c7 100644 (file)
@@ -378,13 +378,14 @@ static gint __bt_mesh_compare_net_uuid(gpointer *a, gpointer *b)
        return g_strcmp0(net->uuid, net_uuid);
 }
 
-
+/* LCOV_EXCL_START */
 static gint __bt_mesh_compare_node_uuid(gpointer *a, gpointer *b)
 {
        bt_mesh_node_s *net = (bt_mesh_node_s *)a;
        char *net_uuid = (char *)b;
        return g_strcmp0(net->uuid, net_uuid);
 }
+/* LCOV_EXCL_STOP */
 
 static void __bt_mesh_insert_elements_in_node(
                bt_mesh_node_s *node, uint16_t unicast,
@@ -621,6 +622,7 @@ bt_mesh_network_s * _bt_mesh_get_network_handle_info(char *net_uuid)
        return (bt_mesh_network_s*)l->data;
 }
 
+/* LCOV_EXCL_START */
 bt_mesh_node_s * _bt_mesh_get_node_handle_info(char *net_uuid)
 {
        GSList *l;
@@ -631,6 +633,7 @@ bt_mesh_node_s * _bt_mesh_get_node_handle_info(char *net_uuid)
 
        return (bt_mesh_node_s*)l->data;
 }
+/* LCOV_EXCL_STOP */
 
 /* LCOV_EXCL_START */
 char * _bt_mesh_get_auth_string_from_value(int auth)
@@ -3393,6 +3396,7 @@ int bt_mesh_model_send_msg(bt_mesh_model_h model,
        return BT_ERROR_NONE;
 }
 
+/* LCOV_EXCL_START */
 int bt_mesh_node_model_send_response(bt_mesh_model_h model,
        bt_mesh_model_msg_params_s *msg_params, void *user_data)
 {
@@ -3440,6 +3444,7 @@ int bt_mesh_node_model_send_response(bt_mesh_model_h model,
        FUNC_EXIT;
        return BT_ERROR_NONE;
 }
+/* LCOV_EXCL_STOP */
 
 int bt_mesh_group_send_msg(bt_mesh_group_h group,
        bt_mesh_appkey_h appkey, bt_mesh_model_msg_params_s *msg_params,