about summary refs log blame commit diff stats
path: root/stabbertests/testsuite.c
blob: 6905aeecdfc58f721b1456ea29bb9bfd56ea94e0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                  



                                                      

                             


                                                


                                                



                                
#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[] = {
        unit_test_setup_teardown(connect_jid,
            init_prof_test,
            close_prof_test),
        unit_test_setup_teardown(connect_bad_password,
            init_prof_test,
            close_prof_test),
        unit_test_setup_teardown(sends_rooms_iq,
            init_prof_test,
            close_prof_test),
        unit_test_setup_teardown(multiple_pings,
            init_prof_test,
            close_prof_test),
    };

    return run_tests(all_tests);
}