From 043b764b59aa569e6676034add7a48050ff16dc4 Mon Sep 17 00:00:00 2001 From: SangYoun Kwak Date: Tue, 29 Aug 2023 13:18:39 +0900 Subject: [PATCH] sensor-internal: Add lcov exception to internal functions Add line coverage exception to the internal functions of sensor. Change-Id: I7257c235da760f6dcf87854ecdd7782c92d325c4 Signed-off-by: SangYoun Kwak --- src/sensor-internal.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/sensor-internal.cpp b/src/sensor-internal.cpp index ed1ddf7..648af6d 100644 --- a/src/sensor-internal.cpp +++ b/src/sensor-internal.cpp @@ -22,6 +22,8 @@ #include #include +/* LCOV_EXCL_START */ + int sensor_util_set_attribute_int(sensor_type_e type, sensor_attribute_e attr, int value) { sensor_t sensor; @@ -178,3 +180,5 @@ int sensor_get_attribute_int(sensor_h sensor, sensor_handle_attribute_e attribut return SENSOR_ERROR_NONE; } + +/* LCOV_EXCL_STOP */ -- 2.34.1