gri3-wm/testcases
Michael Stapelberg 3e7a07e48d tests: add inject_randr15 (#2573)
This tool is similar to xtrace in usage in that it intercepts traffic to
the X server. The motivating feature for writing the tool is its ability
to inject prepared reply messages instead of the server’s reply. In
this particular case, we’ll inject a RRGetMonitors reply to test i3’s
RandR 1.5 code paths.

The added testcase is a noop for now, but with the code that’s lingering
in the randr15 branch, i3 does actually detect monitors as per the
injected reply:

    2016-11-20 21:10:05 - randr.c:__randr_query_outputs:618 -
      RandR 1.5 available, querying monitors
    2016-11-20 21:10:05 - randr.c:__randr_query_outputs:628 -
      1 RandR monitors found (timestamp 0)
    2016-11-20 21:10:05 - randr.c:__randr_query_outputs:646 -
      name DP3, x 0, y 0, width 3840 px, height 2160 px, width 520 mm,
      height 290 mm, primary 1, automatic 1

This is preparation work for issue #1799
2016-11-20 23:20:14 -08:00
..
lib tests: add inject_randr15 (#2573) 2016-11-20 23:20:14 -08:00
t tests: add inject_randr15 (#2573) 2016-11-20 23:20:14 -08:00
.gitignore Testcases: Use Xephyr instead of XDummy 2014-10-02 23:05:00 +02:00
Makefile.PL Bump testsuite dependencies versions 2015-04-11 21:24:01 +06:00
complete-run.pl.in testsuite: use relative paths, set PATH to absolute path 2016-10-23 21:09:24 +02:00
i3-test.config Extend the fullscreen command 2014-12-10 20:42:52 +01:00
inject_randr1.5.c tests: add inject_randr15 (#2573) 2016-11-20 23:20:14 -08:00
new-test Remove pointer warp from test boilerplate 2013-12-10 21:52:50 +01:00
restart-state.golden tests: implement restart testing (actual option still missing) 2011-12-21 23:15:30 +00:00
valgrind.supp Add valgrind suppression file to testcases 2014-03-10 17:37:41 +01:00