spiegel-keyman/linux/ibus-keyman/tests/dbus-test-server/KmDbusTestServer.h
Eberhard Beilharz 0c2d8f0312
refactor(linux): changes to get integration tests working
This change contains various changes and refactorings which together
allows the integration tests to pass again.

One of the important changs is `DbusTestHelper` which listens to a DBus
signal for a sentinel message and then simulates the sentinel key press.
Getting this to work also requires processing sd-bus messages which hooks
into the glib event loop and is implemented in `EventSource`.

Fixes: #13204
2025-02-14 17:30:42 +01:00

8 lines
300 B
C

#ifndef __KMDBUSTESTSERVER_H__
#define __KMDBUSTESTSERVER_H__
#define KEYMAN_TESTSVC_BUS_NAME "com.keyman.ExitTestService"
#define KEYMAN_TESTSVC_OBJECT_PATH "/com/keyman/ExitTestService/Exit"
#define KEYMAN_TESTSVC_INTERFACE_NAME "com.keyman.ExitTestService.Exit"
#endif // __KMDBUSTESTSERVER_H__