Add unit tests for control event serialization

Test serialization of the 4 types of events (keycode, text, mouse,
scroll).
This commit is contained in:
Romain Vimont 2018-01-19 16:55:39 +01:00
commit 52af91f6b0
2 changed files with 105 additions and 0 deletions

View file

@ -35,6 +35,7 @@ executable('scrcpy', src, dependencies: dependencies)
tests = [
['test_control_event_queue', ['tests/test_control_event_queue.c', 'src/controlevent.c']],
['test_control_event_serialize', ['tests/test_control_event_serialize.c', 'src/controlevent.c']],
['test_strutil', ['tests/test_strutil.c', 'src/strutil.c']],
]