Changeset 3963fdd
- Timestamp:
- 2010-07-29T07:19:57Z (14 years ago)
- Branches:
- master
- Children:
- b40e60d
- Parents:
- 3b3c50d9
- Location:
- tests
- Files:
-
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/Makefile
r3b3c50d9 r3963fdd 14 14 distclean: clean 15 15 16 main_objs = account.o bitlbee.o chat.o conf.o crypting.o help.o ipc.o irc.o irc_commands.o log.o nick.o query.o root_commands.o set.o storage.o storage_xml.o storage_text.o user.o16 main_objs = bitlbee.o conf.o dcc.o help.o ipc.o irc.o irc_channel.o irc_commands.o irc_im.o irc_send.o irc_user.o irc_util.o irc_commands.o log.o nick.o query.o root_commands.o set.o storage.o storage_xml.o 17 17 18 test_objs = check.o check_util.o check_nick.o check_md5.o check_arc.o check_irc.o check_help.o check_user.o check_ crypting.o check_set.o check_jabber_sasl.o check_jabber_util.o18 test_objs = check.o check_util.o check_nick.o check_md5.o check_arc.o check_irc.o check_help.o check_user.o check_set.o check_jabber_sasl.o check_jabber_util.o 19 19 20 20 check: $(test_objs) $(addprefix ../, $(main_objs)) ../protocols/protocols.o ../lib/lib.o -
tests/check.c
r3b3c50d9 r3963fdd 60 60 Suite *user_suite(void); 61 61 62 /* From check_crypting.c */63 Suite *crypting_suite(void);64 65 62 /* From check_set.c */ 66 63 Suite *set_suite(void); … … 115 112 srunner_add_suite(sr, help_suite()); 116 113 srunner_add_suite(sr, user_suite()); 117 srunner_add_suite(sr, crypting_suite());118 114 srunner_add_suite(sr, set_suite()); 119 115 srunner_add_suite(sr, jabber_sasl_suite()); -
tests/check_user.c
r3b3c50d9 r3963fdd 5 5 #include <string.h> 6 6 #include "bitlbee.h" 7 #include "user.h"8 7 #include "testsuite.h" 9 8 9 #if 0 10 10 START_TEST(test_user_add) 11 11 irc_t *irc = torture_irc(); … … 59 59 fail_if(user_find(irc, "bar") == NULL); 60 60 END_TEST 61 61 #endif 62 62 Suite *user_suite (void) 63 63 { … … 65 65 TCase *tc_core = tcase_create("Core"); 66 66 suite_add_tcase (s, tc_core); 67 #if 0 67 68 tcase_add_test (tc_core, test_user_add); 68 69 tcase_add_test (tc_core, test_user_add_invalid); … … 72 73 tcase_add_test (tc_core, test_user_del); 73 74 tcase_add_test (tc_core, test_user_rename); 75 #endif 74 76 return s; 75 77 }
Note: See TracChangeset
for help on using the changeset viewer.