test-unit-serialize: add a very basic test that command deserialization works
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 23 Apr 2021 10:37:09 +0000 (12:37 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 26 Apr 2021 14:15:26 +0000 (16:15 +0200)
commit35243b77360c9cc7d1446617fe4fd304bfdecd4c
tree7f9ce3d4ee09fc0869f32c87a3d8b8e529d347c6
parent90204792461030dbc8645d8511e7ac8d1b4f1ca2
test-unit-serialize: add a very basic test that command deserialization works

We should test both serialization and deserialization works properly.
But the serialization/deserialization code is deeply entwined with the
manager state, and I think quite a bit of refactoring will be required before
this is possible. But let's at least add this simple test for now.
src/core/service.c
src/core/service.h
src/test/meson.build
src/test/test-unit-serialize.c [new file with mode: 0644]