aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am3
-rw-r--r--tests/test-indicator-sound-dbus-client.c6
2 files changed, 6 insertions, 3 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 620668e..574279f 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -7,6 +7,7 @@ check_PROGRAMS = \
TESTS = \
test-indicator-sound \
test-pulse-manager
+XTESTS_FAIL = $(TESTS)
DISTCLEANFILES = $(TESTS)
@@ -46,6 +47,8 @@ test_pulse_manager_SOURCES = \
test-pulse-manager.c \
$(top_builddir)/src/dbus-menu-manager.c \
$(top_builddir)/src/sound-service-dbus.c \
+ $(top_builddir)/src/gen-sound-service.xml.h \
+ $(top_builddir)/src/gen-sound-service.xml.c \
$(top_builddir)/src/slider-menu-item.c
test_pulse_manager_CFLAGS = \
diff --git a/tests/test-indicator-sound-dbus-client.c b/tests/test-indicator-sound-dbus-client.c
index 265a36d..eafd03a 100644
--- a/tests/test-indicator-sound-dbus-client.c
+++ b/tests/test-indicator-sound-dbus-client.c
@@ -21,17 +21,17 @@ You should have received a copy of the GNU General Public License along
with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
#include <glib.h>
-#include <dbus/dbus-glib.h>
#include "../src/dbus-shared-names.h"
#include "test-defines.h"
#include "../src/sound-service-client.h"
static GMainLoop * mainloop = NULL;
-static DBusGProxy * proxy= NULL;
+static GDBusProxy * proxy= NULL;
static void
-test_fetch_mute(DBusGProxy * proxy)
+test_fetch_mute(GDBusProxy * proxy)
{
GError * error = NULL;
gboolean *fetched_mute_value;