22 #ifndef TEST_ENGINE_STUFF_H
23 #define TEST_ENGINE_STUFF_H
35 #ifndef QOF_DISABLE_DEPRECATED
36 Timespec *get_random_timespec (
void);
37 void random_timespec_zero_nsec (gboolean zero_nsec);
38 void random_timespec_usec_resolution (gboolean usec_resolution);
41 KvpValue *get_random_kvp_value (gint type);
49 bin_data *get_random_binary_data (
void);
51 KvpFrame *get_random_kvp_frame (
void);
53 GUID *get_random_guid (
void);
54 GList *get_random_glist (
void);
56 void random_glist_strings_only (gboolean strings_only);
58 void set_max_kvp_depth (gint max_kvp_depth);
59 void set_max_kvp_frame_elements (gint max_kvp_frame_elements);
70 TestQueryTypes get_random_query_type (
void);
72 QofBook *get_random_book (
void);