diff options
author | Wootak Jung <wootak.jung@samsung.com> | 2021-05-21 11:07:52 +0900 |
---|---|---|
committer | Wootak Jung <wootak.jung@samsung.com> | 2021-05-21 11:09:07 +0900 |
commit | 3b18f15a797730acab46d4b71ba7f733ea5d454d (patch) | |
tree | 49ffa8320d59104cb8f06c08ce31543a3361aa26 | |
parent | 23d2b33646380337e02810410c98c67c882d3c75 (diff) | |
download | bluetooth-3b18f15a797730acab46d4b71ba7f733ea5d454d.tar.gz bluetooth-3b18f15a797730acab46d4b71ba7f733ea5d454d.tar.bz2 bluetooth-3b18f15a797730acab46d4b71ba7f733ea5d454d.zip |
Add the coverage exception code for new internal APIs
Change-Id: I816eaf5804ec7668ec834d7297b933ee555a7538
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
-rw-r--r-- | src/bluetooth-mesh.c | 7 |
1 files changed, 6 insertions, 1 deletions
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, |