diff options
author | Xavi Garcia Mena <xavi.garcia.mena@canonical.com> | 2015-11-03 17:47:08 +0000 |
---|---|---|
committer | CI Train Bot <ci-train-bot@canonical.com> | 2015-11-03 17:47:08 +0000 |
commit | a9adeaeb032dd78b1ad69081764132bc62cfd352 (patch) | |
tree | 4f145c3713f350b392820d782179b8d4c72af316 /tests/notifications-test.cc | |
parent | 6ee23e401d3847e609f1ef50e1736f69e6253608 (diff) | |
parent | a8d027ef37f2432867c99a8d1f0331014c53eeaf (diff) | |
download | ayatana-indicator-sound-a9adeaeb032dd78b1ad69081764132bc62cfd352.tar.gz ayatana-indicator-sound-a9adeaeb032dd78b1ad69081764132bc62cfd352.tar.bz2 ayatana-indicator-sound-a9adeaeb032dd78b1ad69081764132bc62cfd352.zip |
This branch removes the warning message in the volume notification.
Approved by: PS Jenkins bot, Charles Kerr
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"]); } |