Commit graph

8 commits

Author SHA1 Message Date
Uli Schlachter
b82a03f403 Test: Factor out string-comparision helper function
This function compares strings, handles NULL (almost) correctly, prints an error
if a mismatch occurs and returns a suitable int result.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2015-04-04 23:18:03 +02:00
Uli Schlachter
3a6db57743 Test suite: Add tests for XGE event handling
Signed-off-by: Uli Schlachter <psychon@znc.in>
2015-04-04 17:37:47 +02:00
Uli Schlachter
862579778a Also return the extension name for events and errors
Signed-off-by: Uli Schlachter <psychon@znc.in>
2015-04-04 16:45:47 +02:00
Uli Schlachter
761079ac8a Test: Skip tests if no X11 server is available
This was suggested by Ran Benita, thanks!

Signed-off-by: Uli Schlachter <psychon@znc.in>
2015-04-04 16:17:09 +02:00
Uli Schlachter
f6a28cbbad test: Also test minor requests for some core requests
Signed-off-by: Uli Schlachter <uli.schlachter@informatik.uni-oldenburg.de>
2015-03-25 10:53:04 +01:00
Uli Schlachter
95539d3c96 tests: Add tests for RandR
Signed-off-by: Uli Schlachter <uli.schlachter@informatik.uni-oldenburg.de>
2015-03-25 10:51:15 +01:00
Uli Schlachter
059bfdbed8 Add an autotools-based build system
This is based on util-cursor's build system and libxcb/configure.ac for finding
xcb-proto's XML files.

Signed-off-by: Uli Schlachter <uli.schlachter@informatik.uni-oldenburg.de>
2015-03-25 10:32:21 +01:00
Uli Schlachter
e8b35be19f Begin work on a test suite
Signed-off-by: Uli Schlachter <psychon@znc.in>
2015-03-24 21:56:53 +01:00