aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@canonical.com>2016-04-27 14:31:28 -0300
committerRobert Tari <robert@tari.in>2021-07-06 11:49:07 +0200
commit76e3bd94724e9bc7bedd24548103e31d85334d53 (patch)
tree7ae6ec836aba1b2d29c780b765760d7b22ed8b43 /tests
parentec226fce51ed4ba7f16c5f1d3f87c180c6335918 (diff)
downloadayatana-indicator-datetime-76e3bd94724e9bc7bedd24548103e31d85334d53.tar.gz
ayatana-indicator-datetime-76e3bd94724e9bc7bedd24548103e31d85334d53.tar.bz2
ayatana-indicator-datetime-76e3bd94724e9bc7bedd24548103e31d85334d53.zip
Only creates messaging menu if calendar app is instaled. Update tests.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-notification.cpp2
-rw-r--r--tests/test-sound.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-notification.cpp b/tests/test-notification.cpp
index d660982..d04cc8d 100644
--- a/tests/test-notification.cpp
+++ b/tests/test-notification.cpp
@@ -63,7 +63,7 @@ TEST_F(NotificationFixture,Notification)
bool expected_notify_called;
bool expected_vibrate_called;
} test_appts[] = {
- { appt, "calendar", "Event", true, true },
+ { appt, "calendar-app", "Event", true, true },
{ ualarm, "alarm-clock", "Alarm", true, true }
};
diff --git a/tests/test-sound.cpp b/tests/test-sound.cpp
index 013c388..0d80109 100644
--- a/tests/test-sound.cpp
+++ b/tests/test-sound.cpp
@@ -85,7 +85,7 @@ TEST_F(NotificationFixture, InteractiveDuration)
// confirm that the icon passed to Notify was "alarm-clock"
g_variant_get_child (params, 2, "&s", &str);
- ASSERT_STREQ("calendar", str);
+ ASSERT_STREQ("calendar-app", str);
// confirm that the hints passed to Notify included a timeout matching duration_minutes
int32_t i32;