kwin/autotests/libinput
Martin Flöser ba0cf19286 Fix dbus export of property Device::supportedButtons
Summary:
When launching the touchpad kcm we see the following warning:
    Error on d-bus read of "supportedButtons"

And the Gui shows "Error while loading values. See logs for more
information. Please restart this configuration module".

By extending the unit test for reading back the properties through DBus
I noticed that it's not trivially possible to export QFlags to DBus. As
the QFlags can be implicitly casted to int, the property is changed to
an int value.

Test Plan: Test case adjusted, did not pass prior to change, passes now.

Reviewers: #kwin

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D17472
2018-12-13 19:36:28 +01:00
..
CMakeLists.txt Require libinput version 1.9 2018-01-21 11:15:41 +01:00
context_test.cpp Remove Qt module declarations in includes 2018-06-05 18:07:23 +01:00
device_test.cpp Fix dbus export of property Device::supportedButtons 2018-12-13 19:36:28 +01:00
gesture_event_test.cpp Remove Qt module declarations in includes 2018-06-05 18:07:23 +01:00
input_event_test.cpp Remove Qt module declarations in includes 2018-06-05 18:07:23 +01:00
key_event_test.cpp Remove Qt module declarations in includes 2018-06-05 18:07:23 +01:00
mock_libinput.cpp Require libinput version 1.9 2018-01-21 11:15:41 +01:00
mock_libinput.h [libinput] Add support for switch devices and events 2018-01-04 18:05:44 +01:00
mock_udev.cpp [autotest/libinput] Add a basic test for Context 2016-06-02 15:55:34 +02:00
mock_udev.h [autotest/libinput] Add a basic test for Context 2016-06-02 15:55:34 +02:00
pointer_event_test.cpp Remove Qt module declarations in includes 2018-06-05 18:07:23 +01:00
switch_event_test.cpp Remove Qt module declarations in includes 2018-06-05 18:07:23 +01:00
touch_event_test.cpp Remove Qt module declarations in includes 2018-06-05 18:07:23 +01:00