kwin/cmake/modules
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
..
COPYING-CMAKE-SCRIPTS
Findepoxy.cmake Bind building of glx support on whether epoxy has a glx header 2015-11-03 09:29:31 +01:00
FindFontconfig.cmake [wayland] Add a QPA plugin for kwin_wayland 2015-08-25 14:33:50 +02:00
Findgbm.cmake Initial implementation of EglGbmBackend 2015-04-24 12:03:19 +02:00
FindLibcap.cmake Use real-time scheduling policy for kwin_wayland 2017-09-29 20:23:57 +02:00
FindLibdrm.cmake [autotests] Add tests for DRM platform plugin 2017-11-21 19:27:33 +01:00
Findlibhybris.cmake Don't look out for libis 2016-05-30 12:45:38 +05:30
FindLibinput.cmake Initial support for libinput 2014-10-20 14:51:24 +02:00
FindQt5EventDispatcherSupport.cmake [plugins/qpa] support use of modularized qtplatformsupport from Qt 5.8 2016-10-28 21:12:48 +09:00
FindQt5FontDatabaseSupport.cmake [plugins/qpa] support use of modularized qtplatformsupport from Qt 5.8 2016-10-28 21:12:48 +09:00
FindQt5PlatformSupport.cmake Fix build with Qt 5.6 2015-12-03 18:28:10 +01:00
FindQt5ThemeSupport.cmake [plugins/qpa] support use of modularized qtplatformsupport from Qt 5.8 2016-10-28 21:12:48 +09:00
FindUDev.cmake replace reference to licence with the bsd licence as the reference often goes missing 2015-04-23 16:10:00 +02:00
FindXKB.cmake replace reference to licence with the bsd licence as the reference often goes missing 2015-04-23 16:10:00 +02:00
FindXwayland.cmake Check for Xwayland as RUNTIME dependency 2016-02-03 15:49:05 +01:00