tests: Add event-test, which tests for a few incoming events
authorKristian Høgsberg <krh@bitplanet.net>
Fri, 27 Apr 2012 19:02:56 +0000 (15:02 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 27 Apr 2012 19:03:06 +0000 (15:03 -0400)
commit3018b4431bc57b2ce3faae69e919ff713064873c
treeddc9e03393fb67c1ddd3adb4e574d8d55d6d96c9
parentdd90921d878c9d2ace742091f81684a3db72a5ff
tests: Add event-test, which tests for a few incoming events

We check that we get surface.enter_output and move the pointer into
the window and make sure we get input_device.pointer_enter with
the right coordinates.

There's a lot of code for a very simple test here, so we need to
figure out how to reuse most of the event handling and such.  It's also
not clear that a custom, text based protocol is practical here, we might
just use a wayland extension after all.
tests/Makefile.am
tests/event-test.c [new file with mode: 0644]
tests/test-client.c
tests/test-runner.c
tests/test-runner.h