From e096b720467b4f7fe55575e388f99b86f72eb6ac Mon Sep 17 00:00:00 2001 From: jeon Date: Wed, 2 Sep 2020 16:56:11 +0900 Subject: [PATCH] set LCOV_EXCL blocks Change-Id: Ia4cbb03555a32f2e1bd082038718c096d2c27e0e --- src/DSWaylandServer/DSWaylandPointer.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/DSWaylandServer/DSWaylandPointer.cpp b/src/DSWaylandServer/DSWaylandPointer.cpp index f298c43..3ed7813 100644 --- a/src/DSWaylandServer/DSWaylandPointer.cpp +++ b/src/DSWaylandServer/DSWaylandPointer.cpp @@ -101,6 +101,7 @@ DSWaylandSurface *DSWaylandPointerPrivate::getFocus() return __waylandSurface; } +/*LCOV_EXCL_START*/ void DSWaylandPointerPrivate::pointer_bind_resource(Resource *resource) { DSLOG_INF("DSWaylandPointerPrivate",""); @@ -159,6 +160,7 @@ void DSWaylandPointerPrivate::sendButton(uint32_t button, uint32_t state) send_button(__wlPointerResource, __compositor->nextSerial(), __seat->getCurrentEventTime(), button, state); } +/*LCOV_EXCL_STOP*/ /* Begin Public Class Implementation */ DSWaylandPointer::DSWaylandPointer(DSWaylandSeat *seat) @@ -179,6 +181,7 @@ DSWaylandSeat *DSWaylandPointer::seat() return priv->__seat; } +/*LCOV_EXCL_START*/ void DSWaylandPointer::addClient(DSWaylandClient *client, uint32_t id, int version) { DS_GET_PRIV(DSWaylandPointer); @@ -187,6 +190,7 @@ void DSWaylandPointer::addClient(DSWaylandClient *client, uint32_t id, int versi priv->add(client->wlClient(), id, version); } +/*LCOV_EXCL_STOP*/ void DSWaylandPointer::setFocus(DSWaylandSurface *waylandSurface) { @@ -207,6 +211,7 @@ DSWaylandSurface *DSWaylandPointer::getFocus() return priv->getFocus(); } +/*LCOV_EXCL_START*/ void DSWaylandPointer::sendEnter(int surface_x, int surface_y) { DS_GET_PRIV(DSWaylandPointer); @@ -236,5 +241,6 @@ void DSWaylandPointer::sendButtonUp(uint32_t button) DS_GET_PRIV(DSWaylandPointer); priv->sendButton(button, WL_POINTER_BUTTON_STATE_RELEASED); } +/*LCOV_EXCL_STOP*/ } -- 2.7.4