mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 16:35:33 +00:00
Previously keyman-system-service didn't have any unit tests. With the gcov/lcov versions available for Ubuntu 24.04 Noble this suddenly caused a failure when trying to generate the test coverage report, although it worked fine with older versions. This change adds a do-nothing unit test stub for keyman-system-service. This allows to generate the coverage reporting with Ubuntu 24.04 Noble. Cherry-pick-of: #13740 |
||
|---|---|---|
| .. | ||
| services | ||
| KeyboardDeviceMock.cpp | ||
| meson.build | ||
| OrderedOutputDeviceMock.cpp | ||
| README.md | ||
| testfixture.cpp | ||
keyman-system-service tests
This directory defines a keyman-test-service. This is mostly identical to keyman-system-service. The differences are:
- it runs on the session bus instead of system bus
- KeyboardDevice (which in production interacts with evdev) is mocked so that the tests don't require root permissions.
The keyman-test-service gets called/used by the ibus-keyman integration tests.