From 7c2b9f1dca77a2648b029a79d832242b40c556af Mon Sep 17 00:00:00 2001 From: DoHyun Pyun Date: Tue, 27 Oct 2020 08:04:29 +0900 Subject: [PATCH] Add the coverage exception for internal function Change-Id: I63d74438f316a8e955e57fcca49e116922e23cfa Signed-off-by: DoHyun Pyun --- src/bluetooth-common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bluetooth-common.c b/src/bluetooth-common.c index 78cde86..2764d7e 100644 --- a/src/bluetooth-common.c +++ b/src/bluetooth-common.c @@ -653,6 +653,7 @@ int _bt_convert_address_to_string(char **addr_str, bluetooth_device_address_t *a return BT_ERROR_OUT_OF_MEMORY; /* LCOV_EXCL_LINE */ } +/* LCOV_EXCL_START */ gboolean _bt_utf8_validate(const char *name) { gunichar2 *u16; @@ -688,6 +689,7 @@ gboolean _bt_validate_device_address(const char *addr_str) return g_regex_match_simple(BT_ADDRESS_REGEX_STRING, addr_str, G_REGEX_OPTIMIZE, 0); } +/* LCOV_EXCL_STOP */ void _bt_convert_address_to_hex(bluetooth_device_address_t *addr_hex, const char *addr_str) { -- 2.7.4