Add the coverage exception for internal function 98/246198/1 accepted/tizen/unified/20201029.125009 submit/tizen/20201027.003129
authorDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 26 Oct 2020 23:04:29 +0000 (08:04 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 26 Oct 2020 23:04:29 +0000 (08:04 +0900)
Change-Id: I63d74438f316a8e955e57fcca49e116922e23cfa
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
src/bluetooth-common.c

index 78cde86..2764d7e 100644 (file)
@@ -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)
 {