Implements MouseEventCheckTest for libinput haltests
authordyamy-lee <dyamy.lee@samsung.com>
Wed, 21 Apr 2021 07:36:59 +0000 (16:36 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Mon, 4 Dec 2023 10:31:00 +0000 (19:31 +0900)
commitac2ab1cf8a42422815a509539c1c2fb58e113c94
tree0f0574b82d5d859de07dd0fd3726ba5055cfe19d
parente7608eda9943703a6a64c290a8213a3f9cae925d
Implements MouseEventCheckTest for libinput haltests

For test, get lists of libinput devices and check validation of created mouse event.
It generates libinput mouse event and saves sequencely. For example, mouse left button down, move, up.
It checkes devices capability which is mouse, and checkes matching of events. If one of them checked successfully same events as created events, other mouse devices can be skipped.

Change-Id: Ifa06d24d0796eb3b207dc30f13b924af1804a3e1
haltests/meson.build
haltests/test_hal_libinput.cpp
haltests/test_hal_libinput_eventgen.cpp [new file with mode: 0644]
haltests/test_hal_libinput_eventgen.h [new file with mode: 0644]
haltests/test_hal_libinput_info.cpp
haltests/test_hal_libinput_info.h