Tests for GNCPriceDB. They fail until the next commit.

This commit is contained in:
John Ralls 2015-10-23 11:34:34 -07:00
parent 6525db7639
commit dde310bf71
4 changed files with 1412 additions and 1 deletions

View File

@ -114,6 +114,7 @@ test_engine_SOURCES = \
utest-Entry.c \
utest-Invoice.c \
test-engine-kvp-properties.c \
utest-gnc-pricedb.c \
dummy.cpp
test_engine_LDADD = \

View File

@ -129,7 +129,7 @@ teardown (Fixture *fixture, gconstpointer pData)
*/
QofBook *book = qof_instance_get_book (QOF_INSTANCE (fixture->acct));
test_destroy (fixture->acct);
test_destroy (book);
qof_book_destroy (book);
}
static void

View File

@ -33,6 +33,7 @@ extern void test_suite_gncInvoice();
extern void test_suite_transaction();
extern void test_suite_split();
extern void test_suite_engine_kvp_properties (void);
extern void test_suite_gnc_pricedb();
int
main (int argc,
@ -53,6 +54,7 @@ main (int argc,
test_suite_transaction();
test_suite_split();
test_suite_engine_kvp_properties ();
test_suite_gnc_pricedb();
return g_test_run( );
}

File diff suppressed because it is too large Load Diff