tests: Handle removal of seat global in test clients
authorAlexandros Frantzis <alexandros.frantzis@collabora.com>
Thu, 8 Feb 2018 13:37:55 +0000 (15:37 +0200)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Thu, 15 Feb 2018 11:14:44 +0000 (13:14 +0200)
commitc1937971fbfc144aaa60b1fa82ca17fa8831e2c0
tree2d73b8b1ea40fc4c0b733cbf2f3fcbe909ee614c
parent8480d13f6d9edd38483faa3538e2c96bf721c6b1
tests: Handle removal of seat global in test clients

The current test client code completely ignores removal of globals.
This commit updates the code to properly handle removal of globals in
general, and of seat globals in particular. This ensures that the test
client objects are in sync with the server and any relevant resources
are released accordingly.

This update will be used by upcoming tests to check that seat removal
and re-addition is working properly.

Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
tests/weston-test-client-helper.c
tests/weston-test-client-helper.h