Added stabber testsuite

This commit is contained in:
James Booth
2015-05-17 01:11:03 +01:00
parent aeffca496c
commit 97c5072f56
9 changed files with 791 additions and 5 deletions

24
stabbertests/testsuite.c Normal file
View File

@@ -0,0 +1,24 @@
#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_with_no_jid,
init_prof_test,
close_prof_test),
};
return run_tests(all_tests);
}