diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-12-02 20:40:06 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-12-02 20:40:06 +0100 |
commit | a597c8c05070014162602733fb718b94d6eef9cc (patch) | |
tree | 05a186108950085dadda4febde81464b6750722d /tests | |
parent | d1da958db07dd7d3338213b97914bfba715e8b6a (diff) | |
download | ayatana-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')
-rw-r--r-- | tests/integration/indicator-sound-test-base.cpp | 6 | ||||
-rw-r--r-- | tests/notifications-test.cc | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/tests/integration/indicator-sound-test-base.cpp b/tests/integration/indicator-sound-test-base.cpp index 8bf6556..01d6f55 100644 --- a/tests/integration/indicator-sound-test-base.cpp +++ b/tests/integration/indicator-sound-test-base.cpp @@ -620,7 +620,7 @@ void IndicatorSoundTestBase::checkVolumeNotification(double volume, QString cons QVariantList const& args(call.at(1).toList()); ASSERT_EQ(8, args.size()); - EXPECT_EQ("indicator-sound", args.at(0)); + EXPECT_EQ("ayatana-indicator-sound", args.at(0)); EXPECT_EQ(icon, args.at(2)); EXPECT_EQ("Volume", args.at(3)); EXPECT_EQ(label, args.at(4)); @@ -646,7 +646,7 @@ void IndicatorSoundTestBase::checkHighVolumeNotification(QVariantList call) QVariantList const& args(call.at(1).toList()); ASSERT_EQ(8, args.size()); - EXPECT_EQ("indicator-sound", args.at(0)); + EXPECT_EQ("ayatana-indicator-sound", args.at(0)); EXPECT_EQ("Volume", args.at(3)); } @@ -675,7 +675,7 @@ int IndicatorSoundTestBase::getNotificationID(QVariantList call) { return -1; } - if (args.at(0) != "indicator-sound") + if (args.at(0) != "ayatana-indicator-sound") { return -1; } 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"]); |