Fix commit-string test
authorMichael Hasselmann <michaelh@openismus.com>
Sun, 1 Apr 2012 17:51:04 +0000 (19:51 +0200)
committerMichael Hasselmann <michaelh@openismus.com>
Sun, 1 Apr 2012 17:53:06 +0000 (19:53 +0200)
commitc8a998fcd8d00dae25b12e3c1358cf77fab339f8
tree7c8bc58d5c38d566c36e65077b5e9ec1a052cf1a
parent66200cb20be80d57a33bedfda8433b454fbd2a3d
Fix commit-string test

RevBy: TrustMe
Preedit changes behaviour of commit, as without preedit, we would just always
commit immediately. Made test more readible and less likely to break by
introding key origin lookup, which makes it more visible which key we are about
to use.
maliit-keyboard/tests/commit-string/main.cpp
maliit-keyboard/tests/common/inputmethodhostprobe.cpp
maliit-keyboard/tests/common/inputmethodhostprobe.h