libei/test
Peter Hutterer 327dd4f8b1 test: fix string encoding in the python test bindings
The protocol encoding is the string including the null byte. The test
wrappers sent the right string length but only encoded strlen() bytes so
where we had a string that's a multiple of 4 long we ended up claiming
it's a byte longer than was on the wire.

Part-of: <https://gitlab.freedesktop.org/libinput/libei/-/merge_requests/314>
2024-12-03 13:18:54 +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 test: make the c++ build test mirror the c build test 2024-12-02 00:23:14 +00:00
conftest.py test: run pytest with xdist where available 2023-03-03 11:27:01 +10:00
eierpecken.c test: improve debugging for failed event type comparisons 2024-11-27 02:13:53 +00:00
eierpecken.h test: print the line no for peck_ei(s)_assert_no_events 2024-11-27 02:13:53 +00:00
eiproto.py.tmpl test: fix string encoding in the python test bindings 2024-12-03 13:18:54 +10:00
meson.build meson.build: allow disabling libei and libeis 2024-12-02 00:23:14 +00:00
test-ei-device.c test: add tests for multiple regions 2024-08-07 10:51:12 +10:00
test-ei-seat.c test: switch to use ei_seat_bind_capabilities() 2023-05-10 12:21:40 +10:00
test-ei.c ei: keep a cache of defunct objects to avoid spamming the log 2023-11-09 12:47:06 +10:00
test-eis.c test: make bug logs fatal by default 2023-11-09 10:15:38 +10:00
test-main.c Remove empty trailing newlines from all files 2023-03-13 08:52:08 +10:00
test_oeffis.py oeffis: OEFFIS_DEVICE_ALL_DEVICES should translate to "all" 2023-12-14 00:58:18 +00:00
test_protocol.py Drop black, switch to ruff format 2024-10-17 16:18:51 +10:00
test_scanner.py ei-scanner: expose version_arg and version_arg_for 2023-05-26 16:56:13 +10:00
unit-tests.c Add SPDX identifiers to all source files 2022-03-03 00:27:36 +00:00