tests: fix handling globals
authorMarek Chalupa <mchqwerty@gmail.com>
Mon, 30 Mar 2015 10:37:56 +0000 (06:37 -0400)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Tue, 31 Mar 2015 07:12:57 +0000 (10:12 +0300)
commit643d85f76d5118835ac04ed549829dbe8da83e52
treeb5c232129b6306f64cc1f27bf6cc842d9364d2f0
parentc8daf77f91dabff9d9c8a17de36c7b17591025a9
tests: fix handling globals

We used hard-coded version 1 for all globals. For testing
newer methods and events we need use the current version
of global. This patch fixes this and adds missing
event handlers (for the events that were added in
versions > 1)

Signed-off-by: Marek Chalupa <mchqwerty@gmail.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
tests/weston-test-client-helper.c
tests/weston-test-client-helper.h