[farsight2/master] Fix little indentation error

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:20:10 PST 2008


---
 tests/check/main/rtpconference.c  |   65 +++++++++++++++++++++++++++++++++++++
 tests/check/transmitter/generic.h |    2 +-
 2 files changed, 66 insertions(+), 1 deletions(-)
 create mode 100644 tests/check/main/rtpconference.c

diff --git a/tests/check/main/rtpconference.c b/tests/check/main/rtpconference.c
new file mode 100644
index 0000000..6d7b740
--- /dev/null
+++ b/tests/check/main/rtpconference.c
@@ -0,0 +1,65 @@
+/* Farsight 2 unit tests for FsRtpConferenceu
+ *
+ * Copyright (C) 2007 Collabora, Nokia
+ * @author: Olivier Crete <olivier.crete at 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
+*/
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+#include <gst/check/gstcheck.h>
+#include <gst/farsight/fs-conference-iface.h>
+
+#include "generic.h"
+
+GST_START_TEST (test_rtpconference_new)
+{
+  GstElement *pipeline = gst_pipeline_new ("pipeline");
+  GstElement *conference = NULL;
+
+  conference = gst_element_factory_make ("fsrtpconference", NULL);
+
+  fail_if (conference == NULL, "Could not buld fsrtpconference");
+
+  fail_unless (gst_bin_add (GST_BIN (pipeline), conference),
+      "Could not add conference to the pipeline");
+
+  gst_object_unref (pipeline);
+}
+GST_END_TEST;
+
+
+
+static Suite *
+rawudptransmitter_suite (void)
+{
+  Suite *s = suite_create ("fsrtpconference");
+  TCase *tc_chain;
+
+
+  tc_chain = tcase_create ("fsrtpconfence_base");
+  tcase_set_timeout (tc_chain, 5);
+  tcase_add_test (tc_chain, test_rtpconference_new);
+  suite_add_tcase (s, tc_chain);
+
+
+  return s;
+}
+
+
+GST_CHECK_MAIN (rawudptransmitter);
diff --git a/tests/check/transmitter/generic.h b/tests/check/transmitter/generic.h
index 0f74e7a..b0a59a7 100644
--- a/tests/check/transmitter/generic.h
+++ b/tests/check/transmitter/generic.h
@@ -23,7 +23,7 @@
 #include <gst/farsight/fs-transmitter.h>
 
 #ifndef __GENERIC_H__
-#define  __GENERIC_H__
+#define __GENERIC_H__
 
 GstElement *setup_pipeline (FsTransmitter *trans, GCallback cb);
 
-- 
1.5.6.5




More information about the farsight-commits mailing list