1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00
profanity/stabbertests/stabbertestsuite.c

50 lines
1.4 KiB
C
Raw Normal View History

2015-05-16 20:11:03 -04:00
#include <stdarg.h>
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include <stddef.h>
#include <setjmp.h>
#include <cmocka.h>
#include <sys/stat.h>
#include "config.h"
#include "proftest.h"
#include "test_connect.h"
int main(int argc, char* argv[]) {
const UnitTest all_tests[] = {
2015-05-24 15:31:18 -04:00
2015-05-23 19:56:13 -04:00
unit_test_setup_teardown(connect_jid,
init_prof_test,
close_prof_test),
2015-05-24 15:31:18 -04:00
unit_test_setup_teardown(connect_jid_requests_roster,
init_prof_test,
close_prof_test),
unit_test_setup_teardown(connect_jid_sends_presence_after_receiving_roster,
init_prof_test,
close_prof_test),
unit_test_setup_teardown(connect_jid_requests_bookmarks,
init_prof_test,
close_prof_test),
2015-05-23 19:56:13 -04:00
unit_test_setup_teardown(connect_bad_password,
2015-05-16 20:11:03 -04:00
init_prof_test,
close_prof_test),
2015-05-24 21:18:31 -04:00
unit_test_setup_teardown(show_presence_updates,
init_prof_test,
close_prof_test),
2015-05-23 23:13:28 -04:00
unit_test_setup_teardown(sends_rooms_iq,
init_prof_test,
close_prof_test),
2015-05-24 14:24:01 -04:00
unit_test_setup_teardown(multiple_pings,
init_prof_test,
close_prof_test),
2015-05-24 16:46:44 -04:00
unit_test_setup_teardown(responds_to_ping,
init_prof_test,
close_prof_test),
2015-05-16 20:11:03 -04:00
};
return run_tests(all_tests);
}