autotest/virt-test — pull request #53 by krcmarik (2012-10-09 13:11:19+00:00)
Title: spice: Keyboard input tests

This pull request introduces Keyboard inputs tests for spice input channel. The idea is simple:
- Send scancode of a key to client VM with using qemu monitor and catch the keycode on the guest VM with using simple wxPython form (so may work on Windows guest once It's possible to get python there automatically).
- Store all caught keycodes and compare them with expected keycodes.

Tests:
- Send Typewriter and functional keys
- Send Escaped keys and Leds keys
- Send some chosen keys with non-us layouts (cs, de)
- Check status of leds after migration

Leds are checked by sending i.e "a" "CpsLk" and "a" which should produce two different keycodes for "a" and "A".