Add a test for the results of key sequences
authorRan Benita <ran234@gmail.com>
Tue, 10 Apr 2012 18:20:27 +0000 (21:20 +0300)
committerDaniel Stone <daniel@fooishbar.org>
Mon, 18 Jun 2012 14:19:24 +0000 (15:19 +0100)
commit0015604ade738f139fc551c9132bd726634315f6
tree7e651456837628cfc1993e99732dbc7bbdf8ca35
parentcd5a827402f1a8d989964bbaf88b47cbe70ee106
Add a test for the results of key sequences

This test verifies the core purpose of this library, which is to
translate the user's keypresses into keysyms according to the keymap and
the XKB specification.

The tests emulate a series of key presses, and checks that the resulting
keysyms are what we expect.

Several of the tests currently fail, and plenty more should be added and
maybe split up.

It also currently uses an RMLVO keymap, which comes from the
xkeyboard-config data set, and whose behaviour may change in the future.
So it should probably be changed to use several files of our own, but
it's OK for now.

Signed-off-by: Ran Benita <ran234@gmail.com>
Makefile.am
test/.gitignore
test/keyseq.c [new file with mode: 0644]