[autotest] Add a test case for KWin::LibInput::Device
ClosedPublic

Authored by graesslin on May 20 2016, 1:51 PM.

Details

Summary

The usage of libinput is completely mocked. The test covers all the
constant properties read by Device.

There are some features which are not yet tested:

  • alphaNumericKeyboard
  • supportedButtons
  • enabled

The setters for leftHanded and pointerAcceleration are also covered
including the variants where it can fail.

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
graesslin updated this revision to Diff 3907.May 20 2016, 1:51 PM
graesslin retitled this revision from to [autotest] Add a test case for KWin::LibInput::Device.
graesslin updated this object.
graesslin edited the test plan for this revision. (Show Details)
graesslin added a reviewer: Plasma.
Restricted Application added a project: Plasma. · View Herald TranscriptMay 20 2016, 1:51 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
mart accepted this revision.May 20 2016, 2:58 PM
mart added a reviewer: mart.
This revision is now accepted and ready to land.May 20 2016, 2:58 PM
This revision was automatically updated to reflect the committed changes.