aboutsummaryrefslogtreecommitdiff
path: root/tests/notifications-mock.h
diff options
context:
space:
mode:
authorRatchanan Srirattanamet <ratchanan@ubports.com>2023-01-17 10:52:54 +0000
committerRatchanan Srirattanamet <ratchanan@ubports.com>2023-01-17 10:52:54 +0000
commit456cbf253801b2d7536d790a034c9b44d910a5a9 (patch)
treec0f3e97c445dba3f5150d91784a60e0a7f7d0427 /tests/notifications-mock.h
parente9b738bf4e0efa26c2d2a3061919728dcaeea33e (diff)
downloadayatana-indicator-sound-456cbf253801b2d7536d790a034c9b44d910a5a9.tar.gz
ayatana-indicator-sound-456cbf253801b2d7536d790a034c9b44d910a5a9.tar.bz2
ayatana-indicator-sound-456cbf253801b2d7536d790a034c9b44d910a5a9.zip
src/, tests/: update references to renamed notification hints
More notification hints have been renamed. So update to follow it. - x-canonical-private-synchronous -> x-lomiri-private-synchronous - x-canonical-private-icon-only -> x-lomiri-private-icon-only - x-canonical-truncation -> x-lomiri-truncation (which Lomiri has compatibility with the former name, so keep in the mocked capabilities)
Diffstat (limited to 'tests/notifications-mock.h')
-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 49b2e66..ad042d2 100644
--- a/tests/notifications-mock.h
+++ b/tests/notifications-mock.h
@@ -31,7 +31,7 @@ class NotificationsMock
DbusTestDbusMockObject * baseobj = nullptr;
public:
- NotificationsMock (const 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"}) {
+ NotificationsMock (const std::vector<std::string>& capabilities = {"actions", "body", "body-markup", "icon-static", "image/svg+xml", "x-lomiri-private-synchronous", "x-canonical-append", "x-lomiri-private-icon-only", "x-lomiri-truncation", "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");