nux-1.16.0
test-nux.cpp
00001 /*
00002  * Copyright (C) 2010 Canonical Ltd
00003  *
00004  * This program is free software: you can redistribute it and/or modify
00005  * it under the terms of the GNU General Public License version 3 as
00006  * published by the Free Software Foundation.
00007  *
00008  * This program is distributed in the hope that it will be useful,
00009  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00010  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00011  * GNU General Public License for more details.
00012  *
00013  * You should have received a copy of the GNU General Public License
00014  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
00015  *
00016  * Authored by Gordon Allott <gord.allott@canonical.com>
00017  *
00018  */
00019 
00020 #include <glib.h>
00021 #include <stdio.h>
00022 #include <stdlib.h>
00023 #include <Nux/Nux.h>
00024 #include <glib-object.h>
00025 
00026 void TestCanvasSuite();
00027 void TestSystemSuite();
00028 
00029 void test_timeline_create_suite ();
00030 
00031 gint
00032 main (gint argc, gchar *argv[])
00033 {
00034   g_type_init ();
00035   g_test_init (&argc, &argv, NULL);
00036   nux::NuxInitialize(0);
00037 
00038   // Do not print Nux log messages to the console.
00039   GLogDevice.Disable ();
00040 
00041   /* First the Nux specific tests */
00042   TestSystemSuite();
00043   // TODO: fix the test
00044   // TestCanvasSuite();
00045 
00046   /* Please keep this alphabetically ordered */
00047   //test_timeline_create_suite ();
00048 
00049   return g_test_run ();
00050 }
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends