Merge lp://qastaging/~charlesk/indicator-power/use-dbusmock-notify-template into lp://qastaging/indicator-power

Proposed by Charles Kerr
Status: Approved
Approved by: Antti Kaijanmäki
Approved revision: 299
Proposed branch: lp://qastaging/~charlesk/indicator-power/use-dbusmock-notify-template
Merge into: lp://qastaging/indicator-power
Diff against target: 620 lines (+219/-217)
5 files modified
debian/control (+0/-2)
tests/CMakeLists.txt (+0/-5)
tests/glib-fixture.h (+11/-11)
tests/test-dbus-fixture.h (+108/-0)
tests/test-notify.cc (+100/-199)
To merge this branch: bzr merge lp://qastaging/~charlesk/indicator-power/use-dbusmock-notify-template
Reviewer Review Type Date Requested Status
Antti Kaijanmäki (community) Approve
PS Jenkins bot continuous-integration Pending
Review via email: mp+295768@code.qastaging.launchpad.net

Commit message

In tests, use python-dbusmock's notification_daemon mock

Description of the change

No changes to production -- only to test scaffolding.

Use python-dbusmock's notification_daemon mock instead of rolling our own.

To post a comment you must log in.
Revision history for this message
Antti Kaijanmäki (kaijanmaki) wrote :

LGTM.

review: Approve
300. By Charles Kerr

sync tests/CMakeLists.txt dependencies with debian/control

Unmerged revisions

300. By Charles Kerr

sync tests/CMakeLists.txt dependencies with debian/control

299. By Charles Kerr

remove the dbusmock startup script and instead invoke dbusmock ourselves

298. By Charles Kerr

reuse test-dbus-fixture.h from indicator-datetime/16.10

297. By Charles Kerr

sync with trunk/16.10

296. By Charles Kerr

in tests/test-notify, use dbusmock's notification_daemon template instead of rolling our own

295. By Charles Kerr

in tests/CMakeLists.txt, add SCRIPTS_DIR definition to so tests will know where to find start-mock-notifications.py

294. By Charles Kerr

add tests/start-mock-notifications.py, a simple dbusmock helper script that can be told to emulate unity7 or unity8 notification server capabilities

293. By Charles Kerr

add tests/dbus-fixture.h, a fixture that manages a dbus connection and has helper utils

292. By Charles Kerr

in tests/glib-fixture.h, rename the protected loop variable as 'm_loop' for naming consistency

291. By Charles Kerr

remove libdbustest, we're calling dbusmock directly so we can use templates with parameters

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches