torture.h

Go to the documentation of this file.
00001 #ifndef _TORTURE_H
00002 #define _TORTURE_H
00003 
00004 #include <stdarg.h>
00005 #include <stddef.h>
00006 #include <setjmp.h>
00007 
00008 #include <cmocka.h>
00009 
00010 /* Used by main to communicate with parse_opt. */
00011 struct argument_s {
00012   char *args[2];
00013   int verbose;
00014 };
00015 
00016 void torture_cmdline_parse(int argc, char **argv, struct argument_s *arguments);
00017 
00018 int torture_csync_verbosity(void);
00019 
00020 /*
00021  * This function must be defined in every unit test file.
00022  */
00023 int torture_run_tests(void);
00024 
00025 #endif /* _TORTURE_H */

Generated on Mon Aug 18 13:58:05 2014 for doc by  doxygen 1.5.6