aboutsummaryrefslogtreecommitdiff
path: root/tests/notifications-mock.h
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2015-02-12 15:12:38 -0600
committerTed Gould <ted@gould.cx>2015-02-12 15:12:38 -0600
commit95fdfc766027896c19062f8b7e6d9589471be4b0 (patch)
tree30ff328c537643dab047ac193ed282f4ce2dffe5 /tests/notifications-mock.h
parente50350bd0bd5f85cf57cc1d42e6fb34c687063a4 (diff)
downloadayatana-indicator-sound-95fdfc766027896c19062f8b7e6d9589471be4b0.tar.gz
ayatana-indicator-sound-95fdfc766027896c19062f8b7e6d9589471be4b0.tar.bz2
ayatana-indicator-sound-95fdfc766027896c19062f8b7e6d9589471be4b0.zip
More notification testings.
Diffstat (limited to 'tests/notifications-mock.h')
-rw-r--r--tests/notifications-mock.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/notifications-mock.h b/tests/notifications-mock.h
index b727eec..b0f3b74 100644
--- a/tests/notifications-mock.h
+++ b/tests/notifications-mock.h
@@ -148,4 +148,8 @@ class NotificationsMock
return notifications;
}
+
+ bool clearNotifications (void) {
+ return dbus_test_dbus_mock_object_clear_method_calls(mock, baseobj, nullptr);
+ }
};