GnuCash 2.4.99
test-sqlbe.c
00001 /********************************************************************
00002  * testmain.c: GLib g_test test execution file.                     *
00003  * Copyright 2011 John Ralls <jralls@ceridwen.us>                   *
00004  *                                                                  *
00005  * This program is free software; you can redistribute it and/or    *
00006  * modify it under the terms of the GNU General Public License as   *
00007  * published by the Free Software Foundation; either version 2 of   *
00008  * the License, or (at your option) any later version.              *
00009  *                                                                  *
00010  * This program is distributed in the hope that it will be useful,  *
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of   *
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the    *
00013  * GNU General Public License for more details.                     *
00014  *                                                                  *
00015  * You should have received a copy of the GNU General Public License*
00016  * along with this program; if not, contact:                        *
00017  *                                                                  *
00018  * Free Software Foundation           Voice:  +1-617-542-5942       *
00019  * 51 Franklin Street, Fifth Floor    Fax:    +1-617-542-2652       *
00020  * Boston, MA  02110-1301,  USA       gnu@gnu.org                   *
00021 \********************************************************************/
00022 
00023 
00024 #include "config.h"
00025 #include <glib.h>
00026 #include "qof.h"
00027 
00028 extern void test_suite_gnc_backend_sql ();
00029 
00030 int
00031 main (int   argc,
00032       char *argv[])
00033 {
00034     g_type_init();                      /* Initialize the GObject system */
00035     g_test_init ( &argc, &argv, NULL );         /* initialize test program */
00036     qof_log_init_filename_special("stderr"); /* Init the log system */
00037     g_test_bug_base("https://bugzilla.gnome.org/show_bug.cgi?id="); /* init the bugzilla URL */
00038 
00039     test_suite_gnc_backend_sql ();
00040 
00041     return g_test_run( );
00042 }
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines