DSTouch: add LCOV_EXCL for event functions 44/243544/1
authorJunseok, Kim <juns.kim@samsung.com>
Tue, 8 Sep 2020 02:32:01 +0000 (11:32 +0900)
committerSung-Jin Park <sj76.park@samsung.com>
Tue, 8 Sep 2020 03:32:46 +0000 (12:32 +0900)
Change-Id: I93abbda15d38e9746f474eb2461bd40e42af3220
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
src/DSSeat/DSTouch.cpp

index 37b17fb..a9fe988 100644 (file)
@@ -49,6 +49,7 @@ DSTouch::DSTouch(DSSeat *seat, DSWaylandTouch *touch)
 DSTouch::~DSTouch()
 {}
 
+/*LCOV_EXCL_START*/
 void DSTouch::processEvent(DSInputTouchEvent *ev, void *data)
 {
        //TODO : get touchFocus and send event to it via DSWaylandTouch instance
@@ -80,7 +81,9 @@ void DSTouch::processEvent(DSInputTouchEvent *ev, void *data)
                touchMove(ev->getIndex(), ev->getWinX(), ev->getWinY());
        }
 }
+/*LCOV_EXCL_STOP*/
 
+/*LCOV_EXCL_START*/
 void DSTouch::touchDown(int32_t id, int x, int y)
 {
        if (__touchFocus && __dswlTouch)
@@ -88,7 +91,9 @@ void DSTouch::touchDown(int32_t id, int x, int y)
                __dswlTouch->sendDown(id, x, y);
        }
 }
+/*LCOV_EXCL_STOP*/
 
+/*LCOV_EXCL_START*/
 void DSTouch::touchUp(int32_t id)
 {
        if (__touchFocus && __dswlTouch)
@@ -96,7 +101,9 @@ void DSTouch::touchUp(int32_t id)
                __dswlTouch->sendUp(id);
        }
 }
+/*LCOV_EXCL_STOP*/
 
+/*LCOV_EXCL_START*/
 void DSTouch::touchMove(int32_t id, int x, int y)
 {
        if (__touchFocus && __dswlTouch)
@@ -104,7 +111,9 @@ void DSTouch::touchMove(int32_t id, int x, int y)
                __dswlTouch->sendMotion(id, x, y);
        }
 }
+/*LCOV_EXCL_STOP*/
 
+/*LCOV_EXCL_START*/
 void DSTouch::setFocus(std::shared_ptr<DSWindow> window)
 {
        if (!window)
@@ -135,7 +144,9 @@ void DSTouch::setFocus(std::shared_ptr<DSWindow> window)
 
        __dswlTouch->setFocus(waylandSurface);
 }
+/*LCOV_EXCL_STOP*/
 
+/*LCOV_EXCL_START*/
 void DSTouch::resetFocus()
 {
        if (__touchFocus)
@@ -147,6 +158,7 @@ void DSTouch::resetFocus()
        if (__dswlTouch)
                __dswlTouch->resetFocus();
 }
+/*LCOV_EXCL_STOP*/
 
 std::shared_ptr<DSWindow> DSTouch::getFocus()
 {