From: <fac...@us...> - 2006-12-02 21:12:22
|
Revision: 17878 http://svn.sourceforge.net/gaim/?rev=17878&view=rev Author: faceprint Date: 2006-12-02 13:12:20 -0800 (Sat, 02 Dec 2006) Log Message: ----------- continuing to add tests...now for jabber Modified Paths: -------------- trunk/libgaim/tests/Makefile.am trunk/libgaim/tests/check_libgaim.c trunk/libgaim/tests/tests.h Modified: trunk/libgaim/tests/Makefile.am =================================================================== --- trunk/libgaim/tests/Makefile.am 2006-12-02 19:57:47 UTC (rev 17877) +++ trunk/libgaim/tests/Makefile.am 2006-12-02 21:12:20 UTC (rev 17878) @@ -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 Modified: trunk/libgaim/tests/check_libgaim.c =================================================================== --- trunk/libgaim/tests/check_libgaim.c 2006-12-02 19:57:47 UTC (rev 17877) +++ trunk/libgaim/tests/check_libgaim.c 2006-12-02 21:12:20 UTC (rev 17878) @@ -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(); Modified: trunk/libgaim/tests/tests.h =================================================================== --- trunk/libgaim/tests/tests.h 2006-12-02 19:57:47 UTC (rev 17877) +++ trunk/libgaim/tests/tests.h 2006-12-02 21:12:20 UTC (rev 17878) @@ -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) { \ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |