trivial: egg updates

This commit is contained in:
Richard Hughes 2008-09-06 11:12:47 +01:00
parent b7ac1cda00
commit 8bcc56ce4c

View file

@ -463,32 +463,27 @@ egg_obj_list_new (void)
/***************************************************************************
*** MAKE CHECK TESTS ***
***************************************************************************/
#ifdef EGG_BUILD_TESTS
#include <libselftest.h>
#ifdef EGG_TEST
#include "egg-test.h"
void
libst_obj_list (LibSelfTest *test)
egg_obj_list_test (EggTest *test)
{
EggObjList *list;
gchar *text;
gint value;
if (libst_start (test, "EggObjList", CLASS_AUTO) == FALSE) {
if (!egg_test_start (test, "EggObjList"))
return;
}
/************************************************************/
libst_title (test, "get an instance");
egg_test_title (test, "get an instance");
list = egg_obj_list_new ();
if (list != NULL) {
libst_success (test, NULL);
} else {
libst_failed (test, NULL);
}
if (list != NULL)
egg_test_success (test, NULL);
else
egg_test_failed (test, NULL);
g_object_unref (list);
libst_end (test);
egg_test_end (test);
}
#endif