aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2015-02-13 08:59:11 -0600
committerTed Gould <ted@gould.cx>2015-02-13 08:59:11 -0600
commit0a7342ad2b88e0c35d818ba4feecbe1f897e897e (patch)
treebae4b897b6c618ad0a6ba4102d7cd4763de7d9a7 /tests
parent202d0be7d82b6c35ba444d433e6d64784d460699 (diff)
downloadayatana-indicator-sound-0a7342ad2b88e0c35d818ba4feecbe1f897e897e.tar.gz
ayatana-indicator-sound-0a7342ad2b88e0c35d818ba4feecbe1f897e897e.tar.bz2
ayatana-indicator-sound-0a7342ad2b88e0c35d818ba4feecbe1f897e897e.zip
Fine change test
Diffstat (limited to 'tests')
-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());
}