kwin/autotests/integration
Martin Gräßlin 055e2b3bb6 [autotests] Add a new test case which can verify the rendering of QPainter Scene
Summary:
The idea behind this autotest is inspired by bug 356328 which produced
incorrect rendering results. Also it's inspired by openQA which performs
image reference comparisons.

This test case tries to go further. It creates reference images which
must match the rendering result exactly. So far the test case verifies
the start condition - kwin started and one frame is rendered with default
cursor in the middle of the screen. And it verifies the moving of the
cursor without any windows shown. Whenever the cursor moves a repaint
should be triggered and the old and new area should be properly
repainted.

To support this the test needs some minor changes in KWin:
* Scene provides a frameRendered signal - needed for waiting on frame
* Scene and SceneQPainter are exported
* SceneQPainter provides access to it's Backend, so that we get to the
 backbuffer
* ScriptedEffectLoader is exported for getting a list of all scripted
 effects - (we don't want fade to manipulate the rendering)

Reviewers: #kwin, #plasma_on_wayland

Subscribers: plasma-devel, kwin

Tags: #plasma_on_wayland, #kwin

Differential Revision: https://phabricator.kde.org/D2046
2016-07-01 09:00:19 +02:00
..
data/anim-data-delete-effect
helper
CMakeLists.txt [autotests] Add a new test case which can verify the rendering of QPainter Scene 2016-07-01 09:00:19 +02:00
debug_console_test.cpp
decoration_input_test.cpp
dont_crash_aurorae_destroy_deco.cpp
dont_crash_cancel_animation.cpp
dont_crash_empty_deco.cpp
dont_crash_glxgears.cpp
dont_crash_no_border.cpp
input_stacking_order.cpp
internal_window.cpp
kwin_wayland_test.cpp
kwin_wayland_test.h
lockscreen.cpp
maximize_test.cpp
move_resize_window_test.cpp
plasma_surface_test.cpp
plasmawindow_test.cpp
platformcursor.cpp
pointer_input.cpp
quick_tiling_test.cpp
scene_qpainter_test.cpp [autotests] Add a new test case which can verify the rendering of QPainter Scene 2016-07-01 09:00:19 +02:00
shade_test.cpp
shell_client_test.cpp
start_test.cpp
struts_test.cpp
touch_input_test.cpp
transient_no_input_test.cpp
transient_placement.cpp
xclipboardsync_test.cpp