Added gtestframework.[hc] and glib/tests/.
authorTim Janik <timj@src.gnome.org>
Tue, 20 Nov 2007 15:00:19 +0000 (15:00 +0000)
committerTim Janik <timj@src.gnome.org>
Tue, 20 Nov 2007 15:00:19 +0000 (15:00 +0000)
svn path=/trunk/; revision=5874

configure.in
glib/Makefile.am
glib/glib.h
glib/gtestframework.c [new file with mode: 0644]
glib/gtestframework.h [new file with mode: 0644]
glib/tests/Makefile.am [new file with mode: 0644]

index 9472c2c33fea5527d3ea12af4c82af93192d5189..fb6f19f5f7b8a907847784323d35a05503709c58 100644 (file)
@@ -2974,6 +2974,7 @@ glib/libcharset/Makefile
 glib/gnulib/Makefile
 glib/pcre/Makefile
 glib/update-pcre/Makefile
+glib/tests/Makefile
 gmodule/Makefile
 gmodule/gmoduleconf.h
 gobject/Makefile
index 766b2da096570877dbae466eb873b719d02844e9..068fec467105c9fb4b6fddb6c86fce8ff497fe03 100644 (file)
@@ -134,6 +134,7 @@ libglib_2_0_la_SOURCES =    \
        gstdio.c                \
        gstrfuncs.c             \
        gstring.c               \
+       gtestframework.c        \
        gthread.c               \
        gthreadprivate.h        \
        gthreadpool.c           \
@@ -214,6 +215,7 @@ glibsubinclude_HEADERS =   \
        gspawn.h        \
        gstdio.h        \
        gstrfuncs.h     \
+       gtestframework.h\
        gstring.h       \
        gthread.h       \
        gthreadpool.h   \
index b45d3b7080790ae5908dc3313fa0b0074affca7c..dc2bb506dfdc75e06139af5a049b321496d29d8a 100644 (file)
@@ -70,6 +70,7 @@
 #include <glib/gspawn.h>
 #include <glib/gstrfuncs.h>
 #include <glib/gstring.h>
+#include <glib/gtestframework.h>
 #include <glib/gthread.h>
 #include <glib/gthreadpool.h>
 #include <glib/gtimer.h>
diff --git a/glib/gtestframework.c b/glib/gtestframework.c
new file mode 100644 (file)
index 0000000..33e31f8
--- /dev/null
@@ -0,0 +1,18 @@
+/* GLib testing framework examples
+ * Copyright (C) 2007 Tim Janik
+ *
+ * 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 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., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
diff --git a/glib/gtestframework.h b/glib/gtestframework.h
new file mode 100644 (file)
index 0000000..33e31f8
--- /dev/null
@@ -0,0 +1,18 @@
+/* GLib testing framework examples
+ * Copyright (C) 2007 Tim Janik
+ *
+ * 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 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., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
diff --git a/glib/tests/Makefile.am b/glib/tests/Makefile.am
new file mode 100644 (file)
index 0000000..e69de29