Mercurial > pidgin.yaz
changeset 15093:4ba77924fc08
[gaim-migrate @ 17878]
continuing to add tests...now for jabber
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sat, 02 Dec 2006 21:12:20 +0000 |
parents | 525607f86cce |
children | 8eaa26359fe1 |
files | libgaim/tests/Makefile.am libgaim/tests/check_libgaim.c libgaim/tests/tests.h |
diffstat | 3 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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();
--- 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) { \