mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-01-02 09:50:09 +01:00
This tests the protocol layer which is hard to test using libei/libeis. Similar to the generated C bindings we compile a eiproto.py file that is then used in the test to talk protocol directly to the eis-demo-server that we start up. By sending the specific messages and checking things happen as we expect on the socket we can verify that the EIS implementation is correct (and robust enough). In theory this could also be used to test some other binary with an EIS implementation and the scaffolding is there to set LIBEI_TEST_SERVER to that binary. Wether this works is untested though... |
||
|---|---|---|
| .. | ||
| templates | ||
| buildtest.c | ||
| buildtest.cc | ||
| eierpecken.c | ||
| eierpecken.h | ||
| eiproto.py.tmpl | ||
| meson.build | ||
| test-ei-device.c | ||
| test-ei-seat.c | ||
| test-ei.c | ||
| test-eis.c | ||
| test-main.c | ||
| test_oeffis.py | ||
| test_protocol.py | ||
| unit-tests.c | ||