aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@canonical.com>2016-04-18 23:42:53 -0300
committerRobert Tari <robert@tari.in>2021-07-06 02:02:52 +0200
commit13978702ac61845927889986310085e8f90821da (patch)
tree52206cc20546f4f1e8bf707e8463ad52f012c8e8 /tests
parent442818a849f468649121d19adfc0d3589387dda0 (diff)
downloadayatana-indicator-datetime-13978702ac61845927889986310085e8f90821da.tar.gz
ayatana-indicator-datetime-13978702ac61845927889986310085e8f90821da.tar.bz2
ayatana-indicator-datetime-13978702ac61845927889986310085e8f90821da.zip
Post message on messaging menu if the notification get timeout.
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 4c11dca..b951cee 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, "reminder", "Event", true, true },
+ { appt, "appointment", "Event", true, true },
{ ualarm, "alarm-clock", "Alarm", true, true }
};
diff --git a/tests/test-sound.cpp b/tests/test-sound.cpp
index a222f39..59c1a28 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("reminder", str);
+ ASSERT_STREQ("appointment", str);
// confirm that the hints passed to Notify included a timeout matching duration_minutes
int32_t i32;