Merge lp:~3v1n0/unity/ibus-press-release-tests into lp:unity
| Status: | Superseded |
|---|---|
| Proposed branch: | lp:~3v1n0/unity/ibus-press-release-tests |
| Merge into: | lp:unity |
| Diff against target: |
125 lines (+86/-2) 1 file modified
tests/autopilot/unity/tests/test_ibus.py (+86/-2) |
| To merge this branch: | bzr merge lp:~3v1n0/unity/ibus-press-release-tests |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| jenkins (community) | continuous-integration | Needs Fixing on 2012-07-17 | |
| Thomi Richards (community) | quality | 2012-07-03 | Needs Fixing on 2012-07-03 |
|
Review via email:
|
|||
This proposal has been superseded by a proposal from 2012-07-17.
Commit Message
Tests ibus: added tests for ibus activation on press and release
These won't pass until lp:~3v1n0/unity/im-textentry-rewrite-ibus-fix is merged.
Description of the Change
Added AP tests for ibus activation on keydown and on keyup.
| Thomi Richards (thomir) wrote : | # |
Hi,
24 def activate_ibus(self, widget):
25 """Activate IBus, and wait till it's actived on 'widget'"""
26 self.assertThat
27 - self.keyboard.
28 + self.keyboard.
29 + self.addCleanup
30 self.assertThat
31 + self.keyboard.
32
33 def deactivate_
34 """Deactivate ibus, and wait till it's inactive on 'widget'"""
35 self.assertThat
36 - self.keyboard.
37 + self.keyboard.
38 + self.addCleanup
39 + self.assertThat
40 + self.keyboard.
41 +
Please change these so the keypresses aren't released twice (which will happen currently if the activation is successful).
42 + def activate_
43 + """Activate IBus, and wait till it's actived on 'widget'"""
50 +
51 + def deactivate_
52 + """Activate IBus, and wait till it's actived on 'widget'"""
Please update these docstrings - I have no idea what these do currently - how are they different from the regulat activate & deactivate methods, and why are they needed?
- 2446. By Marco Trevisan (Treviño) on 2012-07-17
-
autopilot, test_ibus: updated doc strings
| jenkins (martin-mrazik+qa) wrote : | # |
FAILED: Continuous integration, rev:2446
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
- 2447. By Marco Trevisan (Treviño) on 2012-07-17
-
test_ibus: add activation tests based on scenarios
- 2448. By Marco Trevisan (Treviño) on 2012-07-17
-
test_ibus: remove debug data


PASSED: Continuous integration, rev:2445 s-jenkins: 8080/job/ unity-ci/ 59/
http://