DSPointer: add LCOV_EXCL for event functions 42/243542/1
authorJunseok, Kim <juns.kim@samsung.com>
Tue, 8 Sep 2020 02:31:23 +0000 (11:31 +0900)
committerSung-Jin Park <sj76.park@samsung.com>
Tue, 8 Sep 2020 03:32:27 +0000 (12:32 +0900)
Change-Id: I62ea6fc6e6ac9cfe7d0369410a85426b4be66864
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
src/DSSeat/DSPointer.cpp

index 02e3b3b..2f7b1e1 100644 (file)
@@ -51,6 +51,7 @@ DSPointer::DSPointer(DSSeat *seat, DSWaylandPointer *pointer)
 DSPointer::~DSPointer()
 {}
 
+/*LCOV_EXCL_START*/
 void DSPointer::processEvent(DSInputMouseEvent *ev, void *data)
 {
        //TODO : get ptrFocus and send event to it via DSWaylandPointer instance
@@ -99,7 +100,9 @@ void DSPointer::processEvent(DSInputMouseEvent *ev, void *data)
                return;
        }
 }
+/*LCOV_EXCL_STOP*/
 
+/*LCOV_EXCL_START*/
 void DSPointer::mouseDown(uint32_t button)
 {
        if (__ptrFocus && __dswlPointer)
@@ -107,7 +110,9 @@ void DSPointer::mouseDown(uint32_t button)
                __dswlPointer->sendButtonDown(button);
        }
 }
+/*LCOV_EXCL_STOP*/
 
+/*LCOV_EXCL_START*/
 void DSPointer::mouseUp(uint32_t button)
 {
        if (__ptrFocus && __dswlPointer)
@@ -115,7 +120,9 @@ void DSPointer::mouseUp(uint32_t button)
                __dswlPointer->sendButtonUp(button);
        }
 }
+/*LCOV_EXCL_STOP*/
 
+/*LCOV_EXCL_START*/
 void DSPointer::mouseMove(int x, int y)
 {
        if (__ptrFocus && __dswlPointer)
@@ -123,7 +130,9 @@ void DSPointer::mouseMove(int x, int y)
                __dswlPointer->sendMotion(x, y);
        }
 }
+/*LCOV_EXCL_STOP*/
 
+/*LCOV_EXCL_START*/
 void DSPointer::mouseIn(int x, int y)
 {
        if (__dswlPointer)
@@ -131,7 +140,9 @@ void DSPointer::mouseIn(int x, int y)
                __dswlPointer->sendEnter(x, y);
        }
 }
+/*LCOV_EXCL_STOP*/
 
+/*LCOV_EXCL_START*/
 void DSPointer::mouseOut()
 {
        if (__dswlPointer)
@@ -139,7 +150,9 @@ void DSPointer::mouseOut()
                __dswlPointer->sendLeave();
        }
 }
+/*LCOV_EXCL_STOP*/
 
+/*LCOV_EXCL_START*/
 void DSPointer::setFocus(std::shared_ptr<DSWindow> window)
 {
        if (!window)
@@ -170,7 +183,9 @@ void DSPointer::setFocus(std::shared_ptr<DSWindow> window)
 
        __dswlPointer->setFocus(waylandSurface);
 }
+/*LCOV_EXCL_STOP*/
 
+/*LCOV_EXCL_START*/
 void DSPointer::resetFocus()
 {
        if (__ptrFocus)
@@ -182,6 +197,7 @@ void DSPointer::resetFocus()
        if (__dswlPointer)
                __dswlPointer->resetFocus();
 }
+/*LCOV_EXCL_STOP*/
 
 std::shared_ptr<DSWindow> DSPointer::getFocus()
 {