Failing AP test: unity.tests.test_switcher.SwitcherTests.test_switcher_scroll_prev_ignores_fast_events
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
The following autopilot test:
unity.tests.
Fails intermittnetly on developer machines. This is because the test relies on generating several mouse events in quick succession. This really isn't appropriate for an autopilot test, and should instead be written as a unit test. Unfortunately, unity is written in such a way that makes the input handling code much harder to put under test.
My recommendation is that we split out the logic from:
void UnityScreen:
and codify it in a separate class that recieves events and emits signals for different actions that need to be taken. These can then be connected to the appropoiate places in unityshell. This has the advantage that the input handling code is agnostic of Compiz / X11, can be tested, is more flexible, reduces the massive size of the unityshell.cpp file, and doesn't make me want to stab my eyes out with toothpicks.
All good reasons to make it happen!
Changed in unity: | |
importance: | Undecided → Low |
Closing considering AP is no longer actively used for unity7.