Merge lp:~om26er/unity/test_alt_arrowkeys into lp:unity
Proposed by
Omer Akram
on 2012-08-18
| Status: | Merged |
|---|---|
| Approved by: | Omer Akram on 2012-08-21 |
| Approved revision: | 2603 |
| Merged at revision: | 2603 |
| Proposed branch: | lp:~om26er/unity/test_alt_arrowkeys |
| Merge into: | lp:unity |
| Diff against target: |
60 lines (+25/-15) 2 files modified
manual-tests/Hud.txt (+0/-15) tests/autopilot/unity/tests/test_hud.py (+25/-0) |
| To merge this branch: | bzr merge lp:~om26er/unity/test_alt_arrowkeys |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Brandon Schaefer (community) | Approve on 2012-08-21 | ||
| Thomi Richards (community) | 2012-08-18 | Needs Fixing on 2012-08-21 | |
|
Review via email:
|
|||
Commit Message
Tests that Alt+ArrowKey events are correctly passed to the active window when not interacting with Unity.
Description of the Change
Tests that Alt+ArrowKey events are correctly passed to the active window when not interacting with Unity.
since we can't read text from terminal, we are writing it to a text file and reading from there if it matches the expected.
thx Thomi
To post a comment you must log in.
| Brandon Schaefer (brandontschaefer) wrote : | # |
Looks good to me. Fixed what Thomi wanted fixed :)
review:
Approve
| Unity Merger (unity-merger) wrote : | # |
The Jenkins job https:/
Not merging it.
| Omer Akram (om26er) wrote : | # |
re-approved looks like autolanding is working again.
lp:~om26er/unity/test_alt_arrowkeys
updated
on 2012-08-21
- 2602. By Omer Akram on 2012-08-21
-
merge
- 2603. By Omer Akram on 2012-08-21
-
merge


Hi Omer,
42 + self.keyboard. type('echo \"')
I don't think you need the \ here. Python doesn't need it (you can use double quotes inside a single quoted string just fine), and I'm pretty sure the keyboard emulator doesn't need it either...
52 + self.keyboard. type('\ " > /tmp/ap_ test_alt_ keys')
.. same here
Otherwise this test looks good.