28 #include "test-stuff.h" 47 do_test (!
guid_equal (&g, gp),
"two guids equal");
60 sess = qof_session_new ();
61 book = qof_session_get_book (sess);
62 do_test ((NULL != book),
"book not created");
69 for (i = 0; i < NENT; i++)
80 qof_session_destroy (sess);
87 g_log_set_always_fatal (G_LOG_LEVEL_CRITICAL | G_LOG_LEVEL_WARNING);
92 print_test_results ();
gboolean guid_equal(const GUID *guid_1, const GUID *guid_2)
Encapsulates a connection to a backend (persistent store)
GUID guid_new_return(void)
const GUID * guid_null(void)
QofCollection * qof_book_get_collection(QofBook *book, QofIdType entity_type)
globally unique ID User API
This file declares testing functions for the engine.
QOF entity type identification system.
struct QofCollection_s QofCollection
QofEntity * qof_collection_lookup_entity(QofCollection *col, const GUID *guid)
QofIdType qof_collection_get_type(QofCollection *col)
void guid_new(GUID *guid)
Encapsulate all the information about a dataset.
void qof_collection_insert_entity(QofCollection *, QofEntity *)