# HG changeset patch # User Nathan Walp # Date 1165093940 0 # Node ID 4ba77924fc0849b34f394449064249c7dbadd5bd # Parent 525607f86ccea21ca04409da48d4c45db20552fc [gaim-migrate @ 17878] continuing to add tests...now for jabber committer: Tailor Script diff -r 525607f86cce -r 4ba77924fc08 libgaim/tests/Makefile.am --- a/libgaim/tests/Makefile.am Sat Dec 02 19:57:47 2006 +0000 +++ b/libgaim/tests/Makefile.am Sat Dec 02 21:12:20 2006 +0000 @@ -7,17 +7,20 @@ check_libgaim.c \ tests.h \ test_cipher.c \ + test_jabber_jutil.c \ test_util.c \ $(top_builddir)/libgaim/util.h check_libgaim_CFLAGS=\ @CHECK_CFLAGS@ \ $(GLIB_CFLAGS) \ + -I.. \ -DBUILDDIR=\"$(top_builddir)\" check_libgaim_LDADD=\ @CHECK_LIBS@ \ $(GLIB_LIBS) \ + $(top_builddir)/libgaim/protocols/jabber/libjabber.la \ $(top_builddir)/libgaim/libgaim.la endif diff -r 525607f86cce -r 4ba77924fc08 libgaim/tests/check_libgaim.c --- a/libgaim/tests/check_libgaim.c Sat Dec 02 19:57:47 2006 +0000 +++ b/libgaim/tests/check_libgaim.c Sat Dec 02 21:12:20 2006 +0000 @@ -54,8 +54,9 @@ int number_failed; SRunner *sr = srunner_create (master_suite()); + srunner_add_suite(sr, cipher_suite()); + srunner_add_suite(sr, jabber_jutil_suite()); srunner_add_suite(sr, util_suite()); - srunner_add_suite(sr, cipher_suite()); /* make this a libgaim "ui" */ gaim_check_init(); diff -r 525607f86cce -r 4ba77924fc08 libgaim/tests/tests.h --- a/libgaim/tests/tests.h Sat Dec 02 19:57:47 2006 +0000 +++ b/libgaim/tests/tests.h Sat Dec 02 21:12:20 2006 +0000 @@ -6,8 +6,9 @@ /* define the test suites here */ /* remember to add the suite to the runner in check_libgaim.c */ +Suite * cipher_suite(void); +Suite * jabber_jutil_suite(void); Suite * util_suite(void); -Suite * cipher_suite(void); /* helper macros */ #define assert_string_equal(expected, actual) { \