summaryrefslogtreecommitdiff
path: root/tests/server/grab.cpp
AgeCommit message (Collapse)AuthorFilesLines
2012-11-02Use VIRTUAL_CORE_POINTER_ID instead of numeric valuePeter Hutterer1-2/+2
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-10-31common: rename InputDriverTest to XITServerInputTestPeter Hutterer1-7/+7
It doesn't do anything with drivers, this is a legacy name. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-10-29Drop InitDefaultLogFiles helperPeter Hutterer1-2/+0
Both the config and the server now default to these log file paths Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-10-26Use XORG_TESTCASE macro for test case descriptionsPeter Hutterer1-18/+18
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-10-26Untangle configuration managementPeter Hutterer1-2/+2
InputDriverTest can simply set up a server that runs against a log file. Move the param == driver config install to SimpleInputDriverTest, duplicate for the single void driver that needs the same test. Everything else sets up its own logfile anyway. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-10-25tests/server: update all tests to use default log/config file namesPeter Hutterer1-6/+4
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-10-25server/grab: add tests for touch passive grab pointer emulationPeter Hutterer1-5/+146
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-10-25server/grab: test case for erronous TouchEnd events (#55738)Peter Hutterer1-0/+117
X.Org Bug 55738 <http://bugs.freedesktop.org/show_bug.cgi?id=55738> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-10-25server/grab: fix typo in Option CoreKeyboardPeter Hutterer1-1/+1
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-10-25server/grab: remove fork() hack now that we have a generic XIO error handlerPeter Hutterer1-26/+17
xorg-gtest now sports a generic XIO error handler, so we don't need the fork game anymore. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-09-28server/grab: add test case for crash on disabled device grab (#54934)Peter Hutterer1-0/+36
A grab on a disabled device crashes the server due to device->spriteInfo.sprite being NULL on disabled devices. This only applies to XI1 grabs, for XI2 grabs the device is detached from the master, assigning it a sprite (which is wrong too, but it doesn't trigger the crash) X.Org Bug 54934 <http://bugs.freedesktop.org/show_bug.cgi?id=54934> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2012-08-27Rearrange directory layoutPeter Hutterer1-0/+135
Before this gets too messy, split the tests up into common sources and the various tests of input drivers, library and server. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>