QOF: test-engine-stuff.h File Reference

QOF 0.7.5

Data Structures | Enumerations | Functions
test-engine-stuff.h File Reference

This file declares testing functions for the engine. More...

`#include "config.h"`
`#include <glib.h>`
`#include <stdlib.h>`
`#include "qofquery.h"`
`#include "qoftime.h"`
`#include "qofbook.h"`
`#include "qofsession.h"`

Go to the source code of this file.

## Data Structures
struct | bin_data

## Enumerations
enum | TestQueryTypes { RANDOM_QT = 0, SIMPLE_QT = 1 << 0, GUID_QT = 1 << 5, ALL_QT = (1 << 8) - 1 }

## Functions
Timespec * | get_random_timespec (void)
void | random_timespec_zero_nsec (gboolean zero_nsec)
void | random_timespec_usec_resolution (gboolean usec_resolution)
KvpValue * | get_random_kvp_value (gint type)
bin_data * | get_random_binary_data (void)
KvpFrame * | get_random_kvp_frame (void)
QofNumeric | get_random_qof_numeric (void)
GUID * | get_random_guid (void)
GList * | get_random_glist (void)
void | random_glist_strings_only (gboolean strings_only)
void | kvp_exclude_type (KvpValueType kvp_type)
void | set_max_kvp_depth (gint max_kvp_depth)
void | set_max_kvp_frame_elements (gint max_kvp_frame_elements)
QofQuery * | get_random_query (void)
TestQueryTypes | get_random_query_type (void)
QofBook * | get_random_book (void)
QofSession * | get_random_session (void)

## Detailed Description

This file declares testing functions for the engine.

Definition in file test-engine-stuff.h.