diff options
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | tests/check/Makefile.am | 12 | ||||
-rw-r--r-- | tests/check/main/generic.c | 25 | ||||
-rw-r--r-- | tests/check/main/generic.h | 30 |
4 files changed, 68 insertions, 3 deletions
@@ -31,11 +31,11 @@ docs/libs/tmpl docs/libs/xml tests/check/test-registry.xml -tests/check/base/.dirstamp +tests/check/*/.dirstamp tests/check/base/fscodec tests/check/base/fstransmitter -tests/check/transmitter/.dirstamp tests/check/transmitter/rawudp +tests/check/main/rtpconference tests/rtp/codec-discovery aclocal.m4 diff --git a/tests/check/Makefile.am b/tests/check/Makefile.am index ac61bc28..26be75d6 100644 --- a/tests/check/Makefile.am +++ b/tests/check/Makefile.am @@ -34,7 +34,8 @@ SUPPRESSIONS = $(top_srcdir)/common/gst.supp check_PROGRAMS = \ base/fscodec \ base/fstransmitter \ - transmitter/rawudp + transmitter/rawudp \ + main/rtpconference AM_CFLAGS = $(FS2_CFLAGS) $(GST_CFLAGS) $(GST_CHECK_CFLAGS) @@ -57,3 +58,12 @@ transmitter_rawudp_SOURCES = \ transmitter/rawudp.c + +main_rtpconference_LDADD = $(LDADD) \ + $(top_builddir)/gst-libs/gst/farsight/libgstfarsight-0.10.la +main_rtpconference_CFLAGS = $(FS2_INTERNAL_CFLAGS) $(CFLAGS) $(AM_CFLAGS) +main_rtpconference_SOURCES = \ + main/generic.c \ + main/generic.h \ + main/rtpconference.c + diff --git a/tests/check/main/generic.c b/tests/check/main/generic.c new file mode 100644 index 00000000..008242d9 --- /dev/null +++ b/tests/check/main/generic.c @@ -0,0 +1,25 @@ +/* Farsigh2 generic unit tests for conferences + * + * Copyright (C) 2007 Collabora, Nokia + * @author: Olivier Crete <olivier.crete@collabora.co.uk> + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + + + +#include "generic.h" + + diff --git a/tests/check/main/generic.h b/tests/check/main/generic.h new file mode 100644 index 00000000..54d97a97 --- /dev/null +++ b/tests/check/main/generic.h @@ -0,0 +1,30 @@ +/* Farsigh2 generic unit tests for conferences + * + * Copyright (C) 2007 Collabora, Nokia + * @author: Olivier Crete <olivier.crete@collabora.co.uk> + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + + +#include <gst/gst.h> + +#ifndef __GENERIC_H__ +#define __GENERIC_H__ + +GstElement *setup_pipeline (gchar *conference_elem); + + +#endif /* __GENERIC_H__ */ |