Merge lp:~dandrader/unity/lp969554 into lp:unity
Proposed by
Daniel d'Andrada
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Didier Roche-Tolomelli | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 2241 | ||||
Proposed branch: | lp:~dandrader/unity/lp969554 | ||||
Merge into: | lp:unity | ||||
Prerequisite: | lp:~dandrader/unity/lp940612 | ||||
Diff against target: |
157 lines (+72/-9) 4 files modified
plugins/unityshell/src/GestureEngine.cpp (+2/-6) plugins/unityshell/src/GestureEngine.h (+0/-1) tests/test-gesture-engine/compiz_mock/core/window.h (+5/-2) tests/test-gesture-engine/test_gesture_engine.cpp (+65/-0) |
||||
To merge this branch: | bzr merge lp:~dandrader/unity/lp969554 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Thomi Richards (community) | Approve | ||
Review via email: mp+100833@code.launchpad.net |
This proposal supersedes a proposal from 2012-03-30.
Commit message
Fix pinch gesture.
Description of the change
Fixes bug #969554
Now with unit tests.
To post a comment you must log in.
Hi,
How can we test this? We need either a unit test, or an autopilot test, or, as a final resort, a manual test. From the looks of it, GestureEngine is going to be tricky to write a unit test for (it contains a lot of XLib calls, and is tightly coupled with CompScreen), but perhaps we can write an autopilot test? We'd need to work out how to simulate multi-touch using python & XLib.
...If that doesn't work, we need a manual test. Please consult the README and TEST_TEMPLATE files in manual-tests/ before writing one.
Thanks