summaryrefslogtreecommitdiff
path: root/ug-efl-engine
diff options
context:
space:
mode:
authorHwankyu Jhun <h.jhun@samsung.com>2017-09-27 10:45:32 +0900
committerHwankyu Jhun <h.jhun@samsung.com>2017-09-27 10:45:32 +0900
commitac279813c1374fd48cf7a9a95bfb56f08abde403 (patch)
tree73be10fa685eea3b015eccdfce529986e66571b8 /ug-efl-engine
parent9720689dae295866c934021aa60ba47092ef3821 (diff)
downloadui-gadget-1-ac279813c1374fd48cf7a9a95bfb56f08abde403.tar.gz
ui-gadget-1-ac279813c1374fd48cf7a9a95bfb56f08abde403.tar.bz2
ui-gadget-1-ac279813c1374fd48cf7a9a95bfb56f08abde403.zip
Exclude some lines from lcov
Change-Id: I177f03a06b906f5dc896bd3b8fc22bb30ff37a77 Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Diffstat (limited to 'ug-efl-engine')
-rwxr-xr-xug-efl-engine/ug-efl-engine.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/ug-efl-engine/ug-efl-engine.c b/ug-efl-engine/ug-efl-engine.c
index 870140b..1329dd2 100755
--- a/ug-efl-engine/ug-efl-engine.c
+++ b/ug-efl-engine/ug-efl-engine.c
@@ -91,6 +91,7 @@ static void __del_effect_end(ui_gadget_h ug)
hide_end_cb(ug);
}
+/* LCOV_EXCL_START */
static void __del_finished(void *data, Evas_Object *obj, void *event_info)
{
if (!event_info) {
@@ -114,7 +115,9 @@ static void __del_finished(void *data, Evas_Object *obj, void *event_info)
else
_ERR("wrong ug(%p) state(%d)", ug, ug->layout_state);
}
+/* LCOV_EXCL_STOP */
+/* LCOV_EXCL_START */
static void __del_effect_top_layout(ui_gadget_h ug)
{
_WRN("\t cb transition add ug=%p", ug);
@@ -124,7 +127,9 @@ static void __del_effect_top_layout(ui_gadget_h ug)
ug->effect_layout = NULL;
ug->layout_state = UG_LAYOUT_HIDEEFFECT;
}
+/* LCOV_EXCL_STOP */
+/* LCOV_EXCL_START */
static void __del_effect_layout(ui_gadget_h ug, ui_gadget_h t_ug)
{
if (!ug)
@@ -138,7 +143,9 @@ static void __del_effect_layout(ui_gadget_h ug, ui_gadget_h t_ug)
__del_effect_end(ug);
}
+/* LCOV_EXCL_STOP */
+/* LCOV_EXCL_START */
static void __hide_end(ui_gadget_h ug)
{
if (navi) {
@@ -154,14 +161,18 @@ static void __hide_end(ui_gadget_h ug)
if (ug->layout)
evas_object_hide(ug->layout);
}
+/* LCOV_EXCL_STOP */
+/* LCOV_EXCL_START */
static void __hide_effect_end(ui_gadget_h ug)
{
__hide_end(ug);
ug->layout_state = UG_LAYOUT_HIDE;
}
+/* LCOV_EXCL_STOP */
+/* LCOV_EXCL_START */
static void __hide_finished(void *data, Evas_Object *obj, void *event_info)
{
ui_gadget_h ug = (ui_gadget_h)data;
@@ -178,7 +189,9 @@ static void __hide_finished(void *data, Evas_Object *obj, void *event_info)
else
_ERR("wrong ug(%p) state(%d)", ug, ug->layout_state);
}
+/* LCOV_EXCL_STOP */
+/* LCOV_EXCL_START */
static void __on_hideonly_cb(void *data, Evas_Object *obj)
{
ui_gadget_h ug = (ui_gadget_h)data;
@@ -227,6 +240,7 @@ static void __on_hideonly_cb(void *data, Evas_Object *obj)
ug->effect_layout = NULL;
}
+/* LCOV_EXCL_STOP */
static void on_destroy(ui_gadget_h ug, ui_gadget_h t_ug,
void (*hide_cb)(void* data))
@@ -249,9 +263,11 @@ static void on_destroy(ui_gadget_h ug, ui_gadget_h t_ug,
hide_end_cb = hide_cb;
if (ug != t_ug) {
+ /* LCOV_EXCL_START */
_DBG("requested ug(%p) is not top ug(%p)", ug, t_ug);
__del_effect_layout(ug, t_ug);
return;
+ /* LCOV_EXCL_STOP */
}
if (ug->layout_state == UG_LAYOUT_SHOW) {
@@ -273,6 +289,7 @@ static void on_destroy(ui_gadget_h ug, ui_gadget_h t_ug,
}
}
+/* LCOV_EXCL_START */
static void __show_finished(void *data, Evas_Object *obj, void *event_info)
{
ui_gadget_h ug = (ui_gadget_h)data;
@@ -296,7 +313,9 @@ static void __show_finished(void *data, Evas_Object *obj, void *event_info)
return;
}
+/* LCOV_EXCL_STOP */
+/* LCOV_EXCL_START */
static int __show_end_cb_by_job_add(void *data)
{
if (show_end_cb)
@@ -304,7 +323,9 @@ static int __show_end_cb_by_job_add(void *data)
return 0;
}
+/* LCOV_EXCL_STOP */
+/* LCOV_EXCL_START */
static void on_show_cb(void *data, Evas *e, Evas_Object *obj,
void *event_info)
{
@@ -347,6 +368,7 @@ static void on_show_cb(void *data, Evas *e, Evas_Object *obj,
_DBG("\ton_show_cb end ug=%p", ug);
}
+/* LCOV_EXCL_STOP */
static void *on_create(void *win, ui_gadget_h ug,
void (*show_cb)(void* data))
@@ -363,8 +385,10 @@ static void *on_create(void *win, ui_gadget_h ug,
conform = con;
_DBG("\t There is conformant");
} else {
+ /* LCOV_EXCL_START */
_ERR("\t There is no conformant");
return NULL;
+ /* LCOV_EXCL_STOP */
}
if (!navi) {
@@ -429,8 +453,10 @@ static void *on_request(void *data, ui_gadget_h ug, int req)
}
break;
default:
+ /* LCOV_EXCL_START */
_WRN("wrong req id(%d)", req);
return NULL;
+ /* LCOV_EXCL_STOP */
}
return ret;
@@ -448,6 +474,8 @@ UG_ENGINE_API int UG_ENGINE_INIT(struct ug_engine_ops *ops)
return 0;
}
+/* LCOV_EXCL_START */
UG_ENGINE_API void UG_ENGINE_EXIT(struct ug_engine_ops *ops)
{
}
+/* LCOV_EXCL_STOP */