aboutsummaryrefslogtreecommitdiff
path: root/tests/mockpulse.h
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-03-24 15:47:37 +0000
committerConor Curran <conor.curran@canonical.com>2010-03-24 15:47:37 +0000
commitd7fbeccff7687eb1e50f6c35355a19e5433246c6 (patch)
tree45a7404fde9e8402c47779e9d5450d36e1680760 /tests/mockpulse.h
parent65fde4c4a871479a5e9b58fb5e1c0e880b71b784 (diff)
parent017109c083b207d4a2bfb1d7d17e09aafc123b55 (diff)
downloadayatana-indicator-sound-d7fbeccff7687eb1e50f6c35355a19e5433246c6.tar.gz
ayatana-indicator-sound-d7fbeccff7687eb1e50f6c35355a19e5433246c6.tar.bz2
ayatana-indicator-sound-d7fbeccff7687eb1e50f6c35355a19e5433246c6.zip
Tests branch finally makes its way into trunk - more testing needed
Diffstat (limited to 'tests/mockpulse.h')
-rw-r--r--tests/mockpulse.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/mockpulse.h b/tests/mockpulse.h
new file mode 100644
index 0000000..71cd85b
--- /dev/null
+++ b/tests/mockpulse.h
@@ -0,0 +1,26 @@
+/*
+Copyright 2010 Canonical Ltd.
+
+Authors:
+ Robert Collins <robert.collins@canonical.com>
+
+This program is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License version 3, as published
+by the Free Software Foundation.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranties of
+MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
+PURPOSE. See the GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+/**
+ * Control interface for the mocked pa-glib-mainloop test library
+ */
+#include <pulse/glib-mainloop.h>
+
+void set_pa_context_get_state_result(pa_context *, pa_context_state_t state);
+void set_pa_context_get_sink_info(pa_sink_info *info);