1
0
mirror of https://github.com/chylex/Nextcloud-Desktop.git synced 2024-10-19 04:42:46 +02:00
Nextcloud-Desktop/tests/torture.h
2012-10-16 10:37:40 +02:00

26 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 */