aboutsummaryrefslogtreecommitdiff
path: root/tests/notifications-test.cc
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-12-02 20:40:06 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-12-02 20:40:06 +0100
commita597c8c05070014162602733fb718b94d6eef9cc (patch)
tree05a186108950085dadda4febde81464b6750722d /tests/notifications-test.cc
parentd1da958db07dd7d3338213b97914bfba715e8b6a (diff)
downloadayatana-indicator-sound-a597c8c05070014162602733fb718b94d6eef9cc.tar.gz
ayatana-indicator-sound-a597c8c05070014162602733fb718b94d6eef9cc.tar.bz2
ayatana-indicator-sound-a597c8c05070014162602733fb718b94d6eef9cc.zip
tests/: Fix indicator executable name.
Diffstat (limited to 'tests/notifications-test.cc')
-rw-r--r--tests/notifications-test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/notifications-test.cc b/tests/notifications-test.cc
index 6dbbe0c..6a99a8d 100644
--- a/tests/notifications-test.cc
+++ b/tests/notifications-test.cc
@@ -74,7 +74,7 @@ class NotificationsTest : public ::testing::Test
g_object_add_weak_pointer(G_OBJECT(session), (gpointer *)&session);
/* This is done in main.c */
- notify_init("indicator-sound");
+ notify_init("ayatana-indicator-sound");
}
virtual void TearDown() {
@@ -253,7 +253,7 @@ TEST_F(NotificationsTest, VolumeChanges) {
loop(50);
auto notev = notifications->getNotifications();
ASSERT_EQ(1, notev.size());
- EXPECT_EQ("indicator-sound", notev[0].app_name);
+ EXPECT_EQ("ayatana-indicator-sound", notev[0].app_name);
EXPECT_EQ("Volume", notev[0].summary);
EXPECT_EQ(0, notev[0].actions.size());
EXPECT_GVARIANT_EQ("@s 'true'", notev[0].hints["x-canonical-private-synchronous"]);
@@ -501,7 +501,7 @@ TEST_F(NotificationsTest, ExtendendVolumeNotification) {
loop(50);
auto notev = notifications->getNotifications();
ASSERT_EQ(1, notev.size());
- EXPECT_EQ("indicator-sound", notev[0].app_name);
+ EXPECT_EQ("ayatana-indicator-sound", notev[0].app_name);
EXPECT_EQ("Volume", notev[0].summary);
EXPECT_EQ(0, notev[0].actions.size());
EXPECT_GVARIANT_EQ("@s 'true'", notev[0].hints["x-canonical-private-synchronous"]);