Merge lp:~thomir/unity/improve-ibus-testing into lp:unity
Proposed by
Thomi Richards
on 2012-04-19
| Status: | Merged |
|---|---|
| Approved by: | Thomi Richards on 2012-04-20 |
| Approved revision: | 2321 |
| Merged at revision: | 2320 |
| Proposed branch: | lp:~thomir/unity/improve-ibus-testing |
| Merge into: | lp:unity |
| Prerequisite: | lp:~thomir/unity/fix-launcher-tests |
| Diff against target: |
134 lines (+24/-30) 2 files modified
plugins/unityshell/src/SearchBar.cpp (+3/-2) tests/autopilot/autopilot/tests/test_ibus.py (+21/-28) |
| To merge this branch: | bzr merge lp:~thomir/unity/improve-ibus-testing |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Brandon Schaefer (community) | 2012-04-19 | Approve on 2012-04-19 | |
|
Review via email:
|
|||
Commit Message
IBus autopilot tests now wait for input method context to be created before typing characters.
Description of the Change
This branch changes the ibus tests so they wait until the ibus input method context is created in the target widget. This eliminates the need for sleep() statements in the ibus tests, and should help some ibus tests that fail intermittently to pass.
This branch requires lp:~brandontschaefer/nux/ibus-active-reset to be merged into lp:nux before these tests will pass. At the time of writing, the branch has been approved, so this shouldnt be a problem.
To post a comment you must log in.


There seems to still be a little timing issues, but I think that can be fixed by only destroying the context when we are switching engines. Instead of doing it each test. Other then that this improves it a lot so +1.