mirror of
https://github.com/nextcloud/desktop.git
synced 2024-12-15 10:11:36 +03:00
25 lines
464 B
C
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 */
|