Commit graph

14 commits

Author SHA1 Message Date
glasseyes
416aaec057 rename new tests to 038, 039 2018-12-18 08:41:21 +07:00
glasseyes
e6b5c90a1f cleanup change_keyboard 2018-12-17 20:17:49 +07:00
glasseyes
d87dc62dcf use keypress_actions instead of pynput 2018-12-17 20:17:14 +07:00
glasseyes
334f2dacfc keypress_actions: add ctrlr, port to python3 2018-12-17 20:14:36 +07:00
glasseyes
1c2eca06f2 tests for punctuation keys and generic ctrlalt 2018-12-17 20:09:24 +07:00
glasseyes
eff3abd8bb add keypress_actions and sequence_step from LDTP
This file may be distributed and/or modified under the terms of the GNU Lesser General
Public License version 2 as published by the Free Software Foundation. This file
is distributed without any warranty; without even the implied warranty of
merchantability or fitness for a particular purpose.
2018-12-17 17:52:38 +07:00
glasseyes
32a6d9bb9b doc pynput dependency 2018-12-17 11:39:18 +07:00
glasseyes
06fb0ad807 doc for ibus-keyman tests 2018-12-17 11:37:30 +07:00
glasseyes
f6bc8526ec slightly longer sleep more reliable 2018-12-17 10:25:03 +07:00
glasseyes
782ea67ce8 use thread Timer to start keypresses and close win
use sleep to slow down keypresses to more natural level
at full speed ibus_set_surrounding_text events were coming in
which got text 1 or 2 keypresses behind

changing the timing also allows initial context to work so
re-enabled test 5

all 20 tests now pass :)
2018-12-17 10:25:03 +07:00
glasseyes
ec8c135bab handle beep test 2018-12-17 10:25:03 +07:00
glasseyes
f0dbfaea6a run beep test again
some clean up of comments
reset to US keyboard before every test
2018-12-17 10:25:03 +07:00
glasseyes
24e488817a set xkb kb to us before test 2018-12-17 10:25:03 +07:00
glasseyes
4af0250dd2 WIP: ibus-keyman test program 2018-12-17 10:25:03 +07:00