DSWaylandServer: define LCOV_EXCL blocks for event handling logics from client 46/243546/1 tizen_6.0_bkup_20201112 accepted/tizen/6.0/unified/20201030.113408 accepted/tizen/6.0/unified/hotfix/20201103.001310 accepted/tizen/unified/20200908.130446 submit/tizen/20200908.035217 submit/tizen_6.0/20201029.205105 submit/tizen_6.0_hotfix/20201102.192505 submit/tizen_6.0_hotfix/20201103.114805 tizen_6.0.m2_release
authorSung-Jin Park <sj76.park@samsung.com>
Tue, 8 Sep 2020 02:49:05 +0000 (11:49 +0900)
committerSung-Jin Park <sj76.park@samsung.com>
Tue, 8 Sep 2020 03:33:15 +0000 (12:33 +0900)
Change-Id: I9de1b0722e2acdfe3660a7adb68567e5243f5b9b
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
src/DSWaylandServer/DSWaylandCallback.cpp
src/DSWaylandServer/DSWaylandPointer.cpp
src/DSWaylandServer/DSWaylandTextInput.cpp
src/DSWaylandServer/DSWaylandTextInputManagerPrivate.h
src/DSWaylandServer/DSWaylandTizenAppinfo.cpp
src/DSWaylandServer/DSWaylandTizenInputDeviceManagerPrivate.h

index 3e4ae9a..04a6047 100644 (file)
@@ -27,6 +27,7 @@
 namespace display_server
 {
 
+/*LCOV_EXCL_START*/
 DSWaylandCallbackPrivate::DSWaylandCallbackPrivate(DSWaylandCallback *p_ptr)
     : DSObjectPrivate(p_ptr)
 {
@@ -52,5 +53,6 @@ DSWaylandCallback::DSWaylandCallback()
 DSWaylandCallback::~DSWaylandCallback()
 {
 }
+/*LCOV_EXCL_STOP*/
 
 } /* namespace display_server */
index 3ed7813..e856c64 100644 (file)
@@ -51,14 +51,6 @@ void DSWaylandPointerPrivate::setFocus(DSWaylandSurface *waylandSurface)
 {
        DSLOG_INF("DSWaylandPointerPrivate", "pointer focus changed (%p -> %p)", __waylandSurface, waylandSurface);
 
-#if 0
-       if (__waylandSurface)
-       {
-               DSLOG_INF("DSWaylandPointerPrivate", "send leave to %p", __waylandSurface);
-               send_leave(__wlPointerResource, __waylandSurface->getWlResource());
-       }
-#endif
-
        __waylandSurface = waylandSurface;
 
        if (!waylandSurface || !waylandSurface->hasResource())
@@ -68,6 +60,7 @@ void DSWaylandPointerPrivate::setFocus(DSWaylandSurface *waylandSurface)
                return;
        }
 
+       /*LCOV_EXCL_START*/
        struct ::wl_resource *surface = waylandSurface->getWlResource();
        auto client = wl_resource_get_client(surface);
 
@@ -90,10 +83,7 @@ void DSWaylandPointerPrivate::setFocus(DSWaylandSurface *waylandSurface)
                DSLOG_INF("DSWaylandPointerPrivate", "no wlPointerResource available");
                return;
        }
-#if 0
-       DSLOG_INF("DSWaylandPointerPrivate", "send enter to %p", __waylandSurface);
-       sendEnter(__wlPointerResource, __waylandSurface->getWlResource(), surface_x, surface_y);
-#endif
+       /*LCOV_EXCL_STOP*/
 }
 
 DSWaylandSurface *DSWaylandPointerPrivate::getFocus()
index 820e8ba..d365121 100644 (file)
@@ -29,6 +29,7 @@
 
 namespace display_server {
 
+/*LCOV_EXCL_START*/
 DSWaylandTextInputManagerPrivate::DSWaylandTextInputManagerPrivate(DSWaylandTextInputManager *p_ptr, DSWaylandCompositor *compositor)
        : DSObjectPrivate(p_ptr),
          __p_ptr(p_ptr),
@@ -1120,5 +1121,6 @@ DSWaylandSurface* DSWaylandTextInput::getClientSurface()
 
        return priv->__clientSurface;
 }
+/*LCOV_EXCL_STOP*/
 
 }
index dfa815c..fa5d557 100644 (file)
@@ -33,6 +33,7 @@
 namespace display_server
 {
 
+/*LCOV_EXCL_START*/
 class DS_DECL_EXPORT DSWaylandTextInputManagerPrivate : public DSObjectPrivate, public DSWaylandServer::wl_text_input_manager
 {
 DS_PIMPL_USE_PUBLIC(DSWaylandTextInputManager);
@@ -46,6 +47,7 @@ protected:
 private:
        DSWaylandCompositor *__compositor;
 };
+/*LCOV_EXCL_STOP*/
 
 }
 
index 852db56..8bfbd02 100644 (file)
@@ -59,11 +59,11 @@ void DSWaylandTizenAppinfoPrivate::tizen_launch_appinfo_destroy_resource(Resourc
 {
        DSLOG_DBG("TizenAppinfoPriv", "");
 }
+/*LCOV_EXCL_START*/
 void DSWaylandTizenAppinfoPrivate::tizen_launch_appinfo_destroy(Resource *resource)
 {
        DSLOG_DBG("TizenAppinfoPriv", "");
 }
-/*LCOV_EXCL_START*/
 void DSWaylandTizenAppinfoPrivate::tizen_launch_appinfo_register_pid(Resource *resource, uint32_t pid)
 {
        DSLOG_DBG("TizenAppinfoPriv", "");
@@ -76,7 +76,6 @@ void DSWaylandTizenAppinfoPrivate::tizen_launch_appinfo_set_appid(Resource *reso
 {
        DSLOG_DBG("TizenAppinfoPriv", "");
 }
-/*LCOV_EXCL_STOP*/
 
 void DSWaylandTizenAppinfoPrivate::tizen_launch_appinfo_get_base_output_resolution(Resource *resource, uint32_t pid)
 {
@@ -122,6 +121,7 @@ void DSWaylandTizenAppinfoPrivate::tizen_launch_appinfo_ready_metadata(Resource
 {
        DSLOG_DBG("TizenAppinfoPriv", "");
 }
+/*LCOV_EXCL_STOP*/
 
 DSWaylandTizenAppinfo::DSWaylandTizenAppinfo(DSWaylandCompositor *wlCompositor)
        : DS_INIT_PRIVATE_PTR(DSWaylandTizenAppinfo),
index 3850af7..7c5eeb8 100644 (file)
@@ -31,6 +31,7 @@
 namespace display_server
 {
 
+/*LCOV_EXCL_START*/
 class DSWaylandTizenInputDeviceManagerPrivate : public DSObjectPrivate, public DSWaylandServer::tizen_input_device_manager
 {
 DS_PIMPL_USE_PUBLIC(DSWaylandTizenInputDeviceManager);
@@ -61,6 +62,7 @@ protected:
 private:
        struct ::wl_display *__display;
 };
+/*LCOV_EXCL_STOP*/
 
 }