aboutsummaryrefslogtreecommitdiff
path: root/tests/notifications-test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/notifications-test.cc')
-rw-r--r--tests/notifications-test.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/notifications-test.cc b/tests/notifications-test.cc
index 1b101f5..74be5d0 100644
--- a/tests/notifications-test.cc
+++ b/tests/notifications-test.cc
@@ -153,4 +153,11 @@ TEST_F(NotificationsTest, VolumeChanges) {
loop(50);
notev = notifications->getNotifications();
ASSERT_EQ(0, notev.size());
+
+ /* Change just a little */
+ notifications->clearNotifications();
+ volume_control_set_volume(volumeControl.get(), 60.001);
+ loop(50);
+ notev = notifications->getNotifications();
+ ASSERT_EQ(0, notev.size());
}