2010-03-02 15:47:14 +03:00
|
|
|
#ifndef _TORTURE_H
|
|
|
|
#define _TORTURE_H
|
|
|
|
|
|
|
|
#ifndef _GNU_SOURCE
|
|
|
|
#define _GNU_SOURCE
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
2010-12-28 15:43:32 +03:00
|
|
|
#include <stdarg.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <setjmp.h>
|
|
|
|
#include <google/cmockery.h>
|
2010-03-02 15:47:14 +03:00
|
|
|
|
|
|
|
/*
|
2010-12-28 15:43:32 +03:00
|
|
|
* Returns the verbosity level asked by user
|
2010-05-19 01:02:41 +04:00
|
|
|
*/
|
|
|
|
int torture_libssh_verbosity(void);
|
|
|
|
|
|
|
|
|
2010-05-19 00:25:06 +04:00
|
|
|
/*
|
|
|
|
* This function must be defined in every unit test file.
|
|
|
|
*/
|
2010-12-28 15:43:32 +03:00
|
|
|
int torture_run_tests(void);
|
2010-05-19 00:25:06 +04:00
|
|
|
|
2010-03-02 15:47:14 +03:00
|
|
|
#endif /* _TORTURE_H */
|