From: Wootak Jung Date: Fri, 21 May 2021 02:07:52 +0000 (+0900) Subject: Add the coverage exception code for new internal APIs X-Git-Tag: submit/tizen/20210606.232858~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3b18f15a797730acab46d4b71ba7f733ea5d454d;p=platform%2Fcore%2Fapi%2Fbluetooth.git Add the coverage exception code for new internal APIs Change-Id: I816eaf5804ec7668ec834d7297b933ee555a7538 Signed-off-by: Wootak Jung --- diff --git a/src/bluetooth-mesh.c b/src/bluetooth-mesh.c index 2a8fbac..ef0c8c7 100644 --- a/src/bluetooth-mesh.c +++ b/src/bluetooth-mesh.c @@ -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,