sensor-internal: Add lcov exception to internal functions 59/297959/1 accepted/tizen/unified/20230831.081039
authorSangYoun Kwak <sy.kwak@samsung.com>
Tue, 29 Aug 2023 04:18:39 +0000 (13:18 +0900)
committerSangYoun Kwak <sy.kwak@samsung.com>
Tue, 29 Aug 2023 06:54:28 +0000 (15:54 +0900)
Add line coverage exception to the internal functions of sensor.

Change-Id: I7257c235da760f6dcf87854ecdd7782c92d325c4
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
src/sensor-internal.cpp

index ed1ddf7..648af6d 100644 (file)
@@ -22,6 +22,8 @@
 #include <sensor-private.h>
 #include <sensor-log-private.h>
 
+/* 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 */