tests: Add unit test for touch event handling
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Thu, 7 Jun 2012 09:08:49 +0000 (11:08 +0200)
committerTomeu Vizoso <tomeu.vizoso@collabora.com>
Thu, 7 Jun 2012 10:12:56 +0000 (12:12 +0200)
commitb339b845cb7620e4784e3f03b944821bde17ab1d
tree1c0172201ac4797d53e07eedef0059f13cb9e1d8
parentebb61dea1fa7a8cf09f8ef3ce7d760442461cdb6
tests: Add unit test for touch event handling

For now, it just generates a simple horizontal slide (by writing
to /dev/uinput) and checks that the stage gets the events at the
expected coordinates.

The test won't run if it doesn't have read/write permissions to
/dev/uinput.

It also adds OS_LINUX to config.h.
configure.ac
tests/conform/Makefile.am
tests/conform/events-touch.c [new file with mode: 0644]
tests/conform/test-conform-common.c
tests/conform/test-conform-main.c