gnucash/libgnucash/backend/xml/test
Richard Cohen 2640911901 Valgrind: fix "definitely lost/still reachable" memory in test - test-xml2-is-file
Valgrind uses "still reachable" because of the call to exit()

==87185== 94 bytes in 1 blocks are still reachable in loss record 193 of 241
==87185==    at 0x4843828: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==87185==    by 0x15C234: main (test-xml2-is-file.cpp:42)
==87185==
2023-07-19 10:21:30 +01:00
..
test-files Fix various typos 2022-04-08 14:12:50 -04:00
CMakeLists.txt Remove redundant uses of cmake -E env 2023-03-07 15:44:43 +00:00
grab-types.pl Restructure the src directory 2017-08-10 18:45:00 +02:00
README Restructure the src directory 2017-08-10 18:45:00 +02:00
test-dom-converters1.cpp Avoid unnecessary memory allocation in dom_tree_to_gnc_numeric() 2023-06-24 20:30:42 +01:00
test-dom-parser1-1.xml Restructure the src directory 2017-08-10 18:45:00 +02:00
test-dom-parser1.cpp Don't use extern "C" around #includes 2023-03-03 18:55:42 +00:00
test-file-stuff.cpp Fix dereference of expired temporaries. 2023-03-31 11:27:33 -07:00
test-file-stuff.h Don't use extern "C" around #includes 2023-03-03 18:55:42 +00:00
test-kvp-frames.cpp Remove some unused variables with obviously no side effects 2023-02-06 14:19:22 +00:00
test-load-backend.cpp Use internal extern "C" { ... } for C++ 2023-01-23 18:40:01 +00:00
test-load-example-account.cpp Use internal extern "C" { ... } for C++ 2023-01-23 18:40:01 +00:00
test-load-xml2.cpp Use internal extern "C" { ... } for C++ 2023-01-23 18:40:01 +00:00
test-real-data.sh Remove the .in extension from test-real-data.sh and stop configuring it for autotools 2018-01-26 18:26:06 +01:00
test-save-in-lang.cpp Don't use extern "C" around #includes 2023-03-03 18:55:42 +00:00
test-string-converters.cpp Valgrind: fix "definitely lost" memory in test - test-string-converters 2023-07-19 10:21:30 +01:00
test-xml2-is-file.cpp Valgrind: fix "definitely lost/still reachable" memory in test - test-xml2-is-file 2023-07-19 10:21:30 +01:00
test-xml-account.cpp Use internal extern "C" { ... } for C++ 2023-01-23 18:40:01 +00:00
test-xml-commodity.cpp Use internal extern "C" { ... } for C++ 2023-01-23 18:40:01 +00:00
test-xml-pricedb.cpp Use internal extern "C" { ... } for C++ 2023-01-23 18:40:01 +00:00
test-xml-transaction.cpp Avoid unnecessary memory allocation in dom_tree_to_gnc_numeric() 2023-06-24 20:30:42 +01:00

These are tests of the file backend.

TESTS:
------

test-dom-converters1.c: test each simple dom converter
test-dom-parser1.c: unused now
test-kvp-frames.c: test the kvp frame dom generators and parsers
test-load-xml2.c: test the larger xml loading
test-save-in-lang.c: incomplete test to test saving in different LANGs
test-string-converters.c: test some string converters
test-xml-account.c: test xml v2 converters and parsers for Account's
test-xml-commodity.c: ditto gnc_commodity's
test-xml-transaction.c: ditto Transaction's
test-xml2-is-file.c: test the is_file function
test-real-data.sh: run the test-xml-{account,commodity,transaction} programs
                   on real data rather than random data