mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-27 21:16:22 +00:00
Added muc tests
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include "test_preferences.h"
|
||||
#include "test_server_events.h"
|
||||
#include "test_cmd_alias.h"
|
||||
#include "test_muc.h"
|
||||
|
||||
#define PROF_RUN_TESTS(name) fprintf(stderr, "\n-> Running %s\n", #name); \
|
||||
fflush(stderr); \
|
||||
@@ -427,6 +428,10 @@ int main(int argc, char* argv[]) {
|
||||
close_preferences),
|
||||
};
|
||||
|
||||
const UnitTest muc_tests[] = {
|
||||
unit_test(test_muc_add_invite),
|
||||
};
|
||||
|
||||
int bak, bak2, new;
|
||||
fflush(stdout);
|
||||
fflush(stderr);
|
||||
@@ -456,6 +461,7 @@ int main(int argc, char* argv[]) {
|
||||
PROF_RUN_TESTS(preferences_tests);
|
||||
PROF_RUN_TESTS(cmd_alias_tests);
|
||||
PROF_RUN_TESTS(server_events_tests);
|
||||
PROF_RUN_TESTS(muc_tests);
|
||||
|
||||
fflush(stdout);
|
||||
dup2(bak, 1);
|
||||
|
||||
Reference in New Issue
Block a user