GnuCash 2.4.99
test-load-engine.c
00001 /***************************************************************************
00002  *            test-load-engine.c
00003  *
00004  *  Tue Sep 27 19:35:28 2005
00005  *  Copyright  2005  GnuCash team
00006  ****************************************************************************/
00007 /*
00008  *  This program is free software; you can redistribute it and/or modify
00009  *  it under the terms of the GNU General Public License as published by
00010  *  the Free Software Foundation; either version 2 of the License, or
00011  *  (at your option) any later version.
00012  *
00013  *  This program is distributed in the hope that it will be useful,
00014  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016  *  GNU General Public License for more details.
00017  *
00018  *  You should have received a copy of the GNU General Public License
00019  *  along with this program; if not, write to the Free Software
00020  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00021  *  02110-1301, USA.
00022  */
00023 
00024 #include "config.h"
00025 #include <stdio.h>
00026 #include <stdlib.h>
00027 #include "qof.h"
00028 #include "cashobjects.h"
00029 #include "test-stuff.h"
00030 
00031 static void
00032 run_test(void)
00033 {
00034     do_test(TRUE, "test engine loaded OK");
00035 }
00036 
00037 int
00038 main (int argc, char ** argv)
00039 {
00040     qof_init();
00041     if (cashobjects_register())
00042     {
00043         run_test ();
00044         print_test_results();
00045     }
00046     qof_close();
00047     return get_rv();
00048 }
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines