Merge lp://qastaging/~brandontschaefer/nux/xim-tests into lp://qastaging/nux
Status: | Superseded | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Proposed branch: | lp://qastaging/~brandontschaefer/nux/xim-tests | ||||||||||||
Merge into: | lp://qastaging/nux | ||||||||||||
Prerequisite: | lp://qastaging/~paulliu/nux/nux | ||||||||||||
Diff against target: |
2994 lines (+1234/-416) 14 files modified
Nux/TextEntry.cpp (+2/-2) NuxGraphics/GraphicsDisplayX11.cpp (+260/-338) NuxGraphics/GraphicsDisplayX11.h (+25/-33) NuxGraphics/Makefile.am (+5/-3) NuxGraphics/XIMClient.cpp (+186/-0) NuxGraphics/XIMClient.h (+69/-0) NuxGraphics/XInputWindow.cpp (+22/-1) NuxGraphics/XInputWindow.h (+3/-0) examples/Makefile.am (+2/-2) tests/Makefile.am (+11/-2) tests/nux_automated_test_framework.cpp (+114/-30) tests/nux_automated_test_framework.h (+7/-5) tests/xim-test-commands.txt (+52/-0) tests/xtest-text-entry-xim.cpp (+476/-0) |
||||||||||||
To merge this branch: | bzr merge lp://qastaging/~brandontschaefer/nux/xim-tests | ||||||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jay Taoko (community) | Needs Fixing | ||
Review via email:
|
This proposal has been superseded by a proposal from 2012-08-22.
Commit message
XIM Support and Tests.
Description of the change
Test for the XIM branch.
This lets users add test for each IM easily in the text file xim-test-commands. Ill probably have to write documentation but there are examples for 3 IMs.
The bases is:
0 = like an init function. It starts the IM with the name you give it.
1 = Key sequences to get the IM in the correct state. ie. ctrl+space
2 = Input you would type into your IM, ie. ninhao
3 = Checks the current text with what it should be.
4 = halt. So we know when to end the current IM test.
To test the three I have in there you'll need: fcitx, hime, and gcin
Still a WIP
The test is failing on my system. When the program runs, some of the xim test passes while other fails. Anything I am missing on my system? In running on precise.