Changeset 3963fdd for tests


Ignore:
Timestamp:
2010-07-29T07:19:57Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
b40e60d
Parents:
3b3c50d9
Message:

"Fix up" unittests enough to at least compile. Never touched these during
the ui-fix works.

Location:
tests
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • tests/Makefile

    r3b3c50d9 r3963fdd  
    1414distclean: clean
    1515
    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.o
     16main_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
    1717
    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.o
     18test_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
    1919
    2020check: $(test_objs) $(addprefix ../, $(main_objs)) ../protocols/protocols.o ../lib/lib.o
  • tests/check.c

    r3b3c50d9 r3963fdd  
    6060Suite *user_suite(void);
    6161
    62 /* From check_crypting.c */
    63 Suite *crypting_suite(void);
    64 
    6562/* From check_set.c */
    6663Suite *set_suite(void);
     
    115112        srunner_add_suite(sr, help_suite());
    116113        srunner_add_suite(sr, user_suite());
    117         srunner_add_suite(sr, crypting_suite());
    118114        srunner_add_suite(sr, set_suite());
    119115        srunner_add_suite(sr, jabber_sasl_suite());
  • tests/check_user.c

    r3b3c50d9 r3963fdd  
    55#include <string.h>
    66#include "bitlbee.h"
    7 #include "user.h"
    87#include "testsuite.h"
    98
     9#if 0
    1010START_TEST(test_user_add)
    1111        irc_t *irc = torture_irc();
     
    5959        fail_if(user_find(irc, "bar") == NULL);
    6060END_TEST
    61 
     61#endif
    6262Suite *user_suite (void)
    6363{
     
    6565        TCase *tc_core = tcase_create("Core");
    6666        suite_add_tcase (s, tc_core);
     67#if 0
    6768        tcase_add_test (tc_core, test_user_add);
    6869        tcase_add_test (tc_core, test_user_add_invalid);
     
    7273        tcase_add_test (tc_core, test_user_del);
    7374        tcase_add_test (tc_core, test_user_rename);
     75#endif
    7476        return s;
    7577}
Note: See TracChangeset for help on using the changeset viewer.