Add lcov for ambient, time change related logic 83/153083/1
authorHyunho Kang <hhstark.kang@samsung.com>
Thu, 28 Sep 2017 02:18:38 +0000 (11:18 +0900)
committerHyunho Kang <hhstark.kang@samsung.com>
Thu, 28 Sep 2017 02:19:48 +0000 (11:19 +0900)
- ambient and time change related logic should be cheched in manual tct

Change-Id: I6d5299a1ab784e4c516f78e8842f6ac74eb6dbab
Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
src/watch_app_main.c

index 3d2e11e..9040d25 100755 (executable)
@@ -281,6 +281,7 @@ static double __get_next_tick_sec()
        return sec;
 }
 
+/* LCOV_EXCL_START */
 static int __get_ambient_tick_offset(struct _watch_time_s timeinfo, int interval, int minute_base, int hour_base)
 {
        int remain_hour = 0;
@@ -305,6 +306,7 @@ static int __get_ambient_tick_offset(struct _watch_time_s timeinfo, int interval
        }
        return offset_sec;
 }
+/* LCOV_EXCL_STOP */
 
 /* LCOV_EXCL_START */
 static int __ambient_tick_cb(alarm_id_t id, void *data)
@@ -323,6 +325,7 @@ static int __ambient_tick_cb(alarm_id_t id, void *data)
 }
 /* LCOV_EXCL_STOP */
 
+/* LCOV_EXCL_START */
 static int __set_ambient_tick_cb(void *data)
 {
        int offset_sec = 0;
@@ -357,6 +360,7 @@ static int __set_ambient_tick_cb(void *data)
 
        return 0;
 }
+/* LCOV_EXCL_STOP */
 
 /* LCOV_EXCL_START */
 static int __signal_alpm_handler(int ambient, void *data)
@@ -486,6 +490,7 @@ static void __set_default_tick_by_metadata()
        return;
 }
 
+/* LCOV_EXCL_START */
 static void __vconf_time_changed_cb(keynode_t *key, void *data)
 {
        struct _watch_time_s timeinfo = {
@@ -510,6 +515,7 @@ static void __vconf_time_changed_cb(keynode_t *key, void *data)
 
        return;
 }
+/* LCOV_EXCL_STOP */
 
 static int __on_create(void *data)
 {