From: Junseok, Kim Date: Tue, 8 Sep 2020 02:31:23 +0000 (+0900) Subject: DSPointer: add LCOV_EXCL for event functions X-Git-Tag: accepted/tizen/6.0/unified/20201030.113408~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F42%2F243542%2F1;p=platform%2Fcore%2Fuifw%2Flibds.git DSPointer: add LCOV_EXCL for event functions Change-Id: I62ea6fc6e6ac9cfe7d0369410a85426b4be66864 Signed-off-by: Junseok, Kim --- diff --git a/src/DSSeat/DSPointer.cpp b/src/DSSeat/DSPointer.cpp index 02e3b3b..2f7b1e1 100644 --- a/src/DSSeat/DSPointer.cpp +++ b/src/DSSeat/DSPointer.cpp @@ -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 window) { if (!window) @@ -170,7 +183,9 @@ void DSPointer::setFocus(std::shared_ptr 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 DSPointer::getFocus() {