libei/test
Peter Hutterer 3fa396c012 test: add a framework for doing protocol tests directly
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...
2023-03-03 11:27:01 +10:00
..
templates test: drop a bunch of unused imports 2023-02-15 08:20:01 +10:00
buildtest.c Purge libreis from the repo 2023-02-09 11:48:28 +10:00
buildtest.cc Add C++ header guards 2020-09-29 17:30:49 +10:00
eierpecken.c Remove the public API to query the client version number 2023-02-13 13:55:44 +10:00
eierpecken.h Add a sequence number to START_EMULATING 2023-02-09 11:48:29 +10:00
eiproto.py.tmpl test: add a framework for doing protocol tests directly 2023-03-03 11:27:01 +10:00
meson.build test: add a framework for doing protocol tests directly 2023-03-03 11:27:01 +10:00
test-ei-device.c test: set the minimum bits for our test devices 2023-02-20 15:43:22 +10:00
test-ei-seat.c test: rename the ei AUTOCONNECT behavior to HANDLE_CONNECT 2022-08-01 11:26:32 +10:00
test-ei.c Purge the properties from the protocol 2023-02-09 11:48:29 +10:00
test-eis.c Remove the public API to query the client version number 2023-02-13 13:55:44 +10:00
test-main.c Add SPDX identifiers to all source files 2022-03-03 00:27:36 +00:00
test_oeffis.py Format python files with black 2023-02-01 11:48:53 +10:00
test_protocol.py test: add a framework for doing protocol tests directly 2023-03-03 11:27:01 +10:00
unit-tests.c Add SPDX identifiers to all source files 2022-03-03 00:27:36 +00:00