tests: introduce create_client()
authorPekka Paalanen <pekka.paalanen@collabora.co.uk>
Thu, 26 Mar 2015 10:49:35 +0000 (12:49 +0200)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Thu, 2 Apr 2015 09:54:04 +0000 (12:54 +0300)
commit1ffd4615e84c03728ae13aa8343cce59ceeeeb49
treebe41a7e4ac0ed76c83291cef19ff7fd23ff30992
parent5fd814090e10fad6c39533852732c2bf4a967a7a
tests: introduce create_client()

Introduce a new helper create_client(), which creates and initializes
the client struct, but does not create a wl_surface.

This will be useful for ivi-shell tests.

v2: Rebased, and restored the dependency to weston-test.so, since seat
handling requires it.

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