spiegel-keyman/linux/keyman-system-service/tests
Eberhard Beilharz e4c7332e1c
refactor(linux): use OrderedOutputDeviceMock when running tests
When running tests we use the `OrderedOutputDeviceMock` class which sends a
dbus message for a sentinel key press instead of creating/using a real
"virtual" keyboard.
2025-02-14 16:42:08 +01:00
..
services feat(linux): Add system service to toggle capslock LED 2023-05-15 09:13:58 +02:00
KeyboardDeviceMock.cpp refactor(linux): Implement ordered output sentinel in keyman-system-service 2025-02-05 11:42:04 +01:00
meson.build refactor(linux): use OrderedOutputDeviceMock when running tests 2025-02-14 16:42:08 +01:00
OrderedOutputDeviceMock.cpp refactor(linux): use OrderedOutputDeviceMock when running tests 2025-02-14 16:42:08 +01:00
README.md feat(linux): Add system service to toggle capslock LED 2023-05-15 09:13:58 +02:00

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.