Implements MouseEventCheckTest for libinput haltests
authordyamy-lee <dyamy.lee@samsung.com>
Wed, 21 Apr 2021 07:36:59 +0000 (16:36 +0900)
committerduna.oh <duna.oh@samsung.com>
Fri, 27 Jan 2023 05:46:25 +0000 (14:46 +0900)
commit4ac581e208d447fbf28470c80ac5eefa8bcb2fd2
tree8b58f6e65e8ea6abb5c195e3d3bd0922abf5e43c
parentb6267020ddcc2c529bbb2e5550699513806492d4
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