Nux

Merge lp://qastaging/~brandontschaefer/nux/xim-tests into lp://qastaging/nux

Proposed by Brandon Schaefer
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
Reviewer Review Type Date Requested Status
Jay Taoko (community) Needs Fixing
Review via email: mp+115589@code.qastaging.launchpad.net

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

To post a comment you must log in.
Revision history for this message
Jay Taoko (jaytaoko) wrote :

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.

review: Needs Fixing
648. By Brandon Schaefer

* Now it will check if the IM exist in one the paths found the $PATH env var.
  otherwise we don't want to run that test...

649. By Brandon Schaefer

* test...

650. By Brandon Schaefer

* Merged trunk.

651. By Brandon Schaefer

* Fixed return statement...

652. By Brandon Schaefer

* Moved xim stuff into a class. Also each XInputWindow now makes its own XIMClient as it needs to set that up for it to work.

653. By Brandon Schaefer

* Added XIMClient class

654. By Brandon Schaefer

* Removed header not in use

655. By Brandon Schaefer

* Need a different home for this part...

656. By Brandon Schaefer

* Fixed some crashes
* Will work for both Hud and Dash when the Dash gets fixed (as of right now the laucher generates events for the Dash).

657. By Brandon Schaefer

* Reworks the XIM stuff around. Though there are problems still with closing/opening new IMs....

658. By Brandon Schaefer

* Merged trunk

659. By Brandon Schaefer

* Fixes crash/hangs
* Cleaned up the XIMController and XICClient
* Test now pass

660. By Brandon Schaefer

* removed printf statment

661. By Brandon Schaefer

* removed some un used code

662. By Brandon Schaefer

* Changed copyright

663. By Brandon Schaefer

* Switched to boost::shared_ptr for m_xim_controller

664. By Brandon Schaefer

* merged trunk

665. By Brandon Schaefer

* Merged trunk

666. By Brandon Schaefer

* Merge with thumpers nux.armel-fixes

667. By Brandon Schaefer

* Merged trunk

668. By Brandon Schaefer

* Moved to std::shared_ptr
* Fixed headers
* Moved to new logger

669. By Brandon Schaefer

* Following up on review

670. By Brandon Schaefer

* Fixed conflict, merged trunk

671. By Brandon Schaefer

* Merged trunk

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches