From f0187b0a1b9134ccca23c950e80336edbf20f6a6 Mon Sep 17 00:00:00 2001 From: Tim Janik Date: Tue, 20 Nov 2007 15:00:19 +0000 Subject: [PATCH] Added gtestframework.[hc] and glib/tests/. svn path=/trunk/; revision=5874 --- configure.in | 1 + glib/Makefile.am | 2 ++ glib/glib.h | 1 + glib/gtestframework.c | 18 ++++++++++++++++++ glib/gtestframework.h | 18 ++++++++++++++++++ glib/tests/Makefile.am | 0 6 files changed, 40 insertions(+) create mode 100644 glib/gtestframework.c create mode 100644 glib/gtestframework.h create mode 100644 glib/tests/Makefile.am diff --git a/configure.in b/configure.in index 9472c2c..fb6f19f 100644 --- a/configure.in +++ b/configure.in @@ -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 diff --git a/glib/Makefile.am b/glib/Makefile.am index 766b2da..068fec4 100644 --- a/glib/Makefile.am +++ b/glib/Makefile.am @@ -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 \ diff --git a/glib/glib.h b/glib/glib.h index b45d3b7..dc2bb50 100644 --- a/glib/glib.h +++ b/glib/glib.h @@ -70,6 +70,7 @@ #include #include #include +#include #include #include #include diff --git a/glib/gtestframework.c b/glib/gtestframework.c new file mode 100644 index 0000000..33e31f8 --- /dev/null +++ b/glib/gtestframework.c @@ -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 index 0000000..33e31f8 --- /dev/null +++ b/glib/gtestframework.h @@ -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 index 0000000..e69de29 -- 2.7.4