From 2e85d8a7db825a7aef087710abe8159a716df6c7 Mon Sep 17 00:00:00 2001 From: Robert Collins Date: Tue, 9 Mar 2010 09:24:36 +1100 Subject: snapshot closer-to-building. --- tests/mockpulse.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 tests/mockpulse.h (limited to 'tests/mockpulse.h') diff --git a/tests/mockpulse.h b/tests/mockpulse.h new file mode 100644 index 0000000..521ba2b --- /dev/null +++ b/tests/mockpulse.h @@ -0,0 +1,24 @@ +/* +Copyright 2010 Canonical Ltd. + +Authors: + Robert Collins + +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 . +*/ + +/** + * Control interface for the mocked pa-glib-mainloop test library + */ +#include + -- cgit v1.2.3 From 6c2b978f17d48fe212cccb15c23bb1e278ba600f Mon Sep 17 00:00:00 2001 From: Robert Collins Date: Tue, 9 Mar 2010 13:43:16 +1100 Subject: flesh out test_pa_context_exit --- tests/mockpulse.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/mockpulse.h') diff --git a/tests/mockpulse.h b/tests/mockpulse.h index 521ba2b..327121a 100644 --- a/tests/mockpulse.h +++ b/tests/mockpulse.h @@ -22,3 +22,4 @@ with this program. If not, see . */ #include +void set_pa_context_get_state_result(pa_context *, pa_context_state_t state); -- cgit v1.2.3 From 69049dd2d6011e9ab96f4f439d00e1de98178449 Mon Sep 17 00:00:00 2001 From: Robert Collins Date: Tue, 9 Mar 2010 14:37:03 +1100 Subject: Fleshed out mocking needs missing symbols from the service linked in to work now. --- tests/mockpulse.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/mockpulse.h') diff --git a/tests/mockpulse.h b/tests/mockpulse.h index 327121a..71cd85b 100644 --- a/tests/mockpulse.h +++ b/tests/mockpulse.h @@ -23,3 +23,4 @@ with this program. If not, see . #include 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); -- cgit v1.2.3