[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    [Differential] [Request, 2,353 lines] D2053: [autotest/integration] Introduce a Test helper library 
From:       graesslin_(Martin_Gräßlin) <noreply () phabricator ! kde ! or
Date:       2016-06-30 15:03:24
Message-ID: differential-rev-PHID-DREV-xhbtocvt7o3o2uzys5xr-req () phabricator ! kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


graesslin created this revision.
graesslin added reviewers: KWin, Plasma on Wayland.
Restricted Application added subscribers: kwin, plasma-devel.
Restricted Application added projects: Plasma on Wayland, KWin.

REVISION SUMMARY
  A new namespace KWin::Test is added which provides a few helper
  functions. It makes it easy to setup a KWayland client connection with
  the base set to be able to create a Surface and flags to create
  additional interfaces. This replaces the KWayland connection dance in
  init() methods. For cleanup() there is also a dedicated helper function.
  
  In addition there are helper functions to:
  
  - render a surface
  - create a surface
  - create a shell surface
  - flush the wayland client connection
  - access to the created interfaces - for compatibility with existing code
  
  The idea is to extend this Test library also for other common use cases
  like creating an X11 connection and X11 windows, etc.

REPOSITORY
  rKWIN KWin

BRANCH
  autotest-refactoring

REVISION DETAIL
  https://phabricator.kde.org/D2053

AFFECTED FILES
  autotests/integration/CMakeLists.txt
  autotests/integration/debug_console_test.cpp
  autotests/integration/decoration_input_test.cpp
  autotests/integration/dont_crash_cancel_animation.cpp
  autotests/integration/dont_crash_empty_deco.cpp
  autotests/integration/dont_crash_no_border.cpp
  autotests/integration/input_stacking_order.cpp
  autotests/integration/kwin_wayland_test.h
  autotests/integration/lockscreen.cpp
  autotests/integration/maximize_test.cpp
  autotests/integration/move_resize_window_test.cpp
  autotests/integration/plasma_surface_test.cpp
  autotests/integration/plasmawindow_test.cpp
  autotests/integration/pointer_input.cpp
  autotests/integration/quick_tiling_test.cpp
  autotests/integration/shell_client_test.cpp
  autotests/integration/start_test.cpp
  autotests/integration/struts_test.cpp
  autotests/integration/test_helpers.cpp
  autotests/integration/touch_input_test.cpp
  autotests/integration/transient_no_input_test.cpp
  autotests/integration/transient_placement.cpp

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: graesslin, #kwin, #plasma_on_wayland
Cc: plasma-devel, kwin, hardening, jensreuterberg, sebas

[Attachment #5 (text/html)]

<table><tr><td style="">graesslin created this revision.<br />graesslin added \
reviewers: KWin, Plasma on Wayland.<br />Restricted Application added subscribers: \
kwin, plasma-devel.<br />Restricted Application added projects: Plasma on Wayland, \
KWin.</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; \
float: right; color: #464C5C; font-weight: bold; border-radius: 3px; \
background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); \
display: inline-block; border: 1px solid rgba(71,87,120,.2);" \
href="https://phabricator.kde.org/D2053" rel="noreferrer">View \
Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>A new \
namespace KWin::Test is added which provides a few helper<br /> functions. It makes \
it easy to setup a KWayland client connection with<br /> the base set to be able to \
create a Surface and flags to create<br /> additional interfaces. This replaces the \
KWayland connection dance in<br /> init() methods. For cleanup() there is also a \
dedicated helper function.</p>

<p>In addition there are helper functions to:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">render a surface</li>
<li class="remarkup-list-item">create a surface</li>
<li class="remarkup-list-item">create a shell surface</li>
<li class="remarkup-list-item">flush the wayland client connection</li>
<li class="remarkup-list-item">access to the created interfaces - for compatibility \
with existing code</li> </ul>

<p>The idea is to extend this Test library also for other common use cases<br />
like creating an X11 connection and X11 windows, etc.</p></div></div><br \
/><div><strong>REPOSITORY</strong><div><div>rKWIN KWin</div></div></div><br \
/><div><strong>BRANCH</strong><div><div>autotest-refactoring</div></div></div><br \
/><div><strong>REVISION DETAIL</strong><div><a \
href="https://phabricator.kde.org/D2053" \
rel="noreferrer">https://phabricator.kde.org/D2053</a></div></div><br \
/><div><strong>AFFECTED \
FILES</strong><div><div>autotests/integration/CMakeLists.txt<br /> \
autotests/integration/debug_console_test.cpp<br /> \
autotests/integration/decoration_input_test.cpp<br /> \
autotests/integration/dont_crash_cancel_animation.cpp<br /> \
autotests/integration/dont_crash_empty_deco.cpp<br /> \
autotests/integration/dont_crash_no_border.cpp<br /> \
autotests/integration/input_stacking_order.cpp<br /> \
autotests/integration/kwin_wayland_test.h<br /> \
autotests/integration/lockscreen.cpp<br /> autotests/integration/maximize_test.cpp<br \
/> autotests/integration/move_resize_window_test.cpp<br />
autotests/integration/plasma_surface_test.cpp<br />
autotests/integration/plasmawindow_test.cpp<br />
autotests/integration/pointer_input.cpp<br />
autotests/integration/quick_tiling_test.cpp<br />
autotests/integration/shell_client_test.cpp<br />
autotests/integration/start_test.cpp<br />
autotests/integration/struts_test.cpp<br />
autotests/integration/test_helpers.cpp<br />
autotests/integration/touch_input_test.cpp<br />
autotests/integration/transient_no_input_test.cpp<br />
autotests/integration/transient_placement.cpp</div></div></div><br \
/><div><strong>EMAIL PREFERENCES</strong><div><a \
href="https://phabricator.kde.org/settings/panel/emailpreferences/" \
rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br \
/><div><strong>To: </strong>graesslin, KWin, Plasma on Wayland<br /><strong>Cc: \
</strong>plasma-devel, kwin, hardening, jensreuterberg, sebas<br /></div>


[Attachment #6 (text/plain)]

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic