aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorcharles kerr <charlesk@canonical.com>2015-12-30 17:26:22 -0600
committercharles kerr <charlesk@canonical.com>2015-12-30 17:26:22 -0600
commit043f663811097fcb121231661205561424db19ee (patch)
tree1c69f425f0c776eb4a648dc0de0e718e747eae87 /tests
parentca33288a417e1e12ea53b91af158357397b89819 (diff)
downloadayatana-indicator-sound-043f663811097fcb121231661205561424db19ee.tar.gz
ayatana-indicator-sound-043f663811097fcb121231661205561424db19ee.tar.bz2
ayatana-indicator-sound-043f663811097fcb121231661205561424db19ee.zip
in mock Notify server, support actions required for volume warnings
Diffstat (limited to 'tests')
-rw-r--r--tests/notifications-mock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/notifications-mock.h b/tests/notifications-mock.h
index b0f3b74..3cd8570 100644
--- a/tests/notifications-mock.h
+++ b/tests/notifications-mock.h
@@ -30,7 +30,7 @@ class NotificationsMock
DbusTestDbusMockObject * baseobj = nullptr;
public:
- NotificationsMock (std::vector<std::string> capabilities = {"body", "body-markup", "icon-static", "image/svg+xml", "x-canonical-private-synchronous", "x-canonical-append", "x-canonical-private-icon-only", "x-canonical-truncation", "private-synchronous", "append", "private-icon-only", "truncation"}) {
+ NotificationsMock (std::vector<std::string> capabilities = {"actions", "body", "body-markup", "icon-static", "image/svg+xml", "x-canonical-private-synchronous", "x-canonical-append", "x-canonical-private-icon-only", "x-canonical-truncation", "private-synchronous", "append", "private-icon-only", "truncation"}) {
mock = dbus_test_dbus_mock_new("org.freedesktop.Notifications");
dbus_test_task_set_bus(DBUS_TEST_TASK(mock), DBUS_TEST_SERVICE_BUS_SESSION);
dbus_test_task_set_name(DBUS_TEST_TASK(mock), "Notify");