kwin/plugins/platforms
Martin Flöser d4ba05a22f [autotests] Add tests for DRM platform plugin
Summary:
The addition of the test infrastructure is motivated by the regressions
caused by adding mode switching and transformation support.
A contributing factor to these regression is the fact that the DRM
platform does not have any tests. It is difficult to test this code as
it needs to work with hardware, thus we cannot use the real DRM library.
Instead we need to use mocking.

This change sets up some first basic tests with the help of a mockDrm
library. In order to better test the code as units the Drm classes are
slightly refactored. Most importantly the dependency to DrmBackend is
removed wherever possible and replaced by a simple int fd which is mostly
the only element used by the classes.

This first test introduces basic testing of a DrmObject. It is intended
to extend this to at least also test DrmPlane as a central piece of our
Drm platform plugin. This will also extend the tests of DrmObject.

Reviewers: #kwin, #plasma

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D8776
2017-11-21 19:27:33 +01:00
..
drm [autotests] Add tests for DRM platform plugin 2017-11-21 19:27:33 +01:00
fbdev [platforms/fbdev] Support for RGBA8888 color format 2017-10-23 13:44:53 +05:30
hwcomposer [platforms/hwcomposer] Set value of surfaceDamage.numRects to 0 2017-11-02 10:21:37 +05:30
virtual SVN_SILENT made messages (.desktop file) - always resolve ours 2017-11-14 05:58:20 +01:00
wayland Add a pure virtual method to Platform to describe the supported compositors 2017-10-18 21:19:43 +02:00
x11 Merge branch 'Plasma/5.11' 2017-11-20 18:13:35 +01:00
CMakeLists.txt Hide the Linux specific parts behind check for headers 2017-07-24 16:19:27 +02:00