Added gtestframework.[hc] and glib/tests/.

svn path=/trunk/; revision=5874
This commit is contained in:
Tim Janik 2007-11-20 15:00:19 +00:00
parent d07f85e11e
commit f0187b0a1b
6 changed files with 40 additions and 0 deletions

View 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

View 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 \

View 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>

18
glib/gtestframework.c Normal file
View File

@ -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.
*/

18
glib/gtestframework.h Normal file
View File

@ -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.
*/

0
glib/tests/Makefile.am Normal file
View File