diff options
| author | Charles Kerr <charles.kerr@canonical.com> | 2016-01-05 13:12:58 -0600 |
|---|---|---|
| committer | Charles Kerr <charles.kerr@canonical.com> | 2016-01-05 13:12:58 -0600 |
| commit | cbca1818ef142938022511abded7e39d671866ac (patch) | |
| tree | b655eb961c3265d3ffb987cf3e9740f6fbc2da73 /tests/notifications-test.cc | |
| parent | c0c4180561fba3e1ebe3f22381a4b5609e22f17b (diff) | |
| parent | 58e4e5dd08444a193a52ae103f6bd432772dacc7 (diff) | |
| download | ayatana-indicator-sound-cbca1818ef142938022511abded7e39d671866ac.tar.gz ayatana-indicator-sound-cbca1818ef142938022511abded7e39d671866ac.tar.bz2 ayatana-indicator-sound-cbca1818ef142938022511abded7e39d671866ac.zip | |
adding lp:~xavi-garcia-mena/indicator-sound/restore-osd-notifications
Diffstat (limited to 'tests/notifications-test.cc')
| -rw-r--r-- | tests/notifications-test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/notifications-test.cc b/tests/notifications-test.cc index 8d5617d..c5d9770 100644 --- a/tests/notifications-test.cc +++ b/tests/notifications-test.cc @@ -345,7 +345,7 @@ TEST_F(NotificationsTest, HighVolume) { auto notev = notifications->getNotifications(); ASSERT_EQ(1, notev.size()); EXPECT_EQ("Volume", notev[0].summary); - EXPECT_EQ("", notev[0].body); + EXPECT_EQ("Speakers", notev[0].body); EXPECT_GVARIANT_EQ("@s 'false'", notev[0].hints["x-canonical-value-bar-tint"]); /* Set high volume with volume change */ @@ -356,7 +356,7 @@ TEST_F(NotificationsTest, HighVolume) { notev = notifications->getNotifications(); ASSERT_LT(0, notev.size()); /* This passes with one or two since it would just be an update to the first if a second was sent */ EXPECT_EQ("Volume", notev[0].summary); - EXPECT_EQ("High volume can damage your hearing.", notev[0].body); + EXPECT_EQ("Speakers", notev[0].body); EXPECT_GVARIANT_EQ("@s 'true'", notev[0].hints["x-canonical-value-bar-tint"]); /* Move it back */ @@ -372,7 +372,7 @@ TEST_F(NotificationsTest, HighVolume) { notev = notifications->getNotifications(); ASSERT_EQ(1, notev.size()); EXPECT_EQ("Volume", notev[0].summary); - EXPECT_EQ("High volume can damage your hearing.", notev[0].body); + EXPECT_EQ("Speakers", notev[0].body); EXPECT_GVARIANT_EQ("@s 'true'", notev[0].hints["x-canonical-value-bar-tint"]); } |
