nextcloud-desktop/tests/torture.h
2012-10-16 10:37:40 +02:00

25 lines
464 B
C

#ifndef _TORTURE_H
#define _TORTURE_H
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
#include <cmocka.h>
/* Used by main to communicate with parse_opt. */
struct argument_s {
char *args[2];
int verbose;
};
void torture_cmdline_parse(int argc, char **argv, struct argument_s *arguments);
int torture_csync_verbosity(void);
/*
* This function must be defined in every unit test file.
*/
int torture_run_tests(void);
#endif /* _TORTURE_H */