2008-01-19 01:34:21 -06:00
|
|
|
#include <moo.h>
|
|
|
|
#include <moo-tests.h>
|
|
|
|
#include <CUnit/CUnit.h>
|
|
|
|
#include <CUnit/Basic.h>
|
|
|
|
|
|
|
|
int
|
|
|
|
main (int argc, char *argv[])
|
|
|
|
{
|
|
|
|
gtk_init (&argc, &argv);
|
|
|
|
|
|
|
|
if (CU_initialize_registry () != CUE_SUCCESS)
|
|
|
|
g_error ("CU_initialize_registry() failed");
|
|
|
|
|
2008-01-20 03:11:24 -06:00
|
|
|
moo_test_mooaccel ();
|
2008-01-19 01:34:21 -06:00
|
|
|
moo_test_mooutils_fs ();
|
|
|
|
|
2008-01-19 04:58:44 -06:00
|
|
|
#ifdef __WIN32__
|
|
|
|
moo_test_mooutils_win32 ();
|
|
|
|
#endif
|
|
|
|
|
2008-01-27 00:04:00 -06:00
|
|
|
moo_test_lua ();
|
2008-01-29 00:51:59 -06:00
|
|
|
moo_test_mooedit_lua_api ();
|
2008-01-27 00:04:00 -06:00
|
|
|
|
2008-01-19 01:34:21 -06:00
|
|
|
CU_basic_set_mode (CU_BRM_VERBOSE);
|
|
|
|
CU_basic_run_tests ();
|
|
|
|
CU_cleanup_registry ();
|
|
|
|
|
|
|
|
return CU_get_error ();
|
|
|
|
}
|