Quicklist menu item testing - Part 2
Bug #676040 reported by
Neil J. Patel
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity |
Fix Released
|
Medium
|
Mirco Müller | ||
unity (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
- Create EventFaker class for easily sending button events to views (in tests/ as not needed in plugins)
- Create XEvent's and send them to the window thread using ProcessForgeinX
- Create tests/ui folder
- Add first UI test which is creating ech of the QL menuitems, connecting to their dbusmenuitem's activate signal, adding the QL menu item to a nux window, and then sending a fake event using EventFaker and making sure that the dbusmenuitem's activate signal was called.
Related branches
lp:~canonical-dx-team/unity/unity.fix-676040
- Gord Allott (community): Approve
-
Diff: 734 lines (+552/-63) (has conflicts)6 files modifiedsrc/QuicklistView.cpp (+89/-62)
src/QuicklistView.h (+11/-1)
tests/CMakeLists.txt (+18/-0)
tests/ui/EventFaker.cpp (+89/-0)
tests/ui/EventFaker.h (+40/-0)
tests/ui/TestQuicklist.cpp (+305/-0)
Changed in unity: | |
status: | Triaged → In Progress |
Changed in unity: | |
milestone: | 3.2 → 3.2.4 |
Changed in unity: | |
status: | In Progress → Fix Committed |
milestone: | 3.2.4 → 3.2.6 |
Changed in unity: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This bug was fixed in the package unity - 3.2.6-0ubuntu1
---------------
unity (3.2.6-0ubuntu1) natty; urgency=low
[ Didier Roche ] absolute/ path" doesn't unity.install, debian/ unity-common. install: unity.install: libunity3. symbols:
* New upstream release:
- Autohide option should be more like Intellihide (LP: #685861)
- Add an unity binary (LP: #599716)
- Dock icons disappearing on reopen (all programs) (LP: #687466)
- Application with .desktop file containing "icon=/
have an icon in unity panel (LP: #683444)
- Indicators are mis-aligned (LP: #646740)
- Navigating between indicator gives focus back to other dialogs during
transition (LP: #637143)
- Migration script should dump a lot of migrated items for debugging
(LP: #687721)
- Add desktop action support to launcher quicklists (LP: #687403)
- Rendering of Quicklist radio-button-item still way off (LP: #684048)
- Clicking on a launcher icon does not raise most recent window (LP: #677577)
- Quicklist menu item testing - Part 2 (LP: #676040)
- Panel does not behave like a menu bar (keyboard scrubbing) (LP: #686655)
- Separated menus: no keyboard shortcuts for menus (LP: #684060)
- No installation instructions in source (LP: #683792)
- Unity plugin should depend on "Desktop Wall" plugin (LP: #683211)
- Network indicator shows up on the left-hand side of the panel (LP: #680545)
- Scrubbing menu items or indicators in panel prematurely ends (LP: #677601)
- fix trash icon not being updated (LP: #683241)
* Revert source 3, it's breaking daily build and hudson
* remove the patch as well, fixed upstream
* debian/control, debian/
- add unity-common package and move some files there
- install the new perf bootchart there as well
* debian/
- install new unity binary
* debian/control:
- dep on latest nux
- recommends nux-tools
* debian/
- updated to include the new symbols
[ Sebastien Bacher ] source_ unity.py:
* debian/
- reassign crashes due to the indicators to the right source directly
-- Didier Roche <email address hidden> Thu, 09 Dec 2010 19:57:14 +0100