mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Tests for GNCPriceDB. They fail until the next commit.
This commit is contained in:
parent
6525db7639
commit
dde310bf71
@ -114,6 +114,7 @@ test_engine_SOURCES = \
|
|||||||
utest-Entry.c \
|
utest-Entry.c \
|
||||||
utest-Invoice.c \
|
utest-Invoice.c \
|
||||||
test-engine-kvp-properties.c \
|
test-engine-kvp-properties.c \
|
||||||
|
utest-gnc-pricedb.c \
|
||||||
dummy.cpp
|
dummy.cpp
|
||||||
|
|
||||||
test_engine_LDADD = \
|
test_engine_LDADD = \
|
||||||
|
@ -129,7 +129,7 @@ teardown (Fixture *fixture, gconstpointer pData)
|
|||||||
*/
|
*/
|
||||||
QofBook *book = qof_instance_get_book (QOF_INSTANCE (fixture->acct));
|
QofBook *book = qof_instance_get_book (QOF_INSTANCE (fixture->acct));
|
||||||
test_destroy (fixture->acct);
|
test_destroy (fixture->acct);
|
||||||
test_destroy (book);
|
qof_book_destroy (book);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -33,6 +33,7 @@ extern void test_suite_gncInvoice();
|
|||||||
extern void test_suite_transaction();
|
extern void test_suite_transaction();
|
||||||
extern void test_suite_split();
|
extern void test_suite_split();
|
||||||
extern void test_suite_engine_kvp_properties (void);
|
extern void test_suite_engine_kvp_properties (void);
|
||||||
|
extern void test_suite_gnc_pricedb();
|
||||||
|
|
||||||
int
|
int
|
||||||
main (int argc,
|
main (int argc,
|
||||||
@ -53,6 +54,7 @@ main (int argc,
|
|||||||
test_suite_transaction();
|
test_suite_transaction();
|
||||||
test_suite_split();
|
test_suite_split();
|
||||||
test_suite_engine_kvp_properties ();
|
test_suite_engine_kvp_properties ();
|
||||||
|
test_suite_gnc_pricedb();
|
||||||
|
|
||||||
return g_test_run( );
|
return g_test_run( );
|
||||||
}
|
}
|
||||||
|
1408
src/engine/test/utest-gnc-pricedb.c
Normal file
1408
src/engine/test/utest-gnc-pricedb.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user