48 #define do_test( result, title ) do_test_call( result, title, __FILE__, __LINE__ )
49 #define success( title ) success_call( title, __FILE__, __LINE__ );
50 #define failure( title ) failure_call( title, __FILE__, __LINE__ );
61 gboolean do_test_call (gboolean result,
62 const char *test_title,
63 const char *filename,
int line);
64 gboolean do_test_args (gboolean result,
65 const char *test_title,
67 int line,
const char *format, ...);
73 void print_test_results (
void);
84 void set_success_print (gboolean in_should_print);
93 void success_call (
const char *test_title,
const char *file,
int line);
95 void success_args (
const char *test_title,
96 const char *file,
int line,
const char *format, ...);
98 void failure_call (
const char *test_title,
const char *file,
int line);
100 void failure_args (
const char *test_title,
101 const char *file,
int line,
const char *format, ...);
103 gboolean get_random_boolean (
void);
104 gint get_random_int_in_range (
int start,
int end);
105 void random_character_include_funky_chars (gboolean use_funky_chars);
106 gchar get_random_character (
void);
107 gchar *get_random_string (
void);
108 gchar *get_random_string_without (
const char *exclude_chars);
109 gint64 get_random_gint64 (
void);
110 double get_random_double (
void);
111 const char *get_random_string_in_array (
const char *str_list[]);