aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test-helper.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-10-27 23:51:11 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-11-03 20:25:01 +0800
commit2a974fc78e833d232a6203d5a807b0ee5efb396a (patch)
tree9e056909eebb08bc4cec1f2431c1ece8301e53cc /tests/test-helper.c
parentf053694701a9cb6c35fa0250c1a0b3374bd54395 (diff)
downloadgsoc2013-empathy-2a974fc78e833d232a6203d5a807b0ee5efb396a.tar
gsoc2013-empathy-2a974fc78e833d232a6203d5a807b0ee5efb396a.tar.gz
gsoc2013-empathy-2a974fc78e833d232a6203d5a807b0ee5efb396a.tar.bz2
gsoc2013-empathy-2a974fc78e833d232a6203d5a807b0ee5efb396a.tar.lz
gsoc2013-empathy-2a974fc78e833d232a6203d5a807b0ee5efb396a.tar.xz
gsoc2013-empathy-2a974fc78e833d232a6203d5a807b0ee5efb396a.tar.zst
gsoc2013-empathy-2a974fc78e833d232a6203d5a807b0ee5efb396a.zip
move test_init/test_deinit to test-helper.c
Diffstat (limited to 'tests/test-helper.c')
-rw-r--r--tests/test-helper.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/test-helper.c b/tests/test-helper.c
new file mode 100644
index 000000000..37fad86eb
--- /dev/null
+++ b/tests/test-helper.c
@@ -0,0 +1,19 @@
+#include <stdlib.h>
+#include <glib.h>
+#include <glib-object.h>
+
+#include "test-helper.h"
+
+void
+test_init (int argc,
+ char **argv)
+{
+ g_test_init (&argc, &argv, NULL);
+ g_type_init ();
+}
+
+void
+test_deinit (void)
+{
+ ;
+}