GnuCash 2.4.99
test-column-types.c
00001 /***************************************************************************
00002  *            test-column-types.c
00003  *
00004  *  Tests the basic SQL column types
00005  *
00006  *  Copyright  2008 Phil Longstaff
00007  *  plongstaff@rogers.com
00008  ****************************************************************************/
00009 
00010 /*
00011  *  This program is free software; you can redistribute it and/or modify
00012  *  it under the terms of the GNU General Public License as published by
00013  *  the Free Software Foundation; either version 2 of the License, or
00014  *  (at your option) any later version.
00015  *
00016  *  This program is distributed in the hope that it will be useful,
00017  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019  *  GNU General Public License for more details.
00020  *
00021  *  You should have received a copy of the GNU General Public License
00022  *  along with this program; if not, write to the Free Software
00023  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00024  *  02110-1301, USA.
00025  */
00026 
00027 #include "config.h"
00028 #include "qof.h"
00029 #include "cashobjects.h"
00030 #include "test-stuff.h"
00031 
00032 #include "gnc-backend-sql.h"
00033 
00034 int main( int argc, char ** argv )
00035 {
00036     qof_init();
00037     cashobjects_register();
00038     gnc_sql_init( NULL );
00039     /*    do_test(
00040             qof_load_backend_library ("../.libs/", GNC_LIB_NAME),
00041             " loading gnc-backend-gda GModule failed");
00042     */
00043     print_test_results();
00044     qof_close();
00045     exit( get_rv() );
00046 }
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines